Skip to content

Commit 41170ea

Browse files
committed
fix: proper typing
1 parent 9ac06bd commit 41170ea

File tree

8 files changed

+19
-380
lines changed

8 files changed

+19
-380
lines changed

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"author": "Acode Foundation",
88
"license": "MIT",
99
"dependencies": {
10-
"@types/ace": "^0.0.52",
10+
"acode-plugin-types": "^1.11.7-patch.2",
1111
"html-tag-js": "^2.4.15"
1212
},
1313
"devDependencies": {
@@ -19,4 +19,4 @@
1919
"build": "node esbuild.config.mjs"
2020
},
2121
"browserslist": "cover 100%,not android < 5"
22-
}
22+
}

tsconfig.json

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
2-
"compilerOptions": {
3-
"target": "es2016",
4-
"module": "commonjs",
5-
"allowJs": true,
6-
"esModuleInterop": true,
7-
"forceConsistentCasingInFileNames": true,
8-
"strict": true,
9-
"skipLibCheck": true,
10-
"outDir": "dist"
11-
},
12-
"exclude": ["./dist/**/*", "./postcss.config.js"]
2+
"compilerOptions": {
3+
"target": "es2016",
4+
"module": "commonjs",
5+
"allowJs": true,
6+
"esModuleInterop": true,
7+
"forceConsistentCasingInFileNames": true,
8+
"strict": true,
9+
"skipLibCheck": true,
10+
"outDir": "dist",
11+
"types": ["acode-plugin-types"],
12+
},
13+
"exclude": ["./dist/**/*", "./postcss.config.js"],
1314
}

typings/acode.d.ts

Lines changed: 0 additions & 164 deletions
This file was deleted.

typings/editorFile.d.ts

Lines changed: 0 additions & 87 deletions
This file was deleted.

typings/editorManager.d.ts

Lines changed: 0 additions & 50 deletions
This file was deleted.

0 commit comments

Comments
 (0)