Skip to content

Commit d46b1a0

Browse files
committed
refactor(demos): Import libwin32 instead of ../index.js
1 parent 140ae91 commit d46b1a0

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.vscode/settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
],
4141
"conventionalCommits.scopes": [
4242
"kernel32",
43-
"user32"
43+
"user32",
44+
"demos"
4445
]
4546
}

source/demos/enumdesktopwindows.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import {
22
EnumDesktopWindows, GetWindowText
3-
} from '../index.js'
3+
} from 'libwin32'
44

55
const filters = [
66
'MSCTFIME UI', 'Default IME'

source/demos/window.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
22
WNDCLASSEX, IDC, IDI, CS, WS, CW, WM, SW, MB,
33
type HINSTANCE, type WPARAM, type LPARAM, type HWND, type MSG
4-
} from '../index.js'
4+
} from 'libwin32'
55
import * as kernel32 from '../win32/kernel32.js'
66
import * as user32 from '../win32/user32.js'
77

0 commit comments

Comments
 (0)