diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2019-03-12 01:53:18 +1100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-03-11 10:53:18 -0400 |
commit | 75a500ba81d50c77c58c8ec0c1ff62769f5eeb4c (patch) | |
tree | efd4201b5009c993bad7669ff033153293d60936 /tools | |
parent | 034e2cc02829c9244b32232074c7a48af827a2fb (diff) |
Update to TypeScript 3.3 (#1908)
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ts_library_builder/build_library.ts | 5 | ||||
-rw-r--r-- | tools/ts_library_builder/tsconfig.json | 1 |
2 files changed, 4 insertions, 2 deletions
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" |