mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
Update to TypeScript 3.3 (#1908)
This commit is contained in:
parent
034e2cc028
commit
75a500ba81
5 changed files with 8 additions and 11 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1d46f6634d7feb9889cf69c14e80803deaeaa68d
|
||||
Subproject commit 01882836f1112fe6d9df59f4f1a74797fa29e490
|
|
@ -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
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"lib": ["esnext"],
|
||||
"moduleResolution": "node",
|
||||
"strict": true,
|
||||
"target": "esnext"
|
||||
|
|
|
@ -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"]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue