diff --git a/tests/baselines/reference/emitCodeBeforeSuperCall.js b/tests/baselines/reference/emitCodeBeforeSuperCall.js deleted file mode 100644 index 1c5f63e6377b7..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCall.js +++ /dev/null @@ -1,53 +0,0 @@ -//// [emitCodeBeforeSuperCall.ts] -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - -class Base { -} -class Sub extends Base { - // @ts-ignore - constructor(public p: number) { - console.log('hi'); - super(); - } - field = 0; -} - -class Test extends Base { - prop: number; - // @ts-ignore - constructor(public p: number) { - 1; // Any statements here break it - super(); - this.prop = 1; - } -} - - -//// [emitCodeBeforeSuperCall.js] -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code -class Base { -} -class Sub extends Base { - // @ts-ignore - constructor(p) { - console.log('hi'); - super(); - this.p = p; - this.field = 0; - } -} -class Test extends Base { - // @ts-ignore - constructor(p) { - 1; // Any statements here break it - super(); - this.p = p; - this.prop = 1; - } -} diff --git a/tests/baselines/reference/emitCodeBeforeSuperCall.symbols b/tests/baselines/reference/emitCodeBeforeSuperCall.symbols deleted file mode 100644 index a79857ba65a77..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCall.symbols +++ /dev/null @@ -1,51 +0,0 @@ -=== tests/cases/conformance/classes/constructorDeclarations/superCalls/emitCodeBeforeSuperCall.ts === -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - -class Base { ->Base : Symbol(Base, Decl(emitCodeBeforeSuperCall.ts, 0, 0)) -} -class Sub extends Base { ->Sub : Symbol(Sub, Decl(emitCodeBeforeSuperCall.ts, 6, 1)) ->Base : Symbol(Base, Decl(emitCodeBeforeSuperCall.ts, 0, 0)) - - // @ts-ignore - constructor(public p: number) { ->p : Symbol(Sub.p, Decl(emitCodeBeforeSuperCall.ts, 9, 16)) - - console.log('hi'); ->console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) ->console : Symbol(console, Decl(lib.dom.d.ts, --, --)) ->log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) - - super(); ->super : Symbol(Base, Decl(emitCodeBeforeSuperCall.ts, 0, 0)) - } - field = 0; ->field : Symbol(Sub.field, Decl(emitCodeBeforeSuperCall.ts, 12, 5)) -} - -class Test extends Base { ->Test : Symbol(Test, Decl(emitCodeBeforeSuperCall.ts, 14, 1)) ->Base : Symbol(Base, Decl(emitCodeBeforeSuperCall.ts, 0, 0)) - - prop: number; ->prop : Symbol(Test.prop, Decl(emitCodeBeforeSuperCall.ts, 16, 25)) - - // @ts-ignore - constructor(public p: number) { ->p : Symbol(Test.p, Decl(emitCodeBeforeSuperCall.ts, 19, 16)) - - 1; // Any statements here break it - super(); ->super : Symbol(Base, Decl(emitCodeBeforeSuperCall.ts, 0, 0)) - - this.prop = 1; ->this.prop : Symbol(Test.prop, Decl(emitCodeBeforeSuperCall.ts, 16, 25)) ->this : Symbol(Test, Decl(emitCodeBeforeSuperCall.ts, 14, 1)) ->prop : Symbol(Test.prop, Decl(emitCodeBeforeSuperCall.ts, 16, 25)) - } -} - diff --git a/tests/baselines/reference/emitCodeBeforeSuperCall.types b/tests/baselines/reference/emitCodeBeforeSuperCall.types deleted file mode 100644 index 49f5c07951382..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCall.types +++ /dev/null @@ -1,60 +0,0 @@ -=== tests/cases/conformance/classes/constructorDeclarations/superCalls/emitCodeBeforeSuperCall.ts === -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - -class Base { ->Base : Base -} -class Sub extends Base { ->Sub : Sub ->Base : Base - - // @ts-ignore - constructor(public p: number) { ->p : number - - console.log('hi'); ->console.log('hi') : void ->console.log : (message?: any, ...optionalParams: any[]) => void ->console : Console ->log : (message?: any, ...optionalParams: any[]) => void ->'hi' : "hi" - - super(); ->super() : void ->super : typeof Base - } - field = 0; ->field : number ->0 : 0 -} - -class Test extends Base { ->Test : Test ->Base : Base - - prop: number; ->prop : number - - // @ts-ignore - constructor(public p: number) { ->p : number - - 1; // Any statements here break it ->1 : 1 - - super(); ->super() : void ->super : typeof Base - - this.prop = 1; ->this.prop = 1 : 1 ->this.prop : number ->this : this ->prop : number ->1 : 1 - } -} - diff --git a/tests/baselines/reference/emitCodeBeforeSuperCall2.js b/tests/baselines/reference/emitCodeBeforeSuperCall2.js deleted file mode 100644 index 43bf2c1e82c6b..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCall2.js +++ /dev/null @@ -1,49 +0,0 @@ -//// [emitCodeBeforeSuperCall2.ts] -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - - -class BaseA { - public constructor(public x: number) { } -} -class DerivedA extends BaseA { - constructor(public x: number) { super(x); } -} - - -//// [emitCodeBeforeSuperCall2.js] -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code -var __extends = (this && this.__extends) || (function () { - var extendStatics = function (d, b) { - extendStatics = Object.setPrototypeOf || - ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || - function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; - return extendStatics(d, b); - }; - return function (d, b) { - extendStatics(d, b); - function __() { this.constructor = d; } - d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); - }; -})(); -var BaseA = /** @class */ (function () { - function BaseA(x) { - this.x = x; - } - return BaseA; -}()); -var DerivedA = /** @class */ (function (_super) { - __extends(DerivedA, _super); - function DerivedA(x) { - var _this = this; - _this.x = x; - _this = _super.call(this, x) || this; - return _this; - } - return DerivedA; -}(BaseA)); diff --git a/tests/baselines/reference/emitCodeBeforeSuperCall2.symbols b/tests/baselines/reference/emitCodeBeforeSuperCall2.symbols deleted file mode 100644 index 8502639b32ac7..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCall2.symbols +++ /dev/null @@ -1,23 +0,0 @@ -=== tests/cases/conformance/classes/constructorDeclarations/superCalls/emitCodeBeforeSuperCall2.ts === -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - - -class BaseA { ->BaseA : Symbol(BaseA, Decl(emitCodeBeforeSuperCall2.ts, 0, 0)) - - public constructor(public x: number) { } ->x : Symbol(BaseA.x, Decl(emitCodeBeforeSuperCall2.ts, 7, 23)) -} -class DerivedA extends BaseA { ->DerivedA : Symbol(DerivedA, Decl(emitCodeBeforeSuperCall2.ts, 8, 1)) ->BaseA : Symbol(BaseA, Decl(emitCodeBeforeSuperCall2.ts, 0, 0)) - - constructor(public x: number) { super(x); } ->x : Symbol(DerivedA.x, Decl(emitCodeBeforeSuperCall2.ts, 10, 16)) ->super : Symbol(BaseA, Decl(emitCodeBeforeSuperCall2.ts, 0, 0)) ->x : Symbol(x, Decl(emitCodeBeforeSuperCall2.ts, 10, 16)) -} - diff --git a/tests/baselines/reference/emitCodeBeforeSuperCall2.types b/tests/baselines/reference/emitCodeBeforeSuperCall2.types deleted file mode 100644 index 6aef3c503cfeb..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCall2.types +++ /dev/null @@ -1,24 +0,0 @@ -=== tests/cases/conformance/classes/constructorDeclarations/superCalls/emitCodeBeforeSuperCall2.ts === -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - - -class BaseA { ->BaseA : BaseA - - public constructor(public x: number) { } ->x : number -} -class DerivedA extends BaseA { ->DerivedA : DerivedA ->BaseA : BaseA - - constructor(public x: number) { super(x); } ->x : number ->super(x) : void ->super : typeof BaseA ->x : number -} - diff --git a/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.js b/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.js deleted file mode 100644 index f84a843ddcd1f..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.js +++ /dev/null @@ -1,74 +0,0 @@ -//// [emitCodeBeforeSuperCallWithDefineFields.ts] -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - -class Base { -} -class Sub extends Base { - // @ts-ignore - constructor(public p: number) { - console.log('hi'); - super(); - } - field = 0; -} - -class Test extends Base { - prop: number; - // @ts-ignore - constructor(public p: number) { - 1; // Any statements here break it - super(); - this.prop = 1; - } -} - - -//// [emitCodeBeforeSuperCallWithDefineFields.js] -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code -class Base { -} -class Sub extends Base { - // @ts-ignore - constructor(p) { - console.log('hi'); - super(); - Object.defineProperty(this, "p", { - enumerable: true, - configurable: true, - writable: true, - value: p - }); - Object.defineProperty(this, "field", { - enumerable: true, - configurable: true, - writable: true, - value: 0 - }); - } -} -class Test extends Base { - // @ts-ignore - constructor(p) { - 1; // Any statements here break it - super(); - Object.defineProperty(this, "p", { - enumerable: true, - configurable: true, - writable: true, - value: p - }); - Object.defineProperty(this, "prop", { - enumerable: true, - configurable: true, - writable: true, - value: void 0 - }); - this.prop = 1; - } -} diff --git a/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.symbols b/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.symbols deleted file mode 100644 index 50260f261b609..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.symbols +++ /dev/null @@ -1,51 +0,0 @@ -=== tests/cases/conformance/classes/constructorDeclarations/superCalls/emitCodeBeforeSuperCallWithDefineFields.ts === -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - -class Base { ->Base : Symbol(Base, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 0, 0)) -} -class Sub extends Base { ->Sub : Symbol(Sub, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 6, 1)) ->Base : Symbol(Base, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 0, 0)) - - // @ts-ignore - constructor(public p: number) { ->p : Symbol(Sub.p, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 9, 16)) - - console.log('hi'); ->console.log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) ->console : Symbol(console, Decl(lib.dom.d.ts, --, --)) ->log : Symbol(Console.log, Decl(lib.dom.d.ts, --, --)) - - super(); ->super : Symbol(Base, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 0, 0)) - } - field = 0; ->field : Symbol(Sub.field, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 12, 5)) -} - -class Test extends Base { ->Test : Symbol(Test, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 14, 1)) ->Base : Symbol(Base, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 0, 0)) - - prop: number; ->prop : Symbol(Test.prop, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 16, 25)) - - // @ts-ignore - constructor(public p: number) { ->p : Symbol(Test.p, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 19, 16)) - - 1; // Any statements here break it - super(); ->super : Symbol(Base, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 0, 0)) - - this.prop = 1; ->this.prop : Symbol(Test.prop, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 16, 25)) ->this : Symbol(Test, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 14, 1)) ->prop : Symbol(Test.prop, Decl(emitCodeBeforeSuperCallWithDefineFields.ts, 16, 25)) - } -} - diff --git a/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.types b/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.types deleted file mode 100644 index 94dfd93cf860e..0000000000000 --- a/tests/baselines/reference/emitCodeBeforeSuperCallWithDefineFields.types +++ /dev/null @@ -1,60 +0,0 @@ -=== tests/cases/conformance/classes/constructorDeclarations/superCalls/emitCodeBeforeSuperCallWithDefineFields.ts === -// TODO: With false, master is correct for `Test` but incorrect for `Sub`. -// `Test` is correct because classic emit doesn't emit for definition and `Test` -// doesn't need to emit any code for initialisation because it's already -// part of the user code - -class Base { ->Base : Base -} -class Sub extends Base { ->Sub : Sub ->Base : Base - - // @ts-ignore - constructor(public p: number) { ->p : number - - console.log('hi'); ->console.log('hi') : void ->console.log : (message?: any, ...optionalParams: any[]) => void ->console : Console ->log : (message?: any, ...optionalParams: any[]) => void ->'hi' : "hi" - - super(); ->super() : void ->super : typeof Base - } - field = 0; ->field : number ->0 : 0 -} - -class Test extends Base { ->Test : Test ->Base : Base - - prop: number; ->prop : number - - // @ts-ignore - constructor(public p: number) { ->p : number - - 1; // Any statements here break it ->1 : 1 - - super(); ->super() : void ->super : typeof Base - - this.prop = 1; ->this.prop = 1 : 1 ->this.prop : number ->this : this ->prop : number ->1 : 1 - } -} - diff --git a/tests/baselines/reference/exportAsNamespace1_amd.errors.txt b/tests/baselines/reference/exportAsNamespace1_amd.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_amd.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace1_amd.js b/tests/baselines/reference/exportAsNamespace1_amd.js deleted file mode 100644 index 240bf93cdc9dc..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_amd.js +++ /dev/null @@ -1,48 +0,0 @@ -//// [tests/cases/conformance/es2020/modules/exportAsNamespace1_amd.ts] //// - -//// [0.ts] -export const a = 1; -export const b = 2; - -//// [1.ts] -export * as ns from './0'; -ns.a; -ns.b; - -//// [2.ts] -import * as foo from './1' - -foo.ns.a; -foo.ns.b; - -//// [0.js] -define(["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = 1; - exports.b = 2; -}); -//// [1.js] -define(["require", "exports", "./0"], function (require, exports, ns) { - "use strict"; - exports.__esModule = true; - exports.ns = ns; - ns.a; - ns.b; -}); -//// [2.js] -define(["require", "exports", "./1"], function (require, exports, foo) { - "use strict"; - exports.__esModule = true; - foo.ns.a; - foo.ns.b; -}); - - -//// [0.d.ts] -export declare const a = 1; -export declare const b = 2; -//// [1.d.ts] -export * as ns from './0'; -//// [2.d.ts] -export {}; diff --git a/tests/baselines/reference/exportAsNamespace1_amd.symbols b/tests/baselines/reference/exportAsNamespace1_amd.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_amd.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace1_amd.types b/tests/baselines/reference/exportAsNamespace1_amd.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_amd.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/exportAsNamespace1_esnext.errors.txt b/tests/baselines/reference/exportAsNamespace1_esnext.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_esnext.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace1_esnext.js b/tests/baselines/reference/exportAsNamespace1_esnext.js deleted file mode 100644 index e662998bb926f..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_esnext.js +++ /dev/null @@ -1,37 +0,0 @@ -//// [tests/cases/conformance/es2020/modules/exportAsNamespace1_esnext.ts] //// - -//// [0.ts] -export const a = 1; -export const b = 2; - -//// [1.ts] -export * as ns from './0'; -ns.a; -ns.b; - -//// [2.ts] -import * as foo from './1' - -foo.ns.a; -foo.ns.b; - -//// [0.js] -export var a = 1; -export var b = 2; -//// [1.js] -export * as ns from './0'; -ns.a; -ns.b; -//// [2.js] -import * as foo from './1'; -foo.ns.a; -foo.ns.b; - - -//// [0.d.ts] -export declare const a = 1; -export declare const b = 2; -//// [1.d.ts] -export * as ns from './0'; -//// [2.d.ts] -export {}; diff --git a/tests/baselines/reference/exportAsNamespace1_esnext.symbols b/tests/baselines/reference/exportAsNamespace1_esnext.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_esnext.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace1_esnext.types b/tests/baselines/reference/exportAsNamespace1_esnext.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_esnext.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/exportAsNamespace1_system.errors.txt b/tests/baselines/reference/exportAsNamespace1_system.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_system.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace1_system.js b/tests/baselines/reference/exportAsNamespace1_system.js deleted file mode 100644 index f326d4ad7fc20..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_system.js +++ /dev/null @@ -1,72 +0,0 @@ -//// [tests/cases/conformance/es2020/modules/exportAsNamespace1_system.ts] //// - -//// [0.ts] -export const a = 1; -export const b = 2; - -//// [1.ts] -export * as ns from './0'; -ns.a; -ns.b; - -//// [2.ts] -import * as foo from './1' - -foo.ns.a; -foo.ns.b; - -//// [0.js] -System.register([], function (exports_1, context_1) { - "use strict"; - var a, b; - var __moduleName = context_1 && context_1.id; - return { - setters: [], - execute: function () { - exports_1("a", a = 1); - exports_1("b", b = 2); - } - }; -}); -//// [1.js] -System.register(["./0"], function (exports_1, context_1) { - "use strict"; - var __moduleName = context_1 && context_1.id; - return { - setters: [ - function (ns_1) { - exports_1("ns", ns_1); - } - ], - execute: function () { - ns.a; - ns.b; - } - }; -}); -//// [2.js] -System.register(["./1"], function (exports_1, context_1) { - "use strict"; - var foo; - var __moduleName = context_1 && context_1.id; - return { - setters: [ - function (foo_1) { - foo = foo_1; - } - ], - execute: function () { - foo.ns.a; - foo.ns.b; - } - }; -}); - - -//// [0.d.ts] -export declare const a = 1; -export declare const b = 2; -//// [1.d.ts] -export * as ns from './0'; -//// [2.d.ts] -export {}; diff --git a/tests/baselines/reference/exportAsNamespace1_system.symbols b/tests/baselines/reference/exportAsNamespace1_system.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_system.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace1_system.types b/tests/baselines/reference/exportAsNamespace1_system.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_system.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/exportAsNamespace1_umd.errors.txt b/tests/baselines/reference/exportAsNamespace1_umd.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_umd.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace1_umd.js b/tests/baselines/reference/exportAsNamespace1_umd.js deleted file mode 100644 index 35d797c66b79a..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_umd.js +++ /dev/null @@ -1,73 +0,0 @@ -//// [tests/cases/conformance/es2020/modules/exportAsNamespace1_umd.ts] //// - -//// [0.ts] -export const a = 1; -export const b = 2; - -//// [1.ts] -export * as ns from './0'; -ns.a; -ns.b; - -//// [2.ts] -import * as foo from './1' - -foo.ns.a; -foo.ns.b; - -//// [0.js] -(function (factory) { - if (typeof module === "object" && typeof module.exports === "object") { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } - else if (typeof define === "function" && define.amd) { - define(["require", "exports"], factory); - } -})(function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = 1; - exports.b = 2; -}); -//// [1.js] -(function (factory) { - if (typeof module === "object" && typeof module.exports === "object") { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } - else if (typeof define === "function" && define.amd) { - define(["require", "exports", "./0"], factory); - } -})(function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.ns = require("./0"); - ns.a; - ns.b; -}); -//// [2.js] -(function (factory) { - if (typeof module === "object" && typeof module.exports === "object") { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } - else if (typeof define === "function" && define.amd) { - define(["require", "exports", "./1"], factory); - } -})(function (require, exports) { - "use strict"; - exports.__esModule = true; - var foo = require("./1"); - foo.ns.a; - foo.ns.b; -}); - - -//// [0.d.ts] -export declare const a = 1; -export declare const b = 2; -//// [1.d.ts] -export * as ns from './0'; -//// [2.d.ts] -export {}; diff --git a/tests/baselines/reference/exportAsNamespace1_umd.symbols b/tests/baselines/reference/exportAsNamespace1_umd.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_umd.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace1_umd.types b/tests/baselines/reference/exportAsNamespace1_umd.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace1_umd.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/exportAsNamespace2_amd.errors.txt b/tests/baselines/reference/exportAsNamespace2_amd.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_amd.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace2_amd.js b/tests/baselines/reference/exportAsNamespace2_amd.js deleted file mode 100644 index 9bb659b380087..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_amd.js +++ /dev/null @@ -1,56 +0,0 @@ -//// [tests/cases/conformance/es2020/modules/exportAsNamespace2_amd.ts] //// - -//// [0.ts] -export const a = 1; -export const b = 2; - -//// [1.ts] -export * as ns from './0'; -ns.a; -ns.b; - -//// [2.ts] -import * as foo from './1' - -foo.ns.a; -foo.ns.b; - -//// [0.js] -define(["require", "exports"], function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = 1; - exports.b = 2; -}); -//// [1.js] -define(["require", "exports", "./0"], function (require, exports, ns) { - "use strict"; - exports.__esModule = true; - exports.ns = ns; - ns.a; - ns.b; -}); -//// [2.js] -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -define(["require", "exports", "./1"], function (require, exports, foo) { - "use strict"; - exports.__esModule = true; - foo = __importStar(foo); - foo.ns.a; - foo.ns.b; -}); - - -//// [0.d.ts] -export declare const a = 1; -export declare const b = 2; -//// [1.d.ts] -export * as ns from './0'; -//// [2.d.ts] -export {}; diff --git a/tests/baselines/reference/exportAsNamespace2_amd.symbols b/tests/baselines/reference/exportAsNamespace2_amd.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_amd.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace2_amd.types b/tests/baselines/reference/exportAsNamespace2_amd.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_amd.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/exportAsNamespace2_esnext.errors.txt b/tests/baselines/reference/exportAsNamespace2_esnext.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_esnext.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace2_esnext.symbols b/tests/baselines/reference/exportAsNamespace2_esnext.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_esnext.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace2_esnext.types b/tests/baselines/reference/exportAsNamespace2_esnext.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_esnext.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/exportAsNamespace2_system.errors.txt b/tests/baselines/reference/exportAsNamespace2_system.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_system.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace2_system.js b/tests/baselines/reference/exportAsNamespace2_system.js deleted file mode 100644 index 8a4582bd4ce8b..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_system.js +++ /dev/null @@ -1,72 +0,0 @@ -//// [tests/cases/conformance/es2020/modules/exportAsNamespace2_system.ts] //// - -//// [0.ts] -export const a = 1; -export const b = 2; - -//// [1.ts] -export * as ns from './0'; -ns.a; -ns.b; - -//// [2.ts] -import * as foo from './1' - -foo.ns.a; -foo.ns.b; - -//// [0.js] -System.register([], function (exports_1, context_1) { - "use strict"; - var a, b; - var __moduleName = context_1 && context_1.id; - return { - setters: [], - execute: function () { - exports_1("a", a = 1); - exports_1("b", b = 2); - } - }; -}); -//// [1.js] -System.register(["./0"], function (exports_1, context_1) { - "use strict"; - var __moduleName = context_1 && context_1.id; - return { - setters: [ - function (ns_1) { - exports_1("ns", ns_1); - } - ], - execute: function () { - ns.a; - ns.b; - } - }; -}); -//// [2.js] -System.register(["./1"], function (exports_1, context_1) { - "use strict"; - var foo; - var __moduleName = context_1 && context_1.id; - return { - setters: [ - function (foo_1) { - foo = foo_1; - } - ], - execute: function () { - foo.ns.a; - foo.ns.b; - } - }; -}); - - -//// [0.d.ts] -export declare const a = 1; -export declare const b = 2; -//// [1.d.ts] -export * as ns from './0'; -//// [2.d.ts] -export {}; diff --git a/tests/baselines/reference/exportAsNamespace2_system.symbols b/tests/baselines/reference/exportAsNamespace2_system.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_system.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace2_system.types b/tests/baselines/reference/exportAsNamespace2_system.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_system.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/exportAsNamespace2_umd.errors.txt b/tests/baselines/reference/exportAsNamespace2_umd.errors.txt deleted file mode 100644 index 90b3756336ae0..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_umd.errors.txt +++ /dev/null @@ -1,22 +0,0 @@ -tests/cases/conformance/es2020/modules/1.ts(2,1): error TS2304: Cannot find name 'ns'. -tests/cases/conformance/es2020/modules/1.ts(3,1): error TS2304: Cannot find name 'ns'. - - -==== tests/cases/conformance/es2020/modules/0.ts (0 errors) ==== - export const a = 1; - export const b = 2; - -==== tests/cases/conformance/es2020/modules/1.ts (2 errors) ==== - export * as ns from './0'; - ns.a; - ~~ -!!! error TS2304: Cannot find name 'ns'. - ns.b; - ~~ -!!! error TS2304: Cannot find name 'ns'. - -==== tests/cases/conformance/es2020/modules/2.ts (0 errors) ==== - import * as foo from './1' - - foo.ns.a; - foo.ns.b; \ No newline at end of file diff --git a/tests/baselines/reference/exportAsNamespace2_umd.js b/tests/baselines/reference/exportAsNamespace2_umd.js deleted file mode 100644 index e01ba1ae3771e..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_umd.js +++ /dev/null @@ -1,87 +0,0 @@ -//// [tests/cases/conformance/es2020/modules/exportAsNamespace2_umd.ts] //// - -//// [0.ts] -export const a = 1; -export const b = 2; - -//// [1.ts] -export * as ns from './0'; -ns.a; -ns.b; - -//// [2.ts] -import * as foo from './1' - -foo.ns.a; -foo.ns.b; - -//// [0.js] -(function (factory) { - if (typeof module === "object" && typeof module.exports === "object") { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } - else if (typeof define === "function" && define.amd) { - define(["require", "exports"], factory); - } -})(function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.a = 1; - exports.b = 2; -}); -//// [1.js] -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -(function (factory) { - if (typeof module === "object" && typeof module.exports === "object") { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } - else if (typeof define === "function" && define.amd) { - define(["require", "exports", "./0"], factory); - } -})(function (require, exports) { - "use strict"; - exports.__esModule = true; - exports.ns = __importStar(require("./0")); - ns.a; - ns.b; -}); -//// [2.js] -var __importStar = (this && this.__importStar) || function (mod) { - if (mod && mod.__esModule) return mod; - var result = {}; - if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; - result["default"] = mod; - return result; -}; -(function (factory) { - if (typeof module === "object" && typeof module.exports === "object") { - var v = factory(require, exports); - if (v !== undefined) module.exports = v; - } - else if (typeof define === "function" && define.amd) { - define(["require", "exports", "./1"], factory); - } -})(function (require, exports) { - "use strict"; - exports.__esModule = true; - var foo = __importStar(require("./1")); - foo.ns.a; - foo.ns.b; -}); - - -//// [0.d.ts] -export declare const a = 1; -export declare const b = 2; -//// [1.d.ts] -export * as ns from './0'; -//// [2.d.ts] -export {}; diff --git a/tests/baselines/reference/exportAsNamespace2_umd.symbols b/tests/baselines/reference/exportAsNamespace2_umd.symbols deleted file mode 100644 index 3c6b7529361ba..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_umd.symbols +++ /dev/null @@ -1,32 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : Symbol(a, Decl(0.ts, 0, 12)) - -export const b = 2; ->b : Symbol(b, Decl(0.ts, 1, 12)) - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : Symbol(ns, Decl(1.ts, 0, 11)) - -ns.a; -ns.b; - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : Symbol(foo, Decl(2.ts, 0, 6)) - -foo.ns.a; ->foo.ns.a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->a : Symbol(foo.ns.a, Decl(0.ts, 0, 12)) - -foo.ns.b; ->foo.ns.b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) ->foo.ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->foo : Symbol(foo, Decl(2.ts, 0, 6)) ->ns : Symbol(foo.ns, Decl(1.ts, 0, 11)) ->b : Symbol(foo.ns.b, Decl(0.ts, 1, 12)) - diff --git a/tests/baselines/reference/exportAsNamespace2_umd.types b/tests/baselines/reference/exportAsNamespace2_umd.types deleted file mode 100644 index 43e33efa82b30..0000000000000 --- a/tests/baselines/reference/exportAsNamespace2_umd.types +++ /dev/null @@ -1,41 +0,0 @@ -=== tests/cases/conformance/es2020/modules/0.ts === -export const a = 1; ->a : 1 ->1 : 1 - -export const b = 2; ->b : 2 ->2 : 2 - -=== tests/cases/conformance/es2020/modules/1.ts === -export * as ns from './0'; ->ns : typeof ns - -ns.a; ->ns.a : any ->ns : any ->a : any - -ns.b; ->ns.b : any ->ns : any ->b : any - -=== tests/cases/conformance/es2020/modules/2.ts === -import * as foo from './1' ->foo : typeof foo - -foo.ns.a; ->foo.ns.a : 1 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->a : 1 - -foo.ns.b; ->foo.ns.b : 2 ->foo.ns : typeof foo.ns ->foo : typeof foo ->ns : typeof foo.ns ->b : 2 - diff --git a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.errors.txt b/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.errors.txt deleted file mode 100644 index c8846ae349714..0000000000000 --- a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.errors.txt +++ /dev/null @@ -1,49 +0,0 @@ -tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts(7,18): error TS1125: Hexadecimal digit expected. -tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts(8,15): error TS1125: Hexadecimal digit expected. -tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts(8,33): error TS1125: Hexadecimal digit expected. -tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts(8,75): error TS1125: Hexadecimal digit expected. -tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts(9,18): error TS1125: Hexadecimal digit expected. -tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts(9,27): error TS1125: Hexadecimal digit expected. -tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts(9,51): error TS1125: Hexadecimal digit expected. - - -==== tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts (7 errors) ==== - function tag (str: any, ...args: any[]): any { - return str - } - - const a = tag`123` - const b = tag`123 ${100}` - const x = tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; - -!!! error TS1125: Hexadecimal digit expected. - const y = `\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; // should error with NoSubstitutionTemplate - -!!! error TS1125: Hexadecimal digit expected. - -!!! error TS1125: Hexadecimal digit expected. - -!!! error TS1125: Hexadecimal digit expected. - const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate - -!!! error TS1125: Hexadecimal digit expected. - -!!! error TS1125: Hexadecimal digit expected. - -!!! error TS1125: Hexadecimal digit expected. - - const a1 = tag`${ 100 }\0` // \0 - const a2 = tag`${ 100 }\00` // \\00 - const a3 = tag`${ 100 }\u` // \\u - const a4 = tag`${ 100 }\u0` // \\u0 - const a5 = tag`${ 100 }\u00` // \\u00 - const a6 = tag`${ 100 }\u000` // \\u000 - const a7 = tag`${ 100 }\u0000` // \u0000 - const a8 = tag`${ 100 }\u{` // \\u{ - const a9 = tag`${ 100 }\u{10FFFF}` // \\u{10FFFF - const a10 = tag`${ 100 }\u{1f622` // \\u{1f622 - const a11 = tag`${ 100 }\u{1f622}` // \u{1f622} - const a12 = tag`${ 100 }\x` // \\x - const a13 = tag`${ 100 }\x0` // \\x0 - const a14 = tag`${ 100 }\x00` // \x00 - \ No newline at end of file diff --git a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.js b/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.js deleted file mode 100644 index 362e2cf175cfc..0000000000000 --- a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.js +++ /dev/null @@ -1,58 +0,0 @@ -//// [invalidTaggedTemplateEscapeSequences.ts] -function tag (str: any, ...args: any[]): any { - return str -} - -const a = tag`123` -const b = tag`123 ${100}` -const x = tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; -const y = `\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; // should error with NoSubstitutionTemplate -const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate - -const a1 = tag`${ 100 }\0` // \0 -const a2 = tag`${ 100 }\00` // \\00 -const a3 = tag`${ 100 }\u` // \\u -const a4 = tag`${ 100 }\u0` // \\u0 -const a5 = tag`${ 100 }\u00` // \\u00 -const a6 = tag`${ 100 }\u000` // \\u000 -const a7 = tag`${ 100 }\u0000` // \u0000 -const a8 = tag`${ 100 }\u{` // \\u{ -const a9 = tag`${ 100 }\u{10FFFF}` // \\u{10FFFF -const a10 = tag`${ 100 }\u{1f622` // \\u{1f622 -const a11 = tag`${ 100 }\u{1f622}` // \u{1f622} -const a12 = tag`${ 100 }\x` // \\x -const a13 = tag`${ 100 }\x0` // \\x0 -const a14 = tag`${ 100 }\x00` // \x00 - - -//// [invalidTaggedTemplateEscapeSequences.js] -var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { - if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } - return cooked; -}; -function tag(str) { - var args = []; - for (var _i = 1; _i < arguments.length; _i++) { - args[_i - 1] = arguments[_i]; - } - return str; -} -var a = tag(__makeTemplateObject(["123"], ["123"])); -var b = tag(__makeTemplateObject(["123 ", ""], ["123 ", ""]), 100); -var x = tag(__makeTemplateObject([undefined, undefined, " wonderful ", undefined], ["\\u{hello} ", " \\xtraordinary ", " wonderful ", " \\uworld"]), 100, 200, 300); -var y = "hello} " + 100 + " traordinary " + 200 + " wonderful " + 300 + " world"; // should error with NoSubstitutionTemplate -var z = tag(__makeTemplateObject([undefined], ["\\u{hello} \\xtraordinary wonderful \\uworld"])); // should work with Tagged NoSubstitutionTemplate -var a1 = tag(__makeTemplateObject(["", "\0"], ["", "\\0"]), 100); // \0 -var a2 = tag(__makeTemplateObject(["", undefined], ["", "\\00"]), 100); // \\00 -var a3 = tag(__makeTemplateObject(["", undefined], ["", "\\u"]), 100); // \\u -var a4 = tag(__makeTemplateObject(["", undefined], ["", "\\u0"]), 100); // \\u0 -var a5 = tag(__makeTemplateObject(["", undefined], ["", "\\u00"]), 100); // \\u00 -var a6 = tag(__makeTemplateObject(["", undefined], ["", "\\u000"]), 100); // \\u000 -var a7 = tag(__makeTemplateObject(["", "\0"], ["", "\\u0000"]), 100); // \u0000 -var a8 = tag(__makeTemplateObject(["", undefined], ["", "\\u{"]), 100); // \\u{ -var a9 = tag(__makeTemplateObject(["", "\uDBFF\uDFFF"], ["", "\\u{10FFFF}"]), 100); // \\u{10FFFF -var a10 = tag(__makeTemplateObject(["", undefined], ["", "\\u{1f622"]), 100); // \\u{1f622 -var a11 = tag(__makeTemplateObject(["", "\uD83D\uDE22"], ["", "\\u{1f622}"]), 100); // \u{1f622} -var a12 = tag(__makeTemplateObject(["", undefined], ["", "\\x"]), 100); // \\x -var a13 = tag(__makeTemplateObject(["", undefined], ["", "\\x0"]), 100); // \\x0 -var a14 = tag(__makeTemplateObject(["", "\0"], ["", "\\x00"]), 100); // \x00 diff --git a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.symbols b/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.symbols deleted file mode 100644 index 1f9954dcec177..0000000000000 --- a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.symbols +++ /dev/null @@ -1,85 +0,0 @@ -=== tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts === -function tag (str: any, ...args: any[]): any { ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) ->str : Symbol(str, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 14)) ->args : Symbol(args, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 23)) - - return str ->str : Symbol(str, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 14)) -} - -const a = tag`123` ->a : Symbol(a, Decl(invalidTaggedTemplateEscapeSequences.ts, 4, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const b = tag`123 ${100}` ->b : Symbol(b, Decl(invalidTaggedTemplateEscapeSequences.ts, 5, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const x = tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; ->x : Symbol(x, Decl(invalidTaggedTemplateEscapeSequences.ts, 6, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const y = `\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; // should error with NoSubstitutionTemplate ->y : Symbol(y, Decl(invalidTaggedTemplateEscapeSequences.ts, 7, 5)) - -const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate ->z : Symbol(z, Decl(invalidTaggedTemplateEscapeSequences.ts, 8, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a1 = tag`${ 100 }\0` // \0 ->a1 : Symbol(a1, Decl(invalidTaggedTemplateEscapeSequences.ts, 10, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a2 = tag`${ 100 }\00` // \\00 ->a2 : Symbol(a2, Decl(invalidTaggedTemplateEscapeSequences.ts, 11, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a3 = tag`${ 100 }\u` // \\u ->a3 : Symbol(a3, Decl(invalidTaggedTemplateEscapeSequences.ts, 12, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a4 = tag`${ 100 }\u0` // \\u0 ->a4 : Symbol(a4, Decl(invalidTaggedTemplateEscapeSequences.ts, 13, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a5 = tag`${ 100 }\u00` // \\u00 ->a5 : Symbol(a5, Decl(invalidTaggedTemplateEscapeSequences.ts, 14, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a6 = tag`${ 100 }\u000` // \\u000 ->a6 : Symbol(a6, Decl(invalidTaggedTemplateEscapeSequences.ts, 15, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a7 = tag`${ 100 }\u0000` // \u0000 ->a7 : Symbol(a7, Decl(invalidTaggedTemplateEscapeSequences.ts, 16, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a8 = tag`${ 100 }\u{` // \\u{ ->a8 : Symbol(a8, Decl(invalidTaggedTemplateEscapeSequences.ts, 17, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a9 = tag`${ 100 }\u{10FFFF}` // \\u{10FFFF ->a9 : Symbol(a9, Decl(invalidTaggedTemplateEscapeSequences.ts, 18, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a10 = tag`${ 100 }\u{1f622` // \\u{1f622 ->a10 : Symbol(a10, Decl(invalidTaggedTemplateEscapeSequences.ts, 19, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a11 = tag`${ 100 }\u{1f622}` // \u{1f622} ->a11 : Symbol(a11, Decl(invalidTaggedTemplateEscapeSequences.ts, 20, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a12 = tag`${ 100 }\x` // \\x ->a12 : Symbol(a12, Decl(invalidTaggedTemplateEscapeSequences.ts, 21, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a13 = tag`${ 100 }\x0` // \\x0 ->a13 : Symbol(a13, Decl(invalidTaggedTemplateEscapeSequences.ts, 22, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - -const a14 = tag`${ 100 }\x00` // \x00 ->a14 : Symbol(a14, Decl(invalidTaggedTemplateEscapeSequences.ts, 23, 5)) ->tag : Symbol(tag, Decl(invalidTaggedTemplateEscapeSequences.ts, 0, 0)) - diff --git a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.types b/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.types deleted file mode 100644 index 08b1ed6844442..0000000000000 --- a/tests/baselines/reference/invalidTaggedTemplateEscapeSequences.types +++ /dev/null @@ -1,143 +0,0 @@ -=== tests/cases/conformance/es2018/invalidTaggedTemplateEscapeSequences.ts === -function tag (str: any, ...args: any[]): any { ->tag : (str: any, ...args: any[]) => any ->str : any ->args : any[] - - return str ->str : any -} - -const a = tag`123` ->a : any ->tag`123` : any ->tag : (str: any, ...args: any[]) => any ->`123` : "123" - -const b = tag`123 ${100}` ->b : any ->tag`123 ${100}` : any ->tag : (str: any, ...args: any[]) => any ->`123 ${100}` : string ->100 : 100 - -const x = tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; ->x : any ->tag`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld` : any ->tag : (str: any, ...args: any[]) => any ->`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld` : string ->100 : 100 ->200 : 200 ->300 : 300 - -const y = `\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld`; // should error with NoSubstitutionTemplate ->y : string ->`\u{hello} ${ 100 } \xtraordinary ${ 200 } wonderful ${ 300 } \uworld` : string ->100 : 100 ->200 : 200 ->300 : 300 - -const z = tag`\u{hello} \xtraordinary wonderful \uworld` // should work with Tagged NoSubstitutionTemplate ->z : any ->tag`\u{hello} \xtraordinary wonderful \uworld` : any ->tag : (str: any, ...args: any[]) => any ->`\u{hello} \xtraordinary wonderful \uworld` : "\\u{hello} \\xtraordinary wonderful \\uworld" - -const a1 = tag`${ 100 }\0` // \0 ->a1 : any ->tag`${ 100 }\0` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\0` : string ->100 : 100 - -const a2 = tag`${ 100 }\00` // \\00 ->a2 : any ->tag`${ 100 }\00` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\00` : string ->100 : 100 - -const a3 = tag`${ 100 }\u` // \\u ->a3 : any ->tag`${ 100 }\u` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u` : string ->100 : 100 - -const a4 = tag`${ 100 }\u0` // \\u0 ->a4 : any ->tag`${ 100 }\u0` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u0` : string ->100 : 100 - -const a5 = tag`${ 100 }\u00` // \\u00 ->a5 : any ->tag`${ 100 }\u00` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u00` : string ->100 : 100 - -const a6 = tag`${ 100 }\u000` // \\u000 ->a6 : any ->tag`${ 100 }\u000` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u000` : string ->100 : 100 - -const a7 = tag`${ 100 }\u0000` // \u0000 ->a7 : any ->tag`${ 100 }\u0000` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u0000` : string ->100 : 100 - -const a8 = tag`${ 100 }\u{` // \\u{ ->a8 : any ->tag`${ 100 }\u{` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u{` : string ->100 : 100 - -const a9 = tag`${ 100 }\u{10FFFF}` // \\u{10FFFF ->a9 : any ->tag`${ 100 }\u{10FFFF}` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u{10FFFF}` : string ->100 : 100 - -const a10 = tag`${ 100 }\u{1f622` // \\u{1f622 ->a10 : any ->tag`${ 100 }\u{1f622` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u{1f622` : string ->100 : 100 - -const a11 = tag`${ 100 }\u{1f622}` // \u{1f622} ->a11 : any ->tag`${ 100 }\u{1f622}` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\u{1f622}` : string ->100 : 100 - -const a12 = tag`${ 100 }\x` // \\x ->a12 : any ->tag`${ 100 }\x` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\x` : string ->100 : 100 - -const a13 = tag`${ 100 }\x0` // \\x0 ->a13 : any ->tag`${ 100 }\x0` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\x0` : string ->100 : 100 - -const a14 = tag`${ 100 }\x00` // \x00 ->a14 : any ->tag`${ 100 }\x00` : any ->tag : (str: any, ...args: any[]) => any ->`${ 100 }\x00` : string ->100 : 100 - diff --git a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.errors.txt b/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.errors.txt deleted file mode 100644 index e898ec5e18f0b..0000000000000 --- a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.errors.txt +++ /dev/null @@ -1,10 +0,0 @@ -tests/cases/compiler/nonexistentPropertyAvailableOnPromisedType.ts(2,7): error TS2570: Property 'toLowerCase' does not exist on type 'Promise'. Did you forget to use 'await'? - - -==== tests/cases/compiler/nonexistentPropertyAvailableOnPromisedType.ts (1 errors) ==== - function f(x: Promise) { - x.toLowerCase(); - ~~~~~~~~~~~ -!!! error TS2570: Property 'toLowerCase' does not exist on type 'Promise'. Did you forget to use 'await'? - } - \ No newline at end of file diff --git a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.js b/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.js deleted file mode 100644 index f07ed7b9ddfdf..0000000000000 --- a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.js +++ /dev/null @@ -1,10 +0,0 @@ -//// [nonexistentPropertyAvailableOnPromisedType.ts] -function f(x: Promise) { - x.toLowerCase(); -} - - -//// [nonexistentPropertyAvailableOnPromisedType.js] -function f(x) { - x.toLowerCase(); -} diff --git a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.symbols b/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.symbols deleted file mode 100644 index 6c2dab4aaf250..0000000000000 --- a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.symbols +++ /dev/null @@ -1,10 +0,0 @@ -=== tests/cases/compiler/nonexistentPropertyAvailableOnPromisedType.ts === -function f(x: Promise) { ->f : Symbol(f, Decl(nonexistentPropertyAvailableOnPromisedType.ts, 0, 0)) ->x : Symbol(x, Decl(nonexistentPropertyAvailableOnPromisedType.ts, 0, 11)) ->Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --)) - - x.toLowerCase(); ->x : Symbol(x, Decl(nonexistentPropertyAvailableOnPromisedType.ts, 0, 11)) -} - diff --git a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.types b/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.types deleted file mode 100644 index 3489f83ed655e..0000000000000 --- a/tests/baselines/reference/nonexistentPropertyAvailableOnPromisedType.types +++ /dev/null @@ -1,12 +0,0 @@ -=== tests/cases/compiler/nonexistentPropertyAvailableOnPromisedType.ts === -function f(x: Promise) { ->f : (x: Promise) => void ->x : Promise - - x.toLowerCase(); ->x.toLowerCase() : any ->x.toLowerCase : any ->x : Promise ->toLowerCase : any -} - diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index f7028d0655075..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,16 +0,0 @@ -DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json(4,5): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== DifferentNamesNotSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { - "compilerOptions": { - "out": "test.js", - "allowJs": true - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - } - } -==== DifferentNamesNotSpecifiedWithAllowJs/a.ts (0 errors) ==== - var test = 10; -==== DifferentNamesNotSpecifiedWithAllowJs/b.js (0 errors) ==== - var test2 = 10; // Should get compiled \ No newline at end of file diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index 1c5034be858bc..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/jsFileCompilationDifferentNamesSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,17 +0,0 @@ -DifferentNamesSpecifiedWithAllowJs/tsconfig.json(4,5): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== DifferentNamesSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { - "compilerOptions": { - "out": "test.js", - "allowJs": true - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - }, - "files": [ "a.ts", "b.js" ] - } -==== DifferentNamesSpecifiedWithAllowJs/a.ts (0 errors) ==== - var test = 10; -==== DifferentNamesSpecifiedWithAllowJs/b.js (0 errors) ==== - var test2 = 10; // Should get compiled \ No newline at end of file diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameDTsSpecifiedWithAllowJs/amd/jsFileCompilationSameNameDTsSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationSameNameDTsSpecifiedWithAllowJs/amd/jsFileCompilationSameNameDTsSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index 1a625b3fe7d6f..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationSameNameDTsSpecifiedWithAllowJs/amd/jsFileCompilationSameNameDTsSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,12 +0,0 @@ -SameNameDTsSpecifiedWithAllowJs/tsconfig.json(2,24): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== SameNameDTsSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { - "compilerOptions": { "allowJs": true }, - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - "files": [ "a.d.ts" ] - } -==== SameNameDTsSpecifiedWithAllowJs/a.d.ts (0 errors) ==== - declare var test: number; \ No newline at end of file diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameDTsSpecifiedWithAllowJs/node/jsFileCompilationSameNameDTsSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationSameNameDTsSpecifiedWithAllowJs/node/jsFileCompilationSameNameDTsSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index 1a625b3fe7d6f..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationSameNameDTsSpecifiedWithAllowJs/node/jsFileCompilationSameNameDTsSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,12 +0,0 @@ -SameNameDTsSpecifiedWithAllowJs/tsconfig.json(2,24): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== SameNameDTsSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { - "compilerOptions": { "allowJs": true }, - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - "files": [ "a.d.ts" ] - } -==== SameNameDTsSpecifiedWithAllowJs/a.d.ts (0 errors) ==== - declare var test: number; \ No newline at end of file diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index 99e057bb6d05d..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,9 +0,0 @@ -SameNameFilesNotSpecifiedWithAllowJs/tsconfig.json(1,24): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== SameNameFilesNotSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { "compilerOptions": { "allowJs": true } } - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. -==== SameNameFilesNotSpecifiedWithAllowJs/a.ts (0 errors) ==== - var test = 10; \ No newline at end of file diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index 99e057bb6d05d..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,9 +0,0 @@ -SameNameFilesNotSpecifiedWithAllowJs/tsconfig.json(1,24): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== SameNameFilesNotSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { "compilerOptions": { "allowJs": true } } - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. -==== SameNameFilesNotSpecifiedWithAllowJs/a.ts (0 errors) ==== - var test = 10; \ No newline at end of file diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/jsFileCompilationSameNameFilesSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/jsFileCompilationSameNameFilesSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index f956b6780844e..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/jsFileCompilationSameNameFilesSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,12 +0,0 @@ -SameNameTsSpecifiedWithAllowJs/tsconfig.json(2,24): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== SameNameTsSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { - "compilerOptions": { "allowJs": true }, - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - "files": [ "a.ts" ] - } -==== SameNameTsSpecifiedWithAllowJs/a.ts (0 errors) ==== - var test = 10; \ No newline at end of file diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/jsFileCompilationSameNameFilesSpecifiedWithAllowJs.errors.txt b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/jsFileCompilationSameNameFilesSpecifiedWithAllowJs.errors.txt deleted file mode 100644 index f956b6780844e..0000000000000 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/jsFileCompilationSameNameFilesSpecifiedWithAllowJs.errors.txt +++ /dev/null @@ -1,12 +0,0 @@ -SameNameTsSpecifiedWithAllowJs/tsconfig.json(2,24): error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - - -==== SameNameTsSpecifiedWithAllowJs/tsconfig.json (1 errors) ==== - { - "compilerOptions": { "allowJs": true }, - ~~~~~~~~~ -!!! error TS5053: Option 'allowJs' cannot be specified with option 'declaration'. - "files": [ "a.ts" ] - } -==== SameNameTsSpecifiedWithAllowJs/a.ts (0 errors) ==== - var test = 10; \ No newline at end of file diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/project/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/project/tsconfig.json deleted file mode 100644 index cd727e8ccdc88..0000000000000 --- a/tests/baselines/reference/showConfig/Shows tsconfig for single option/project/tsconfig.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "compilerOptions": {} -} diff --git a/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictGeneratorTypes/tsconfig.json b/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictGeneratorTypes/tsconfig.json deleted file mode 100644 index 91f667ef73951..0000000000000 --- a/tests/baselines/reference/showConfig/Shows tsconfig for single option/strictGeneratorTypes/tsconfig.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "compilerOptions": { - "strictGeneratorTypes": true - } -} diff --git a/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.errors.txt b/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.errors.txt old mode 100755 new mode 100644 diff --git a/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.js b/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.js old mode 100755 new mode 100644 diff --git a/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.symbols b/tests/baselines/reference/taggedTemplateWithoutDeclaredHelper.symbols old mode 100755 new mode 100644 diff --git a/tests/baselines/reference/user/TypeScript-React-Native-Starter.log b/tests/baselines/reference/user/TypeScript-React-Native-Starter.log index 56087ce2e9136..4b04501e4ac39 100644 --- a/tests/baselines/reference/user/TypeScript-React-Native-Starter.log +++ b/tests/baselines/reference/user/TypeScript-React-Native-Starter.log @@ -1,9 +1,6 @@ Exit Code: 1 Standard output: -node_modules/@types/react-native/index.d.ts(3425,42): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later. -node_modules/@types/react-native/index.d.ts(3438,42): error TS2583: Cannot find name 'Map'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later. node_modules/@types/react-native/index.d.ts(8745,18): error TS2717: Subsequent property declarations must have the same type. Property 'geolocation' must be of type 'Geolocation', but here has type 'GeolocationStatic'. -node_modules/@types/react/index.d.ts(388,23): error TS2583: Cannot find name 'Set'. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later. diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log index 443cfcb5ffde4..f3e1a0a59e894 100644 --- a/tests/baselines/reference/user/adonis-framework.log +++ b/tests/baselines/reference/user/adonis-framework.log @@ -24,6 +24,7 @@ node_modules/adonis-framework/src/Encryption/index.js(71,34): error TS2769: No o Argument of type 'string' is not assignable to parameter of type 'undefined'. Overload 2 of 4, '(data: string, input_encoding: "utf8" | "ascii" | "binary" | undefined, output_encoding: HexBase64BinaryEncoding): string', gave the following error. Argument of type 'string' is not assignable to parameter of type '"utf8" | "ascii" | "binary" | undefined'. +node_modules/adonis-framework/src/Encryption/index.js(77,27): error TS2322: Type 'string' is not assignable to type 'Buffer'. node_modules/adonis-framework/src/Encryption/index.js(77,50): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/adonis-framework/src/Encryption/index.js(85,23): error TS8024: JSDoc '@param' tag has name 'value', but there is no parameter with that name. node_modules/adonis-framework/src/Encryption/index.js(87,15): error TS2304: Cannot find name 'Mixed'. @@ -32,6 +33,8 @@ node_modules/adonis-framework/src/Encryption/index.js(101,62): error TS2769: No Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'. Overload 2 of 4, '(data: string, input_encoding: "base64" | "binary" | "hex" | undefined, output_encoding: Utf8AsciiBinaryEncoding): string', gave the following error. Argument of type 'string' is not assignable to parameter of type 'Utf8AsciiBinaryEncoding'. +node_modules/adonis-framework/src/Encryption/index.js(102,5): error TS2322: Type 'string' is not assignable to type 'Buffer & string'. + Type 'string' is not assignable to type 'Buffer'. node_modules/adonis-framework/src/Encryption/index.js(114,15): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Encryption/index.js(119,23): error TS2554: Expected 2 arguments, but got 1. node_modules/adonis-framework/src/Encryption/index.js(183,15): error TS2304: Cannot find name 'Mixed'. diff --git a/tests/baselines/reference/user/bluebird.log b/tests/baselines/reference/user/bluebird.log index 7d9348c9d4096..cf772cb5b6ff3 100644 --- a/tests/baselines/reference/user/bluebird.log +++ b/tests/baselines/reference/user/bluebird.log @@ -6,8 +6,10 @@ node_modules/bluebird/js/release/bluebird.js(10,10): error TS2339: Property 'noC node_modules/bluebird/js/release/debuggability.js(225,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'event' must be of type 'CustomEvent', but here has type 'Event'. node_modules/bluebird/js/release/debuggability.js(232,26): error TS2339: Property 'detail' does not exist on type 'Event'. node_modules/bluebird/js/release/debuggability.js(258,48): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type '["multipleResolves", MultipleResolveListener]'. -node_modules/bluebird/js/release/debuggability.js(301,56): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'. - Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 26 more. +node_modules/bluebird/js/release/debuggability.js(301,9): error TS2322: Type 'Process' is not assignable to type 'boolean'. +node_modules/bluebird/js/release/debuggability.js(301,28): error TS2684: The 'this' context of type '((...args: any[]) => Process) | ((name: any, ...args: any[]) => boolean)' is not assignable to method's 'this' of type '(this: null, name?: any, ...args: any[]) => Process'. + Type '(name: any, ...args: any[]) => boolean' is not assignable to type '(this: null, name?: any, ...args: any[]) => Process'. + Type 'boolean' is not assignable to type 'Process'. node_modules/bluebird/js/release/debuggability.js(562,19): error TS2350: Only a void function can be called with the 'new' keyword. node_modules/bluebird/js/release/debuggability.js(633,59): error TS2554: Expected 0 arguments, but got 1. node_modules/bluebird/js/release/debuggability.js(807,5): error TS2721: Cannot invoke an object which is possibly 'null'. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 10b7717b12d84..11082d6201a06 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -37,6 +37,7 @@ node_modules/chrome-devtools-frontend/front_end/Tests.js(440,10): error TS2554: node_modules/chrome-devtools-frontend/front_end/Tests.js(475,10): error TS2554: Expected 4 arguments, but got 3. node_modules/chrome-devtools-frontend/front_end/Tests.js(571,33): error TS2339: Property 'deprecatedRunAfterPendingDispatches' does not exist on type 'typeof InspectorBackend'. node_modules/chrome-devtools-frontend/front_end/Tests.js(590,57): error TS2554: Expected 0 arguments, but got 1. +node_modules/chrome-devtools-frontend/front_end/Tests.js(591,21): error TS2339: Property '_target' does not exist on type 'DeviceModeModel'. node_modules/chrome-devtools-frontend/front_end/Tests.js(619,44): error TS2339: Property 'emulationAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/Tests.js(666,38): error TS2339: Property 'inputAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/Tests.js(668,38): error TS2339: Property 'inputAgent' does not exist on type 'Target'. @@ -503,6 +504,8 @@ node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(950,47): node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(952,19): error TS2304: Cannot find name 'DOM'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(954,32): error TS2304: Cannot find name 'CategoryRenderer'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(955,60): error TS2554: Expected 0 arguments, but got 2. +node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(962,14): error TS2339: Property 'setTemplateContext' does not exist on type 'ReportRenderer'. +node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(963,14): error TS2339: Property 'renderReport' does not exist on type 'ReportRenderer'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(967,41): error TS2304: Cannot find name 'DetailsRenderer'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(969,15): error TS2304: Cannot find name 'DOM'. node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(978,15): error TS2503: Cannot find namespace 'DetailsRenderer'. @@ -3058,6 +3061,7 @@ node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(60 Type 'T' is not assignable to type 'DebuggerModel'. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(97,56): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(97,61): error TS2339: Property 'valuesArray' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(122,22): error TS2339: Property 'remove' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(153,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. @@ -3114,12 +3118,16 @@ node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js( 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(191,46): error TS2345: Argument of type 'CSSStyleSheetHeader' is not assignable to parameter of type 'K'. 'CSSStyleSheetHeader' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(192,16): error TS2339: Property 'update' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(204,16): error TS2339: Property '_header' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(205,27): error TS2345: Argument of type 'CSSStyleSheetHeader' is not assignable to parameter of type 'K'. 'CSSStyleSheetHeader' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(206,16): error TS2339: Property 'update' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(216,46): error TS2345: Argument of type 'CSSStyleSheetHeader' is not assignable to parameter of type 'K'. 'CSSStyleSheetHeader' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(217,16): error TS2339: Property '_header' does not exist on type 'V'. +node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(218,43): error TS2339: Property '_url' does not exist on type 'V'. +node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(219,16): error TS2339: Property 'update' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(221,31): error TS2345: Argument of type 'CSSStyleSheetHeader' is not assignable to parameter of type 'K'. 'CSSStyleSheetHeader' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(261,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -3146,6 +3154,7 @@ node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBindin 'Script' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(292,46): error TS2345: Argument of type 'Script' is not assignable to parameter of type 'K'. 'Script' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(293,16): error TS2339: Property 'update' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(349,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(389,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(452,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -3202,6 +3211,7 @@ node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(176,25): er node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(48,26): error TS2554: Expected 5 arguments, but got 4. node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(71,80): error TS2345: Argument of type 'Promise' is not assignable to parameter of type '() => Promise'. Type 'Promise' provides no match for the signature '(): Promise'. +node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(77,28): error TS2554: Expected 4 arguments, but got 3. node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(82,41): error TS2339: Property '_stabilizedCallback' does not exist on type 'AutomappingTest'. node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(108,15): error TS2339: Property '_stabilizedCallback' does not exist on type 'AutomappingTest'. node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(116,27): error TS2339: Property '_stabilizedCallback' does not exist on type 'AutomappingTest'. @@ -3768,10 +3778,6 @@ node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(504,31): node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(505,28): error TS2339: Property '_linkHandlerSettingInstance' does not exist on type 'typeof Linkifier'. node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(506,67): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(508,33): error TS2339: Property '_linkHandlerSettingInstance' does not exist on type 'typeof Linkifier'. -node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(564,9): error TS2322: Type '({ section: string; title: any; handler: () => void; } | { section: string; title: string; handler: any; })[]' is not assignable to type '{ title: string; handler: () => any; }[]'. - Type '{ section: string; title: any; handler: () => void; } | { section: string; title: string; handler: any; }' is not assignable to type '{ title: string; handler: () => any; }'. - Type '{ section: string; title: any; handler: () => void; }' is not assignable to type '{ title: string; handler: () => any; }'. - Object literal may only specify known properties, and 'section' does not exist in type '{ title: string; handler: () => any; }'. node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(565,23): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(572,23): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(580,23): error TS2555: Expected at least 2 arguments, but got 1. @@ -4044,12 +4050,14 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(21 node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(211,26): error TS2339: Property 'title' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(212,22): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(215,30): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(222,15): error TS2403: Subsequent variable declarations must have the same type. Variable 'args' must be of type 'any[]', but here has type 'any[]'. +node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(222,15): error TS2403: Subsequent variable declarations must have the same type. Variable 'args' must be of type 'string[]', but here has type 'any[]'. +node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(233,15): error TS2403: Subsequent variable declarations must have the same type. Variable 'args' must be of type 'string[]', but here has type 'any[]'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(241,26): error TS2339: Property 'createTextChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(244,28): error TS2339: Property 'createTextChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(244,60): error TS2339: Property 'localizedFailDescription' does not exist on type 'NetworkRequest'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(246,28): error TS2339: Property 'createTextChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(249,34): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'. +node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(267,11): error TS2403: Subsequent variable declarations must have the same type. Variable 'args' must be of type 'string[]', but here has type 'any[]'. node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(304,62): error TS2345: Argument of type '{ maxLength: any; }' is not assignable to parameter of type '{ text: string; className: string; lineNumber: number; columnNumber: number; preventClick: boolean; maxLength: number; }'. Type '{ maxLength: any; }' is missing the following properties from type '{ text: string; className: string; lineNumber: number; columnNumber: number; preventClick: boolean; maxLength: number; }': text, className, lineNumber, columnNumber, preventClick node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(304,82): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'. @@ -4314,6 +4322,8 @@ node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(470 node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(489,56): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(50,72): error TS2345: Argument of type 'ContentProvider' is not assignable to parameter of type 'K'. 'ContentProvider' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(51,22): error TS2339: Property 'removeDecorationsForType' does not exist on type 'V'. +node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(52,22): error TS2339: Property 'addLineDecoration' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(115,49): error TS2345: Argument of type 'ContentProvider' is not assignable to parameter of type 'K'. 'ContentProvider' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(169,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'location' must be of type 'Location', but here has type 'CSSLocation'. @@ -4330,9 +4340,9 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(18, node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(19,34): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(21,23): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(29,23): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(38,52): error TS2345: Argument of type '({ id: string; title: any; width: string; fixedWidth: boolean; sortable: boolean; align?: undefined; sort?: undefined; } | { id: string; title: any; width: string; fixedWidth: boolean; sortable: boolean; align: string; sort?: undefined; } | { ...; })[]' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }[]'. - Type '{ id: string; title: any; width: string; fixedWidth: boolean; sortable: boolean; align?: undefined; sort?: undefined; } | { id: string; title: any; width: string; fixedWidth: boolean; sortable: boolean; align: string; sort?: undefined; } | { ...; }' is not assignable to type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. - Type '{ id: string; title: any; width: string; fixedWidth: boolean; sortable: boolean; align?: undefined; sort?: undefined; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, editable, nonSelectable, longText, and 2 more. +node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(38,52): error TS2345: Argument of type '({ id: string; title: string; width: string; fixedWidth: boolean; sortable: boolean; align?: undefined; sort?: undefined; } | { id: string; title: string; width: string; fixedWidth: boolean; sortable: boolean; align: string; sort?: undefined; } | { ...; })[]' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }[]'. + Type '{ id: string; title: string; width: string; fixedWidth: boolean; sortable: boolean; align?: undefined; sort?: undefined; } | { id: string; title: string; width: string; fixedWidth: boolean; sortable: boolean; align: string; sort?: undefined; } | { ...; }' is not assignable to type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. + Type '{ id: string; title: string; width: string; fixedWidth: boolean; sortable: boolean; align?: undefined; sort?: undefined; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, editable, nonSelectable, longText, and 2 more. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(112,11): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(206,25): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(208,25): error TS2555: Expected at least 2 arguments, but got 1. @@ -4568,6 +4578,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1722,13): node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1736,37): error TS2339: Property 'children' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1741,33): error TS2339: Property 'children' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1756,24): error TS2339: Property 'revealed' does not exist on type 'NODE_TYPE'. +node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1764,7): error TS2322: Type 'NODE_TYPE' is not assignable to type 'this'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1764,43): error TS2345: Argument of type 'this' is not assignable to parameter of type 'NODE_TYPE'. 'this' is assignable to the constraint of type 'NODE_TYPE', but 'NODE_TYPE' could be instantiated with a different subtype of constraint '{}'. Type 'DataGridNode' is not assignable to type 'NODE_TYPE'. @@ -4576,6 +4587,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1779,26): node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1784,26): error TS2339: Property '_detach' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1792,19): error TS2339: Property 'revealed' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1793,17): error TS2339: Property '_attach' does not exist on type 'NODE_TYPE'. +node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1810,7): error TS2322: Type 'NODE_TYPE' is not assignable to type 'this'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1810,43): error TS2345: Argument of type 'this' is not assignable to parameter of type 'NODE_TYPE'. 'this' is assignable to the constraint of type 'NODE_TYPE', but 'NODE_TYPE' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1818,48): error TS2339: Property '_isRoot' does not exist on type 'NODE_TYPE'. @@ -5062,6 +5074,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js( Types of parameters 'onfulfilled' and 'onfulfilled' are incompatible. Types of parameters 'value' and 'value' are incompatible. Property 'computedStyle' is missing in type 'CSSMatchedStyles' but required in type 'ComputedStyle'. +node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(91,34): error TS2339: Property 'spread' does not exist on type 'Promise<[any, any, any, any, any, any, any, any, any, any]>'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(147,52): error TS2339: Property 'keysArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(179,50): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(200,74): error TS2339: Property 'consume' does not exist on type 'Event'. @@ -5932,6 +5945,7 @@ node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(47 node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(542,14): error TS2339: Property '_extensionOrigin' does not exist on type 'MessagePort'. node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(570,9): error TS2345: Argument of type '{ key: any; code: any; keyCode: any; location: any; ctrlKey: any; altKey: any; shiftKey: any; metaKey: any; }' is not assignable to parameter of type 'KeyboardEventInit'. Object literal may only specify known properties, and 'keyCode' does not exist in type 'KeyboardEventInit'. +node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(577,13): error TS2551: Property '__keyCode' does not exist on type 'KeyboardEvent'. Did you mean 'keyCode'? node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(599,76): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(603,9): error TS2345: Argument of type 'symbol' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/extensions/ExtensionServer.js(649,10): error TS2555: Expected at least 2 arguments, but got 1. @@ -7067,56 +7081,56 @@ node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(531,31): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(645,19): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(646,22): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(651,5): error TS2322: Type '{ id: string; title: any; subtitle: any; visible: true; weight: number; hideable: false; nonSelectable: false; alwaysVisible: boolean; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is not assignable to type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }'. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(651,5): error TS2322: Type '{ id: string; title: string; subtitle: string; visible: true; weight: number; hideable: false; nonSelectable: false; alwaysVisible: boolean; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is not assignable to type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }'. Object literal may only specify known properties, and 'alwaysVisible' does not exist in type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }'. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(654,3): error TS2740: Type '{ id: string; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(654,3): error TS2740: Type '{ id: string; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(656,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(659,3): error TS2740: Type '{ id: string; title: any; visible: true; subtitle: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, weight, hideable, nonSelectable, and 4 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(659,3): error TS2740: Type '{ id: string; title: string; visible: true; subtitle: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, weight, hideable, nonSelectable, and 4 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(661,19): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(663,22): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(666,3): error TS2740: Type '{ id: string; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(666,3): error TS2740: Type '{ id: string; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(668,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(671,3): error TS2740: Type '{ id: string; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(671,3): error TS2740: Type '{ id: string; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(673,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(676,3): error TS2740: Type '{ id: string; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(676,3): error TS2740: Type '{ id: string; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(678,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(681,3): error TS2740: Type '{ id: string; title: any; weight: number; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, hideable, and 4 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(681,3): error TS2740: Type '{ id: string; title: string; weight: number; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, hideable, and 4 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(683,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(688,3): error TS2740: Type '{ id: string; title: any; visible: true; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, weight, hideable, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(688,3): error TS2740: Type '{ id: string; title: string; visible: true; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, weight, hideable, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(690,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(694,3): error TS2740: Type '{ id: string; title: any; visible: true; weight: number; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, hideable, nonSelectable, and 4 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(694,3): error TS2740: Type '{ id: string; title: string; visible: true; weight: number; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, hideable, nonSelectable, and 4 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(696,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(701,3): error TS2740: Type '{ id: string; title: any; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(701,3): error TS2740: Type '{ id: string; title: string; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(703,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(707,3): error TS2740: Type '{ id: string; title: any; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(707,3): error TS2740: Type '{ id: string; title: string; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(709,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(713,3): error TS2740: Type '{ id: string; title: any; visible: true; subtitle: any; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, weight, hideable, nonSelectable, and 3 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(713,3): error TS2740: Type '{ id: string; title: string; visible: true; subtitle: string; align: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, weight, hideable, nonSelectable, and 3 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(715,19): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(717,22): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(721,3): error TS2740: Type '{ id: string; title: any; visible: true; subtitle: any; align: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, weight, hideable, nonSelectable, and 3 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(721,3): error TS2740: Type '{ id: string; title: string; visible: true; subtitle: string; align: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, weight, hideable, nonSelectable, and 3 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(723,19): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(725,22): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(729,3): error TS2740: Type '{ id: string; title: any; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(729,3): error TS2740: Type '{ id: string; title: string; sortingFunction: (a: NetworkNode, b: NetworkNode) => number; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(731,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(734,3): error TS2740: Type '{ id: string; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(734,3): error TS2740: Type '{ id: string; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 6 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(736,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(739,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(739,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(742,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(745,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(745,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(748,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(751,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(751,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(754,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(757,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; align: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 4 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(757,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; align: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 4 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(760,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(764,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(764,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(767,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(770,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(770,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(773,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(776,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(776,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(779,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(782,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(782,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(785,19): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(788,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: any; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. +node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(788,3): error TS2740: Type '{ id: string; isResponseHeader: true; title: string; sortingFunction: any; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, visible, weight, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(791,19): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogViewColumns.js(795,3): error TS2740: Type '{ id: string; title: string; visible: false; hideable: false; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; subtitle: string; visible: boolean; weight: number; hideable: boolean; nonSelectable: boolean; sortable: boolean; align: string; isResponseHeader: boolean; sortingFunction: (arg0: NetworkNode, arg1: NetworkNode) => number; isCustomHeader: boolean; }': titleDOMFragment, subtitle, weight, nonSelectable, and 5 more. node_modules/chrome-devtools-frontend/front_end/network/NetworkManageCustomHeadersView.js(22,25): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -7289,11 +7303,11 @@ node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameVi node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(100,53): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(111,39): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(158,58): error TS2339: Property 'value' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(230,3): error TS2741: Property 'title' is missing in type '{ name: string; label: any; }' but required in type '{ name: string; label: string; title: string; }'. +node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(230,3): error TS2741: Property 'title' is missing in type '{ name: string; label: string; }' but required in type '{ name: string; label: string; title: string; }'. node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(230,31): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(231,3): error TS2741: Property 'title' is missing in type '{ name: string; label: any; }' but required in type '{ name: string; label: string; title: string; }'. +node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(231,3): error TS2741: Property 'title' is missing in type '{ name: string; label: string; }' but required in type '{ name: string; label: string; title: string; }'. node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(231,32): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(232,3): error TS2741: Property 'title' is missing in type '{ name: string; label: any; }' but required in type '{ name: string; label: string; title: string; }'. +node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(232,3): error TS2741: Property 'title' is missing in type '{ name: string; label: string; }' but required in type '{ name: string; label: string; title: string; }'. node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(232,35): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(250,14): error TS2339: Property 'createTextChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/network/ResourceWebSocketFrameView.js(251,14): error TS2339: Property 'title' does not exist on type 'Element'. @@ -7750,6 +7764,8 @@ node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.j node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(267,17): error TS2304: Cannot find name 'FileEntry'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(278,17): error TS2304: Cannot find name 'FileError'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(317,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. +node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(344,16): error TS2345: Argument of type 'string | ArrayBuffer' is not assignable to parameter of type 'string'. + Type 'ArrayBuffer' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(344,31): error TS2345: Argument of type 'string | ArrayBuffer' is not assignable to parameter of type 'string'. Type 'ArrayBuffer' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(357,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -7801,6 +7817,7 @@ node_modules/chrome-devtools-frontend/front_end/persistence/Persistence.js(341,5 'UISourceCode' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/persistence/Persistence.js(343,74): error TS2345: Argument of type 'UISourceCode' is not assignable to parameter of type 'K'. 'UISourceCode' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/persistence/Persistence.js(345,16): error TS2339: Property 'call' does not exist on type 'V'. node_modules/chrome-devtools-frontend/front_end/persistence/PersistenceActions.js(30,51): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/persistence/PersistenceActions.js(34,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/persistence/PersistenceActions.js(39,51): error TS2555: Expected at least 2 arguments, but got 1. @@ -8432,8 +8449,6 @@ node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(131, node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(133,15): error TS2339: Property '_populated' does not exist on type 'ProfileDataGridNode | ProfileDataGridTree'. Property '_populated' does not exist on type 'ProfileDataGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(135,15): error TS2339: Property 'populateChildren' does not exist on type 'ProfileDataGridNode | ProfileDataGridTree'. -node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(140,17): error TS2349: This expression is not callable. - Each member of the union type '((comparator: (arg0: T, arg1: T) => any, force: boolean) => any) | ((comparator: (arg0: T, arg1: T) => any, force: boolean) => void)' has signatures, but none of those signatures are compatible with each other. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(153,49): error TS2339: Property '_searchMatchedSelfColumn' does not exist on type 'ProfileDataGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(158,49): error TS2339: Property '_searchMatchedTotalColumn' does not exist on type 'ProfileDataGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(163,49): error TS2339: Property '_searchMatchedFunctionColumn' does not exist on type 'ProfileDataGridNode'. @@ -8489,8 +8504,8 @@ node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(20,7): e Object literal may only specify known properties, and 'width' does not exist in type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(25,67): error TS2345: Argument of type '{ id: string; title: string; width: string; fixedWidth: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. Object literal may only specify known properties, and 'width' does not exist in type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. -node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(26,18): error TS2345: Argument of type '{ id: string; title: any; disclosure: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. - Type '{ id: string; title: any; disclosure: true; sortable: true; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, sort, align, fixedWidth, and 4 more. +node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(26,18): error TS2345: Argument of type '{ id: string; title: string; disclosure: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. + Type '{ id: string; title: string; disclosure: true; sortable: true; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, sort, align, fixedWidth, and 4 more. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(26,49): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(35,52): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(39,54): error TS2555: Expected at least 2 arguments, but got 1. @@ -8814,7 +8829,7 @@ node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(125, node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(128,67): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(130,40): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(148,47): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(148,79): error TS2345: Argument of type '{ id: string; title: any; sortable: false; width: string; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. +node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(148,79): error TS2345: Argument of type '{ id: string; title: string; sortable: false; width: string; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. Object literal may only specify known properties, and 'width' does not exist in type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(150,9): error TS2345: Argument of type '{ id: string; titleDOMFragment: DocumentFragment; sortable: false; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. Type '{ id: string; titleDOMFragment: DocumentFragment; sortable: false; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': title, sort, align, fixedWidth, and 5 more. @@ -8822,8 +8837,8 @@ node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(150, node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(152,20): error TS2345: Argument of type '{ id: string; titleDOMFragment: DocumentFragment; sortable: false; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. Type '{ id: string; titleDOMFragment: DocumentFragment; sortable: false; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': title, sort, align, fixedWidth, and 5 more. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(154,64): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(158,18): error TS2345: Argument of type '{ id: string; title: any; sortable: false; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. - Type '{ id: string; title: any; sortable: false; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, sort, align, fixedWidth, and 5 more. +node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(158,18): error TS2345: Argument of type '{ id: string; title: string; sortable: false; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. + Type '{ id: string; title: string; sortable: false; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, sort, align, fixedWidth, and 5 more. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(158,46): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(174,29): error TS2339: Property 'createTextChild' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(178,29): error TS2339: Property 'createTextChild' does not exist on type 'DocumentFragment'. @@ -8894,6 +8909,8 @@ node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js( node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(324,12): error TS2339: Property 'type' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(329,54): error TS2345: Argument of type '{ lineNumbers: boolean; lineWrapping: boolean; autoHeight: boolean; padBottom: boolean; mimeType: string; }' is not assignable to parameter of type '{ bracketMatchingSetting: Setting; lineNumbers: boolean; lineWrapping: boolean; mimeType: string; autoHeight: boolean; padBottom: boolean; maxHighlightLength: number; placeholder: string; }'. Type '{ lineNumbers: boolean; lineWrapping: boolean; autoHeight: boolean; padBottom: boolean; mimeType: string; }' is missing the following properties from type '{ bracketMatchingSetting: Setting; lineNumbers: boolean; lineWrapping: boolean; mimeType: string; autoHeight: boolean; padBottom: boolean; maxHighlightLength: number; placeholder: string; }': bracketMatchingSetting, maxHighlightLength, placeholder +node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(332,13): error TS2339: Property 'key' does not exist on type 'Event'. +node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(333,11): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(343,66): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(344,21): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(346,45): error TS2555: Expected at least 2 arguments, but got 1. @@ -9858,8 +9875,10 @@ node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(85,41): 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(86,46): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(86,63): error TS2339: Property 'valuesArray' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(87,51): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(87,68): error TS2339: Property 'valuesArray' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(141,49): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(146,44): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. @@ -10483,6 +10502,8 @@ node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(194,22) node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(212,22): error TS2339: Property 'updateTitle' does not exist on type 'NavigatorTreeNode'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(283,55): error TS2345: Argument of type 'UISourceCode' is not assignable to parameter of type 'K'. 'UISourceCode' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(283,88): error TS2339: Property 'frame' does not exist on type 'V'. +node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(284,34): error TS2345: Argument of type 'V' is not assignable to parameter of type 'NavigatorUISourceCodeTreeNode'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(336,33): error TS2345: Argument of type 'UISourceCode' is not assignable to parameter of type 'K'. 'UISourceCode' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(388,58): error TS2339: Property 'reverse' does not exist on type 'string'. @@ -10653,6 +10674,7 @@ node_modules/chrome-devtools-frontend/front_end/sources/SourcesSearchScope.js(16 node_modules/chrome-devtools-frontend/front_end/sources/SourcesSearchScope.js(183,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sources/SourcesSearchScope.js(257,29): error TS2339: Property 'mergeOrdered' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/sources/SourcesView.js(38,50): error TS2339: Property 'createChild' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/sources/SourcesView.js(83,7): error TS2322: Type 'string' is not assignable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/sources/SourcesView.js(83,34): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesView.js(101,56): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesView.js(102,58): error TS2555: Expected at least 2 arguments, but got 1. @@ -10784,6 +10806,7 @@ node_modules/chrome-devtools-frontend/front_end/sources_test_runner/BreakpointMa node_modules/chrome-devtools-frontend/front_end/sources_test_runner/BreakpointManagerTestRunner.js(257,10): error TS2304: Cannot find name 'uiSourceCode'. node_modules/chrome-devtools-frontend/front_end/sources_test_runner/BreakpointManagerTestRunner.js(317,7): error TS2345: Argument of type '{ get: () => any; set: (breakpoints: any) => void; }' is not assignable to parameter of type 'Setting'. Type '{ get: () => any; set: (breakpoints: any) => void; }' is missing the following properties from type 'Setting': _settings, _name, _defaultValue, _eventSupport, and 15 more. +node_modules/chrome-devtools-frontend/front_end/sources_test_runner/BreakpointManagerTestRunner.js(318,21): error TS2339: Property 'defaultMapping' does not exist on type 'BreakpointManager'. node_modules/chrome-devtools-frontend/front_end/sources_test_runner/BreakpointManagerTestRunner.js(333,12): error TS2339: Property 'setBreakpointCallback' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/sources_test_runner/DebuggerTestRunner.js(125,28): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/sources_test_runner/DebuggerTestRunner.js(170,17): error TS2339: Property 'sources' does not exist on type 'any[]'. @@ -11010,6 +11033,9 @@ node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(856,13): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(863,27): error TS2345: Argument of type 'number' is not assignable to parameter of type 'K'. 'number' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(863,47): error TS2345: Argument of type '(decoration: { element: Element; widget: LineWidget; update: () => any; }) => void' is not assignable to parameter of type '(value: V, value2: V, set: Set) => void'. + Types of parameters 'decoration' and 'value' are incompatible. + Type 'V' is not assignable to type '{ element: Element; widget: LineWidget; update: () => any; }'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(879,27): error TS2345: Argument of type 'number' is not assignable to parameter of type 'K'. 'number' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/text_editor/CodeMirrorTextEditor.js(889,32): error TS2345: Argument of type 'number' is not assignable to parameter of type 'K'. @@ -11127,7 +11153,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(438,24 node_modules/chrome-devtools-frontend/front_end/timeline/CountersGraph.js(563,19): error TS2339: Property 'preciseMillisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/EventsTimelineTreeView.js(63,32): error TS2339: Property 'peekLast' does not exist on type 'IterableIterator[]'. node_modules/chrome-devtools-frontend/front_end/timeline/EventsTimelineTreeView.js(95,41): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/timeline/EventsTimelineTreeView.js(95,65): error TS2345: Argument of type '{ id: string; title: any; width: string; fixedWidth: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. +node_modules/chrome-devtools-frontend/front_end/timeline/EventsTimelineTreeView.js(95,65): error TS2345: Argument of type '{ id: string; title: string; width: string; fixedWidth: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. Object literal may only specify known properties, and 'width' does not exist in type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. node_modules/chrome-devtools-frontend/front_end/timeline/EventsTimelineTreeView.js(97,54): error TS2339: Property 'width' does not exist on type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. node_modules/chrome-devtools-frontend/front_end/timeline/EventsTimelineTreeView.js(158,80): error TS2555: Expected at least 2 arguments, but got 1. @@ -11271,7 +11297,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartNetwo node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartNetworkDataProvider.js(309,87): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartNetworkDataProvider.js(313,69): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartNetworkDataProvider.js(360,56): error TS2339: Property 'peekLast' does not exist on type 'number[]'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartNetworkDataProvider.js(372,10): error TS2322: Type '{ startLevel: number; name: any; expanded: boolean; style: { padding: number; height: number; collapsible: boolean; color: string; font: string; backgroundColor: string; nestingLevel: number; useFirstLineForOverview: boolean; useDecoratorsForOverview: boolean; shareHeaderLine: boolean; }; }' is not assignable to type '{ name: string; startLevel: number; expanded: boolean; style: { height: number; padding: number; collapsible: boolean; font: string; color: string; backgroundColor: string; nestingLevel: number; itemsHeight: number; shareHeaderLine: boolean; useFirstLineForOverview: boolean; useDecoratorsForOverview: boolean; }; }'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartNetworkDataProvider.js(372,10): error TS2322: Type '{ startLevel: number; name: string; expanded: boolean; style: { padding: number; height: number; collapsible: boolean; color: string; font: string; backgroundColor: string; nestingLevel: number; useFirstLineForOverview: boolean; useDecoratorsForOverview: boolean; shareHeaderLine: boolean; }; }' is not assignable to type '{ name: string; startLevel: number; expanded: boolean; style: { height: number; padding: number; collapsible: boolean; font: string; color: string; backgroundColor: string; nestingLevel: number; itemsHeight: number; shareHeaderLine: boolean; useFirstLineForOverview: boolean; useDecoratorsForOverview: boolean; }; }'. Types of property 'style' are incompatible. Property 'itemsHeight' is missing in type '{ padding: number; height: number; collapsible: boolean; color: string; font: string; backgroundColor: string; nestingLevel: number; useFirstLineForOverview: boolean; useDecoratorsForOverview: boolean; shareHeaderLine: boolean; }' but required in type '{ height: number; padding: number; collapsible: boolean; font: string; color: string; backgroundColor: string; nestingLevel: number; itemsHeight: number; shareHeaderLine: boolean; useFirstLineForOverview: boolean; useDecoratorsForOverview: boolean; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartNetworkDataProvider.js(391,64): error TS2339: Property 'constrain' does not exist on type 'NumberConstructor'. @@ -11302,6 +11328,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager. Type 'T' is not assignable to type 'PerformanceModel'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(289,17): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(319,48): error TS2339: Property 'boxInWindow' does not exist on type 'Element'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(321,31): error TS2339: Property 'focus' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(331,29): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(342,23): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(351,19): error TS2339: Property 'key' does not exist on type 'Event'. @@ -11381,13 +11408,13 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(134 node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(162,76): error TS2339: Property 'value' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(173,59): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(289,45): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(289,68): error TS2345: Argument of type '{ id: string; title: any; width: string; fixedWidth: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(289,68): error TS2345: Argument of type '{ id: string; title: string; width: string; fixedWidth: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. Object literal may only specify known properties, and 'width' does not exist in type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(290,46): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(290,70): error TS2345: Argument of type '{ id: string; title: any; width: string; fixedWidth: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(290,70): error TS2345: Argument of type '{ id: string; title: string; width: string; fixedWidth: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. Object literal may only specify known properties, and 'width' does not exist in type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(291,18): error TS2345: Argument of type '{ id: string; title: any; disclosure: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. - Type '{ id: string; title: any; disclosure: true; sortable: true; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, sort, align, fixedWidth, and 4 more. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(291,18): error TS2345: Argument of type '{ id: string; title: string; disclosure: true; sortable: true; }' is not assignable to parameter of type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }'. + Type '{ id: string; title: string; disclosure: true; sortable: true; }' is missing the following properties from type '{ id: string; title: string; titleDOMFragment: DocumentFragment; sortable: boolean; sort: string; align: string; fixedWidth: boolean; editable: boolean; nonSelectable: boolean; longText: boolean; disclosure: boolean; weight: number; }': titleDOMFragment, sort, align, fixedWidth, and 4 more. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(291,49): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(372,31): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(375,44): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -11402,8 +11429,7 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(712 node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(717,9): error TS2741: Property 'icon' is missing in type '{ name: string; color: string; }' but required in type '{ name: string; color: string; icon: Element; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(727,9): error TS2741: Property 'icon' is missing in type '{ name: string; color: string; }' but required in type '{ name: string; color: string; icon: Element; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(731,20): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(733,9): error TS2741: Property 'icon' is missing in type '{ name: any; color: string; }' but required in type '{ name: string; color: string; icon: Element; }'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(743,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'name' must be of type 'any', but here has type 'string'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(733,9): error TS2741: Property 'icon' is missing in type '{ name: string; color: string; }' but required in type '{ name: string; color: string; icon: Element; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(753,98): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(754,9): error TS2741: Property 'icon' is missing in type '{ name: any; color: string; }' but required in type '{ name: string; color: string; icon: Element; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(759,5): error TS2741: Property 'icon' is missing in type '{ name: string; color: string; }' but required in type '{ name: string; color: string; icon: Element; }'. @@ -11415,8 +11441,8 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(774 node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(775,22): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(776,22): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(777,22): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(779,61): error TS2345: Argument of type '{ label: any; value: string; }[]' is not assignable to parameter of type '{ value: string; label: string; title: string; default: boolean; }[]'. - Type '{ label: any; value: string; }' is missing the following properties from type '{ value: string; label: string; title: string; default: boolean; }': title, default +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(779,61): error TS2345: Argument of type '{ label: string; value: string; }[]' is not assignable to parameter of type '{ value: string; label: string; title: string; default: boolean; }[]'. + Type '{ label: string; value: string; }' is missing the following properties from type '{ value: string; label: string; title: string; default: boolean; }': title, default node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(781,84): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(871,25): error TS2339: Property 'asParsedURL' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(896,25): error TS2339: Property 'asParsedURL' does not exist on type 'string'. @@ -12230,10 +12256,13 @@ node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(119,27): error node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(133,24): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/ui/SettingsUI.js(155,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(26,83): error TS2339: Property 'valuesArray' does not exist on type 'Set'. +node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(34,5): error TS2322: Type 'Set' is not assignable to type 'Set'. + Type 'V' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(34,42): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(42,46): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. +node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(42,56): error TS2339: Property 'valuesArray' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(88,15): error TS2339: Property 'consume' does not exist on type 'KeyboardEvent'. node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(94,15): error TS2339: Property 'consume' does not exist on type 'KeyboardEvent'. node_modules/chrome-devtools-frontend/front_end/ui/ShortcutRegistry.js(147,39): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. @@ -12874,6 +12903,8 @@ node_modules/chrome-devtools-frontend/front_end/workspace/UISourceCode.js(557,33 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/workspace/UISourceCode.js(567,5): error TS2322: Type 'V[]' is not assignable to type 'LineMarker[]'. Type 'V' is not assignable to type 'LineMarker'. +node_modules/chrome-devtools-frontend/front_end/workspace/UISourceCode.js(584,5): error TS2322: Type 'Set' is not assignable to type 'Set'. + Type 'V' is not assignable to type 'LineMarker'. node_modules/chrome-devtools-frontend/front_end/workspace/UISourceCode.js(584,54): error TS2345: Argument of type 'string' is not assignable to parameter of type 'K'. 'string' is assignable to the constraint of type 'K', but 'K' could be instantiated with a different subtype of constraint '{}'. node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(37,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. diff --git a/tests/baselines/reference/user/create-react-app.log b/tests/baselines/reference/user/create-react-app.log index d2ccce82e6a10..3394f11fac602 100644 --- a/tests/baselines/reference/user/create-react-app.log +++ b/tests/baselines/reference/user/create-react-app.log @@ -4,6 +4,8 @@ test/fixtures/issue-5176-flow-class-properties/src/App.js(5,8): error TS8010: Ty test/fixtures/issue-5176-flow-class-properties/src/App.js(5,13): error TS1005: ';' expected. test/fixtures/webpack-message-formatting/src/AppBabel.js(6,8): error TS17008: JSX element 'div' has no corresponding closing tag. test/fixtures/webpack-message-formatting/src/AppBabel.js(8,7): error TS17002: Expected corresponding JSX closing tag for 'span'. +test/fixtures/webpack-message-formatting/src/AppBabel.js(10,3): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`? +test/fixtures/webpack-message-formatting/src/AppBabel.js(11,1): error TS1381: Unexpected token. Did you mean `{'}'}` or `}`? test/fixtures/webpack-message-formatting/src/AppBabel.js(14,1): error TS1005: ' any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/config.js(135,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(136,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(137,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. @@ -167,6 +169,8 @@ node_modules/npm/lib/config/core.js(208,24): error TS2339: Property 'list' does node_modules/npm/lib/config/core.js(237,21): error TS2339: Property 'sources' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(245,17): error TS2339: Property 'emit' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(279,8): error TS2339: Property '_saving' does not exist on type 'Conf'. +node_modules/npm/lib/config/core.js(288,39): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/config/core.js(307,8): error TS2339: Property 'sources' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(308,8): error TS2339: Property 'push' does not exist on type 'Conf'. node_modules/npm/lib/config/core.js(309,8): error TS2339: Property '_await' does not exist on type 'Conf'. @@ -237,6 +241,8 @@ node_modules/npm/lib/config/pacote.js(84,31): error TS2339: Property 'config' do node_modules/npm/lib/config/pacote.js(89,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config/pacote.js(90,38): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config/pacote.js(110,60): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/set-user.js(22,18): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/dedupe.js(35,32): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/dedupe.js(37,11): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/dedupe.js(38,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. @@ -387,6 +393,8 @@ node_modules/npm/lib/install.js(948,8): error TS2454: Variable 'previousPath' is node_modules/npm/lib/install.js(985,53): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install.js(1007,53): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/access-error.js(4,60): error TS2554: Expected 0-1 arguments, but got 2. +node_modules/npm/lib/install/access-error.js(5,12): error TS2339: Property 'code' does not exist on type 'Error'. +node_modules/npm/lib/install/access-error.js(6,12): error TS2339: Property 'path' does not exist on type 'Error'. node_modules/npm/lib/install/action/build.js(10,50): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/action/extract.js(39,40): error TS2339: Property 'limit' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/action/extract.js(81,9): error TS2322: Type 'string' is not assignable to type 'any[]'. @@ -397,6 +405,8 @@ node_modules/npm/lib/install/action/global-link.js(7,7): error TS2339: Property node_modules/npm/lib/install/action/refresh-package-json.js(31,43): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/action/remove.js(25,37): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/action/remove.js(25,51): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/remove.js(55,49): error TS2345: Argument of type '(mkdirEr: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(mkdirEr: any) => void' has no properties in common with type 'Options'. node_modules/npm/lib/install/actions.js(126,24): error TS2339: Property 'limit' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/actions.js(168,16): error TS2769: No overload matches this call. The last overload gave the following error. @@ -720,6 +730,8 @@ node_modules/npm/lib/search/all-package-metadata.js(33,30): error TS2339: Proper node_modules/npm/lib/search/all-package-metadata.js(36,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/all-package-metadata.js(146,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/all-package-metadata.js(239,20): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/all-package-metadata.js(241,22): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/search/esearch.js(15,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/esearch.js(35,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/format-package-stream.js(130,31): error TS2339: Property 'fd' does not exist on type 'WriteStream'. @@ -788,6 +800,8 @@ node_modules/npm/lib/unpublish.js(97,70): error TS2339: Property 'registry' does node_modules/npm/lib/update.js(10,41): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/update.js(17,25): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/update.js(25,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/file-completion.js(11,15): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/utils/completion/installed-deep.js(9,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-deep.js(12,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-deep.js(16,23): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. @@ -799,6 +813,12 @@ node_modules/npm/lib/utils/completion/installed-shallow.js(22,11): error TS2339: node_modules/npm/lib/utils/completion/installed-shallow.js(57,28): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-shallow.js(66,23): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/completion/installed-shallow.js(79,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/correct-mkdir.js(74,25): error TS2345: Argument of type '(er: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any) => any' has no properties in common with type 'Options'. Did you mean to call it? +node_modules/npm/lib/utils/correct-mkdir.js(89,18): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? +node_modules/npm/lib/utils/correct-mkdir.js(103,20): error TS2345: Argument of type '(er: any, made: any) => any' is not assignable to parameter of type 'string | number | Options | undefined'. + Value of type '(er: any, made: any) => any' has no properties in common with type 'Options'. Did you mean to call it? node_modules/npm/lib/utils/error-handler.js(12,21): error TS2339: Property 'rollbacks' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(23,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(29,16): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. @@ -1063,6 +1083,8 @@ node_modules/npm/test/tap/404-private-registry.js(1,20): error TS2307: Cannot fi node_modules/npm/test/tap/404-private-registry.js(6,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/access.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/access.js(7,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/access.js(19,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/add-named-update-protocol-port.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/add-named-update-protocol-port.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/add-remote-git-file.js(10,20): error TS2307: Cannot find module 'tap'. @@ -1084,6 +1106,8 @@ node_modules/npm/test/tap/adduser-always-auth.js(4,18): error TS2307: Cannot fin node_modules/npm/test/tap/adduser-always-auth.js(6,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/adduser-legacy-auth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/adduser-legacy-auth.js(7,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/adduser-legacy-auth.js(45,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/adduser-oauth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/adduser-oauth.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/adduser-saml.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. @@ -1174,6 +1198,7 @@ node_modules/npm/test/tap/config-builtin.js(61,13): error TS2531: Object is poss node_modules/npm/test/tap/config-certfile.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-credentials.js(1,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-edit.js(6,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/config-edit.js(27,25): error TS2554: Expected 1-2 arguments, but got 3. node_modules/npm/test/tap/config-envReplace.js(6,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-list.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/config-malformed.js(1,20): error TS2307: Cannot find module 'tap'. @@ -1208,6 +1233,8 @@ node_modules/npm/test/tap/deprecate.js(1,18): error TS2307: Cannot find module ' node_modules/npm/test/tap/deprecate.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/dist-tag.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/dist-tag.js(7,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/dist-tag.js(49,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/do-not-remove-other-bins.js(8,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/doctor.js(5,20): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/doctor.js(9,23): error TS2307: Cannot find module 'tacks'. @@ -1491,6 +1518,12 @@ node_modules/npm/test/tap/owner.js(2,20): error TS2307: Cannot find module 'tap' node_modules/npm/test/tap/pack-files-and-ignores.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/pack-files-and-ignores.js(12,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/pack-scoped.js(2,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/pack-scoped.js(24,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/pack-scoped.js(25,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/pack-scoped.js(26,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/pack.js(5,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/peer-deps.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/peer-deps.js(8,20): error TS2307: Cannot find module 'tap'. @@ -1514,10 +1547,22 @@ node_modules/npm/test/tap/pick-manifest-from-registry-metadata.js(137,11): error node_modules/npm/test/tap/ping.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/ping.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/prepare.js(3,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/prepare.js(16,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepare.js(17,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepare.js(18,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/prepublish-only.js(4,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/prepublish-only.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/prepublish-only.js(6,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/prepublish.js(3,20): error TS2307: Cannot find module 'tap'. +node_modules/npm/test/tap/prepublish.js(16,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepublish.js(17,17): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. +node_modules/npm/test/tap/prepublish.js(18,15): error TS2345: Argument of type '(er: any) => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '(er: any) => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/process-logger.js(2,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/process-logger.js(7,61): error TS2554: Expected 1-3 arguments, but got 4. node_modules/npm/test/tap/process-logger.js(8,37): error TS2769: No overload matches this call. @@ -1543,9 +1588,13 @@ node_modules/npm/test/tap/prune.js(5,18): error TS2307: Cannot find module 'npm- node_modules/npm/test/tap/prune.js(8,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-scoped.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-scoped.js(7,18): error TS2307: Cannot find module 'npm-registry-mock'. +node_modules/npm/test/tap/publish-access-scoped.js(31,35): error TS2345: Argument of type '() => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '() => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/publish-access-unscoped-restricted-fails.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-unscoped.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-access-unscoped.js(7,18): error TS2307: Cannot find module 'npm-registry-mock'. +node_modules/npm/test/tap/publish-access-unscoped.js(31,35): error TS2345: Argument of type '() => void' is not assignable to parameter of type 'string | number | Options | undefined'. + Type '() => void' has no properties in common with type 'Options'. node_modules/npm/test/tap/publish-config.js(4,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(8,18): error TS2307: Cannot find module 'npm-registry-mock'. diff --git a/tests/baselines/reference/user/puppeteer.log b/tests/baselines/reference/user/puppeteer.log index 83f720a6fcc89..16eeeaa6d75de 100644 --- a/tests/baselines/reference/user/puppeteer.log +++ b/tests/baselines/reference/user/puppeteer.log @@ -53,6 +53,8 @@ lib/Page.js(93,33): error TS2345: Argument of type 'CDPSession' is not assignabl Type 'T' is not assignable to type 'symbol'. Type 'string | number | symbol' is not assignable to type 'symbol'. Type 'string' is not assignable to type 'symbol'. +lib/Page.js(94,42): error TS2345: Argument of type 'Worker' is not assignable to parameter of type 'Worker'. + Type 'Worker' is missing the following properties from type 'Worker': onmessage, postMessage, terminate, addEventListener, and 3 more. lib/Page.js(142,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(217,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(385,20): error TS2503: Cannot find namespace 'Protocol'. @@ -70,7 +72,7 @@ lib/Page.js(1352,15): error TS2503: Cannot find namespace 'Protocol'. lib/Target.js(23,15): error TS2503: Cannot find namespace 'Protocol'. lib/Target.js(87,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'. Type 'Worker | Worker' is not assignable to type 'Worker'. - Type 'Worker' is missing the following properties from type 'Worker': onmessage, postMessage, terminate, addEventListener, and 3 more. + Type 'Worker' is not assignable to type 'Worker'. Two different types with this name exist, but they are unrelated. lib/Target.js(135,15): error TS2503: Cannot find namespace 'Protocol'. lib/WebSocketTransport.js(32,72): error TS2345: Argument of type 'import("/puppeteer/puppeteer/node_modules/@types/ws/index")' is not assignable to parameter of type 'WebSocket'. Property 'dispatchEvent' is missing in type 'import("/puppeteer/puppeteer/node_modules/@types/ws/index")' but required in type 'WebSocket'. diff --git a/tests/baselines/reference/user/uglify-js.log b/tests/baselines/reference/user/uglify-js.log index cee210e47b94c..ba84268829962 100644 --- a/tests/baselines/reference/user/uglify-js.log +++ b/tests/baselines/reference/user/uglify-js.log @@ -12,6 +12,11 @@ node_modules/uglify-js/lib/ast.js(988,29): error TS2339: Property 'parent' does node_modules/uglify-js/lib/compress.js(188,42): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(536,41): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(876,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(881,12): error TS2339: Property 'defun_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(882,12): error TS2339: Property 'defun_visited' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(884,12): error TS2339: Property 'in_loop' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(885,12): error TS2339: Property 'loop_ids' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(890,12): error TS2339: Property 'safe_ids' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/compress.js(1141,38): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. node_modules/uglify-js/lib/compress.js(1156,51): error TS2349: This expression is not callable. Not all constituents of type 'true | ((node: any, tw: any) => any)' are callable. @@ -46,6 +51,7 @@ node_modules/uglify-js/lib/compress.js(3355,33): error TS2532: Object is possibl node_modules/uglify-js/lib/compress.js(3762,38): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(3788,29): error TS2322: Type '"f"' is not assignable to type 'boolean'. node_modules/uglify-js/lib/compress.js(3921,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(3922,74): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/compress.js(3974,29): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(3992,29): error TS2339: Property 'parent' does not exist on type 'TreeTransformer'. node_modules/uglify-js/lib/compress.js(4107,63): error TS2554: Expected 0 arguments, but got 1. @@ -57,9 +63,13 @@ node_modules/uglify-js/lib/compress.js(4449,32): error TS2554: Expected 0 argume node_modules/uglify-js/lib/compress.js(4688,17): error TS2447: The '|=' operator is not allowed for boolean types. Consider using '||' instead. node_modules/uglify-js/lib/compress.js(4756,45): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(4867,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(4869,55): error TS2339: Property 'loopcontrol_target' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(4873,56): error TS2339: Property 'push' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/compress.js(4874,12): error TS2339: Property 'push' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/compress.js(4959,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. node_modules/uglify-js/lib/compress.js(4974,21): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. node_modules/uglify-js/lib/compress.js(5085,33): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(5087,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/compress.js(5235,17): error TS2403: Subsequent variable declarations must have the same type. Variable 'body' must be of type 'any[]', but here has type 'any'. node_modules/uglify-js/lib/compress.js(5328,37): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(5584,57): error TS2345: Argument of type 'any[]' is not assignable to parameter of type '[string | RegExp, (string | undefined)?]'. @@ -74,6 +84,7 @@ node_modules/uglify-js/lib/compress.js(6945,47): error TS2554: Expected 0 argume node_modules/uglify-js/lib/compress.js(7026,39): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(7098,39): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/compress.js(7104,41): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/compress.js(7107,41): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/compress.js(7665,43): error TS2454: Variable 'property' is used before being assigned. node_modules/uglify-js/lib/compress.js(7680,25): error TS2403: Subsequent variable declarations must have the same type. Variable 'value' must be of type 'number', but here has type 'any'. node_modules/uglify-js/lib/compress.js(7683,46): error TS2339: Property 'has_side_effects' does not exist on type 'number'. @@ -82,6 +93,8 @@ node_modules/uglify-js/lib/compress.js(7722,34): error TS2554: Expected 0 argume node_modules/uglify-js/lib/minify.js(186,75): error TS2339: Property 'compress' does not exist on type 'Compressor'. node_modules/uglify-js/lib/mozilla-ast.js(566,33): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/output.js(459,37): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/output.js(460,33): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. +node_modules/uglify-js/lib/output.js(475,16): error TS2339: Property 'push' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/output.js(749,38): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/output.js(1151,44): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/output.js(1433,58): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. @@ -120,8 +133,10 @@ node_modules/uglify-js/lib/scope.js(89,21): error TS2339: Property 'defun' does node_modules/uglify-js/lib/scope.js(89,35): error TS2339: Property 'defun' does not exist on type 'SymbolDef'. node_modules/uglify-js/lib/scope.js(103,29): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/scope.js(158,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(165,38): error TS2339: Property 'parent' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/scope.js(193,47): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/scope.js(418,29): error TS2554: Expected 0 arguments, but got 1. +node_modules/uglify-js/lib/scope.js(431,49): error TS2339: Property 'has_directive' does not exist on type 'TreeWalker'. node_modules/uglify-js/lib/scope.js(486,30): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/scope.js(511,30): error TS2554: Expected 0 arguments, but got 1. node_modules/uglify-js/lib/sourcemap.js(55,25): error TS2304: Cannot find name 'MOZ_SourceMap'. diff --git a/tests/cases/user/ts-toolbelt/package.json b/tests/cases/user/ts-toolbelt/package.json index d066aeec2d688..5c03b2a121931 100644 --- a/tests/cases/user/ts-toolbelt/package.json +++ b/tests/cases/user/ts-toolbelt/package.json @@ -4,7 +4,7 @@ "description": "", "author": "", "license": "Apache-2.0", - "repository": { + "repository": { "type": "git", "url": "https://github.com/pirix-gh/ts-toolbelt" },