Skip to content

Commit 23affea

Browse files
fix: runtime script typechecking during build
1 parent a58ad4a commit 23affea

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

scripts/jsb.editor/tsconfig.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"include": ["src/**/*", "../typings/**/*"],
23
"compilerOptions": {
34
/* Visit https://aka.ms/tsconfig to read more about this file */
45

@@ -27,16 +28,15 @@
2728
/* Modules */
2829
"module": "AMD", /* Specify what module code is generated. */
2930
"rootDir": "./src", /* Specify the root folder within your source files. */
30-
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
31+
//"moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
3132
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
3233
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3334
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3435
"typeRoots": [ /* Specify multiple folders that act like './node_modules/@types'. */
35-
"./typings",
3636
"./node_modules/@types"
3737
],
3838
"types": [
39-
"node"
39+
"node",
4040
], /* Specify type package names to be included without being referenced in a source file. */
4141
// "allowUmdGlobalAccess": true, /* Allow accessing UMD globals from modules. */
4242
// "moduleSuffixes": [], /* List of file name suffixes to search when resolving a module. */

scripts/jsb.runtime/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"include": ["src/**/*", "../typings/**/*"],
23
"compilerOptions": {
34
/* Visit https://aka.ms/tsconfig to read more about this file */
45

@@ -32,7 +33,6 @@
3233
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3334
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3435
"typeRoots": [ /* Specify multiple folders that act like './node_modules/@types'. */
35-
"./typings",
3636
"./node_modules/@types"
3737
],
3838
"types": [

scripts/jsb.static/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
2+
"include": ["src/**/*", "../typings/**/*"],
23
"compilerOptions": {
34
/* Visit https://aka.ms/tsconfig to read more about this file */
45

@@ -32,7 +33,6 @@
3233
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
3334
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
3435
"typeRoots": [ /* Specify multiple folders that act like './node_modules/@types'. */
35-
"./typings",
3636
"./node_modules/@types"
3737
],
3838
"types": [

0 commit comments

Comments
 (0)