mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-09-17 11:37:10 +03:00
build: use node resolution to fix building
This commit is contained in:
parent
ef1aad06df
commit
4fb50f65f2
11
src/extern/global.d.ts
vendored
11
src/extern/global.d.ts
vendored
@ -18,6 +18,11 @@ declare namespace Bismuth {
|
||||
}
|
||||
}
|
||||
|
||||
/* Common Javascript globals */
|
||||
declare let console: any;
|
||||
declare let setTimeout: any;
|
||||
// NOTICE: We can not declare the globals, since we use
|
||||
// Node.js when building tests. However, the globals we use
|
||||
// in production come from Qt JavaScript Envirinment and
|
||||
// not from Node.js and therefore they could mismatch.
|
||||
// Let's hope we will not run into one of these situations...
|
||||
//
|
||||
// declare let console: any;
|
||||
// declare let setTimeout: any;
|
||||
|
@ -7,10 +7,11 @@
|
||||
"lib": ["es5", "ES2015", "ES2016"],
|
||||
"alwaysStrict": true,
|
||||
"strict": true,
|
||||
"moduleResolution": "node",
|
||||
"module": "ES6"
|
||||
},
|
||||
"typedocOptions": {
|
||||
"entryPoints": ["src"]
|
||||
},
|
||||
"include": ["src/**/*", "test/**/*"]
|
||||
"include": ["src/**/*"]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user