Skip to content

Commit

Permalink
refactor(test): 更新jsconfig和导入路径
Browse files Browse the repository at this point in the history
  • Loading branch information
engsr6982 committed Dec 22, 2024
1 parent 0e46a3c commit 6af6fc5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"include": [
"*.js",
"../types/**/*.d.ts"
"../lib/dts/index.d.ts",
"../lib/shortcutApi/*.d.ts"
],
"compilerOptions": {
"module": "ES6",
Expand Down
2 changes: 1 addition & 1 deletion test/test_js_plugin.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// <reference path="./js_engine/dts/index.d.ts"/>

import JsonFileConfig from "./plugins/js_engine/shortcutApi/JsonFileConfig.js";
import JsonFileConfig from "./plugins/js_engine/lib/shortcutApi/JsonFileConfig.js";
/** @type {import("./js_engine/shortcutApi/JsonFileConfig.js")["default"]} */const JsonFileConfig = JsonFileConfig;

"use strict";
Expand Down

0 comments on commit 6af6fc5

Please sign in to comment.