mirror of
https://github.com/denoland/deno.git
synced 2025-09-26 20:29:11 +00:00
Upgrade to TypeScript 3.4.1 (#2027)
This commit is contained in:
parent
c855d0edd2
commit
ada5ffa610
7 changed files with 116 additions and 86 deletions
10
js/assets.ts
10
js/assets.ts
|
@ -28,9 +28,14 @@ import libEs2017SharedmemoryDts from "/third_party/node_modules/typescript/lib/l
|
|||
import libEs2017StringDts from "/third_party/node_modules/typescript/lib/lib.es2017.string.d.ts!string";
|
||||
import libEs2017TypedarraysDts from "/third_party/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts!string";
|
||||
import libEs2018Dts from "/third_party/node_modules/typescript/lib/lib.es2018.d.ts!string";
|
||||
import libEs2018AsyncIterableDts from "/third_party/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts!string";
|
||||
import libEs2018IntlDts from "/third_party/node_modules/typescript/lib/lib.es2018.intl.d.ts!string";
|
||||
import libEs2018PromiseDts from "/third_party/node_modules/typescript/lib/lib.es2018.promise.d.ts!string";
|
||||
import libEs2018RegexpDts from "/third_party/node_modules/typescript/lib/lib.es2018.regexp.d.ts!string";
|
||||
import libEs2019Dts from "/third_party/node_modules/typescript/lib/lib.es2019.d.ts!string";
|
||||
import libEs2019ArrayDts from "/third_party/node_modules/typescript/lib/lib.es2019.array.d.ts!string";
|
||||
import libEs2019StringDts from "/third_party/node_modules/typescript/lib/lib.es2019.string.d.ts!string";
|
||||
import libEs2019SymbolDts from "/third_party/node_modules/typescript/lib/lib.es2019.symbol.d.ts!string";
|
||||
import libEs5Dts from "/third_party/node_modules/typescript/lib/lib.es5.d.ts!string";
|
||||
import libEsnextArrayDts from "/third_party/node_modules/typescript/lib/lib.esnext.array.d.ts!string";
|
||||
import libEsnextAsynciterablesDts from "/third_party/node_modules/typescript/lib/lib.esnext.asynciterable.d.ts!string";
|
||||
|
@ -64,9 +69,14 @@ export const assetSourceCode: { [key: string]: string } = {
|
|||
"lib.es2017.string.d.ts": libEs2017StringDts,
|
||||
"lib.es2017.typedarrays.d.ts": libEs2017TypedarraysDts,
|
||||
"lib.es2018.d.ts": libEs2018Dts,
|
||||
"lib.es2018.asynciterable.d.ts": libEs2018AsyncIterableDts,
|
||||
"lib.es2018.intl.d.ts": libEs2018IntlDts,
|
||||
"lib.es2018.promise.d.ts": libEs2018PromiseDts,
|
||||
"lib.es2018.regexp.d.ts": libEs2018RegexpDts,
|
||||
"lib.es2019.d.ts": libEs2019Dts,
|
||||
"lib.es2019.array.d.ts": libEs2019ArrayDts,
|
||||
"lib.es2019.string.d.ts": libEs2019StringDts,
|
||||
"lib.es2019.symbol.d.ts": libEs2019SymbolDts,
|
||||
"lib.es5.d.ts": libEs5Dts,
|
||||
"lib.esnext.d.ts": libEsnextDts,
|
||||
"lib.esnext.array.d.ts": libEsnextArrayDts,
|
||||
|
|
|
@ -14,6 +14,7 @@ test(function windowWindowExists() {
|
|||
});
|
||||
|
||||
test(function globalThisEqualsWindow() {
|
||||
// @ts-ignore (TypeScript thinks globalThis and window don't match)
|
||||
assert(globalThis === window);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue