extract global.d.ts into its own Typescript project

This commit is contained in:
Peter Fajdiga
2024-09-13 22:03:00 +02:00
parent 239f8d95cb
commit 212ade5ab6
9 changed files with 23 additions and 8 deletions

5
src/extern/global.d.ts vendored Normal file
View File

@@ -0,0 +1,5 @@
declare const Qt: Qt;
declare const KWin: KWin;
declare const Workspace: Workspace;
declare const qmlBase: QmlObject;
declare const notificationInvalidWindowRules: Notification;

View File

@@ -1,4 +1,8 @@
{
"extends": "../../tsconfig.json",
"include": ["../../lib/**/*", "./**/*"]
"include": [
"../../extern/**/*",
"../../lib/**/*",
"./**/*"
]
}

View File

@@ -1,6 +1,7 @@
{
"extends": "../../../tsconfig.json",
"include": [
"../../../extern/**/*",
"../../../lib/**/*",
"../keyBindings.ts",
"./**/*"

View File

@@ -1,6 +1,7 @@
{
"extends": "../../../tsconfig.json",
"include": [
"../../../extern/**/*",
"../../../lib/**/*",
"../keyBindings.ts",
"./**/*"

View File

@@ -1,6 +1,7 @@
{
"extends": "../../../tsconfig.json",
"include": [
"../../../extern/**/*",
"../../../lib/**/*",
"../keyBindings.ts",
"./**/*"

View File

@@ -1,5 +1 @@
declare const console: Console;
declare const Qt: Qt;
declare const Workspace: Workspace;
declare const qmlBase: QmlObject;
declare const notificationInvalidWindowRules: Notification;

View File

@@ -1 +0,0 @@
declare const KWin: KWin;

View File

@@ -1,4 +1,8 @@
{
"extends": "../tsconfig.json",
"include": ["../lib/**/*", "./**/*"]
"include": [
"../extern/**/*",
"../lib/**/*",
"./**/*"
]
}

View File

@@ -1,4 +1,8 @@
{
"extends": "../tsconfig.json",
"include": ["../lib/**/*", "./**/*"]
"include": [
"../extern/**/*",
"../lib/**/*",
"./**/*"
]
}