summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--package.json2
m---------third_party0
-rw-r--r--tools/ts_library_builder/build_library.ts5
-rw-r--r--tools/ts_library_builder/tsconfig.json1
-rw-r--r--tsconfig.json9
5 files changed, 7 insertions, 10 deletions
diff --git a/package.json b/package.json
index 695c0d7d7..5f91cf503 100644
--- a/package.json
+++ b/package.json
@@ -24,6 +24,6 @@
"rollup-pluginutils": "2.4.1",
"ts-morph": "1.3.0",
"ts-node": "8.0.2",
- "typescript": "3.2.2"
+ "typescript": "3.3.3333"
}
}
diff --git a/third_party b/third_party
-Subproject 1d46f6634d7feb9889cf69c14e80803deaeaa68
+Subproject 01882836f1112fe6d9df59f4f1a74797fa29e49
diff --git a/tools/ts_library_builder/build_library.ts b/tools/ts_library_builder/build_library.ts
index 4b331ef02..0006a8aa4 100644
--- a/tools/ts_library_builder/build_library.ts
+++ b/tools/ts_library_builder/build_library.ts
@@ -360,9 +360,9 @@ export function main({
baseUrl: basePath,
declaration: true,
emitDeclarationOnly: true,
+ lib: ["esnext"],
module: ModuleKind.ESNext,
moduleResolution: ModuleResolutionKind.NodeJs,
- // noLib: true,
paths: {
"*": ["*", `${buildPath}/*`]
},
@@ -402,8 +402,8 @@ export function main({
const declarationProject = new Project({
compilerOptions: {
baseUrl: basePath,
+ lib: ["esnext"],
moduleResolution: ModuleResolutionKind.NodeJs,
- noLib: true,
paths: {
"*": ["*", `${buildPath}/*`]
},
@@ -432,6 +432,7 @@ export function main({
const outputProject = new Project({
compilerOptions: {
baseUrl: buildPath,
+ lib: ["esnext"],
moduleResolution: ModuleResolutionKind.NodeJs,
strict: true,
target: ScriptTarget.ESNext
diff --git a/tools/ts_library_builder/tsconfig.json b/tools/ts_library_builder/tsconfig.json
index 6d010335c..54db4887e 100644
--- a/tools/ts_library_builder/tsconfig.json
+++ b/tools/ts_library_builder/tsconfig.json
@@ -1,5 +1,6 @@
{
"compilerOptions": {
+ "lib": ["esnext"],
"moduleResolution": "node",
"strict": true,
"target": "esnext"
diff --git a/tsconfig.json b/tsconfig.json
index 1aaf7722d..bece2b313 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -4,11 +4,11 @@
"allowUnreachableCode": false,
"baseUrl": ".",
"checkJs": true,
+ "lib": ["esnext"],
"module": "esnext",
"moduleResolution": "node",
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
- "noLib": true,
"noUnusedLocals": true,
"paths": {
"*": ["*", "target/debug/*", "target/release/*"]
@@ -22,10 +22,5 @@
"target": "esnext",
"types": []
},
- "files": [
- "node_modules/typescript/lib/lib.esnext.d.ts",
- "js/lib.web_assembly.d.ts",
- "js/main.ts",
- "js/compiler.ts"
- ]
+ "files": ["js/lib.web_assembly.d.ts", "js/main.ts", "js/compiler.ts"]
}