split up extern.d.ts into multiple files
This commit is contained in:
2
Makefile
2
Makefile
@@ -1,6 +1,6 @@
|
||||
.PHONY: *
|
||||
|
||||
TSC_SCRIPT_FLAGS = --lib es2020 ./src/extern.d.ts
|
||||
TSC_SCRIPT_FLAGS = --lib es2020 ./src/extern/qt.d.ts
|
||||
|
||||
config:
|
||||
mkdir -p ./package/contents/config
|
||||
|
||||
15
src/extern.d.ts
vendored
15
src/extern.d.ts
vendored
@@ -1,15 +0,0 @@
|
||||
declare const qmlBase;
|
||||
declare const notificationInvalidWindowRules;
|
||||
declare const console;
|
||||
declare const KWin;
|
||||
declare const Qt;
|
||||
declare const workspace;
|
||||
declare const options;
|
||||
|
||||
type AbstractClient = any;
|
||||
type TopLevel = any;
|
||||
type X11Client = any;
|
||||
type Tile = any;
|
||||
type QRect = any;
|
||||
type QSignal = any;
|
||||
type QQmlTimer = any;
|
||||
6
src/extern/global.d.ts
vendored
Normal file
6
src/extern/global.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
declare const qmlBase;
|
||||
declare const notificationInvalidWindowRules: Notification;
|
||||
|
||||
type Notification = {
|
||||
sendEvent(): void;
|
||||
}
|
||||
7
src/extern/kwin.d.ts
vendored
Normal file
7
src/extern/kwin.d.ts
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
declare const KWin;
|
||||
declare const workspace;
|
||||
|
||||
type AbstractClient = any;
|
||||
type TopLevel = any;
|
||||
type X11Client = any;
|
||||
type Tile = any;
|
||||
6
src/extern/qt.d.ts
vendored
Normal file
6
src/extern/qt.d.ts
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
declare const console;
|
||||
declare const Qt;
|
||||
|
||||
type QRect = any;
|
||||
type QSignal = any;
|
||||
type QQmlTimer = any;
|
||||
Reference in New Issue
Block a user