[fix] sleep not defined
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
import { DataBase, appVer, type Message } from "../../ts/database";
|
import { DataBase, appVer, type Message } from "../../ts/database";
|
||||||
import { getCharImage } from "../../ts/characters";
|
import { getCharImage } from "../../ts/characters";
|
||||||
import { doingChat, sendChat } from "../../ts/process/index";
|
import { doingChat, sendChat } from "../../ts/process/index";
|
||||||
import { findCharacterbyId, messageForm } from "../../ts/util";
|
import { findCharacterbyId, messageForm, sleep } from "../../ts/util";
|
||||||
import { language } from "../../lang";
|
import { language } from "../../lang";
|
||||||
import { translate } from "../../ts/translator/translator";
|
import { translate } from "../../ts/translator/translator";
|
||||||
import { alertError } from "../../ts/alert";
|
import { alertError } from "../../ts/alert";
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
"checkJs": true,
|
"checkJs": true,
|
||||||
"isolatedModules": true
|
"isolatedModules": true
|
||||||
},
|
},
|
||||||
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte", "public/sw.js", "public/pluginApi.ts"],
|
"include": ["src/**/*.d.ts", "src/**/*.ts", "src/**/*.js", "src/**/*.svelte", "public/sw.js"],
|
||||||
"exclude": ["src/**/web/*.ts"],
|
"exclude": ["src/**/web/*.ts"],
|
||||||
"references": [{ "path": "./tsconfig.node.json" }],
|
"references": [{ "path": "./tsconfig.node.json" }],
|
||||||
"ignoreDeprecations": "5.0"
|
"ignoreDeprecations": "5.0"
|
||||||
|
|||||||
Reference in New Issue
Block a user