From f1d5bc283f054c86b01d82ab9a267f8ab5a7708f Mon Sep 17 00:00:00 2001 From: Jack Bates Date: Sat, 2 Nov 2019 14:18:51 -0700 Subject: [PATCH] Defer generic awaited type --- src/compiler/checker.ts | 102 +----- src/harness/fourslashInterface.ts | 3 +- src/lib/es5.d.ts | 5 + ...syncArrowFunctionCapturesThis_es2017.types | 6 +- .../asyncArrowFunctionCapturesThis_es5.types | 6 +- .../asyncArrowFunctionCapturesThis_es6.types | 6 +- .../reference/asyncFunctionReturnType.js | 5 +- .../reference/asyncFunctionReturnType.symbols | 4 +- .../reference/asyncFunctionReturnType.types | 5 +- ...erConstrainedByLiteralToLiteral.errors.txt | 1 + ...WithNoRelationshipTypeParameter.errors.txt | 112 +++++++ .../reference/forAwaitForUnion.types | 2 +- .../reference/mappedTypesArraysTuples.js | 2 - .../reference/mappedTypesArraysTuples.symbols | 199 ++++++----- .../reference/mappedTypesArraysTuples.types | 3 - .../reference/promisePermutations.errors.txt | 2 +- .../reference/promisePermutations2.errors.txt | 2 +- .../reference/promisePermutations3.errors.txt | 4 +- .../reference/promiseTypeInference.errors.txt | 4 +- .../reference/unionTypeInference.types | 8 +- .../reference/user/TypeScript-Vue-Starter.log | 9 + .../user/TypeScript-WeChat-Starter.log | 18 +- .../user/chrome-devtools-frontend.log | 314 +----------------- tests/baselines/reference/user/puppeteer.log | 187 +---------- tests/baselines/reference/user/webpack.log | 4 - .../cases/compiler/asyncFunctionReturnType.ts | 4 +- .../types/mapped/mappedTypesArraysTuples.ts | 1 - 27 files changed, 295 insertions(+), 723 deletions(-) create mode 100644 tests/baselines/reference/user/TypeScript-Vue-Starter.log diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index 3f550efce4051..f2c0b2529e34e 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -800,6 +800,7 @@ namespace ts { let deferredGlobalESSymbolConstructorSymbol: Symbol | undefined; let deferredGlobalESSymbolType: ObjectType; let deferredGlobalTypedPropertyDescriptorType: GenericType; + let deferredGlobalAwaitedSymbol: Symbol | undefined; let deferredGlobalPromiseType: GenericType; let deferredGlobalPromiseLikeType: GenericType; let deferredGlobalPromiseConstructorSymbol: Symbol | undefined; @@ -853,7 +854,6 @@ namespace ts { const flowNodeReachable: (boolean | undefined)[] = []; const potentialThisCollisions: Node[] = []; const potentialNewTargetCollisions: Node[] = []; - const awaitedTypeStack: number[] = []; const diagnostics = createDiagnosticCollection(); const suggestionDiagnostics = createDiagnosticCollection(); @@ -11070,6 +11070,10 @@ namespace ts { return deferredGlobalESSymbolType || (deferredGlobalESSymbolType = getGlobalType("Symbol" as __String, /*arity*/ 0, reportErrors)) || emptyObjectType; } + function getGlobalAwaitedSymbol(reportErrors: boolean) { + return deferredGlobalAwaitedSymbol || (deferredGlobalAwaitedSymbol = getGlobalTypeSymbol("Awaited" as __String, reportErrors)); + } + function getGlobalPromiseType(reportErrors: boolean) { return deferredGlobalPromiseType || (deferredGlobalPromiseType = getGlobalType("Promise" as __String, /*arity*/ 1, reportErrors)) || emptyGenericType; } @@ -29013,98 +29017,22 @@ namespace ts { return typeAsAwaitable.awaitedTypeOfType = type; } - if (type.flags & TypeFlags.Union) { - let types: Type[] | undefined; - for (const constituentType of (type).types) { - types = append(types, getAwaitedType(constituentType, errorNode, diagnosticMessage, arg0)); - } - - if (!types) { - return undefined; - } - - return typeAsAwaitable.awaitedTypeOfType = getUnionType(types); + const symbol = getGlobalAwaitedSymbol(/*reportErrors*/ false); + if (!symbol) { + return typeAsAwaitable.awaitedTypeOfType = type; } - const promisedType = getPromisedTypeOfPromise(type); - if (promisedType) { - if (type.id === promisedType.id || awaitedTypeStack.indexOf(promisedType.id) >= 0) { - // Verify that we don't have a bad actor in the form of a promise whose - // promised type is the same as the promise type, or a mutually recursive - // promise. If so, we return undefined as we cannot guess the shape. If this - // were the actual case in the JavaScript, this Promise would never resolve. - // - // An example of a bad actor with a singly-recursive promise type might - // be: - // - // interface BadPromise { - // then( - // onfulfilled: (value: BadPromise) => any, - // onrejected: (error: any) => any): BadPromise; - // } - // The above interface will pass the PromiseLike check, and return a - // promised type of `BadPromise`. Since this is a self reference, we - // don't want to keep recursing ad infinitum. - // - // An example of a bad actor in the form of a mutually-recursive - // promise type might be: - // - // interface BadPromiseA { - // then( - // onfulfilled: (value: BadPromiseB) => any, - // onrejected: (error: any) => any): BadPromiseB; - // } - // - // interface BadPromiseB { - // then( - // onfulfilled: (value: BadPromiseA) => any, - // onrejected: (error: any) => any): BadPromiseA; - // } - // - if (errorNode) { - error(errorNode, Diagnostics.Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method); - } - return undefined; - } - - // Keep track of the type we're about to unwrap to avoid bad recursive promise types. - // See the comments above for more information. - awaitedTypeStack.push(type.id); - const awaitedType = getAwaitedType(promisedType, errorNode, diagnosticMessage, arg0); - awaitedTypeStack.pop(); - - if (!awaitedType) { - return undefined; - } - - return typeAsAwaitable.awaitedTypeOfType = awaitedType; + const result = getTypeAliasInstantiation(symbol, [type]); + if (result !== unknownType || type === unknownType || getPromisedTypeOfPromise(type) === unknownType) { + return typeAsAwaitable.awaitedTypeOfType = (result as PromiseOrAwaitableType).awaitedTypeOfType = result; } - // The type was not a promise, so it could not be unwrapped any further. - // As long as the type does not have a callable "then" property, it is - // safe to return the type; otherwise, an error will be reported in - // the call to getNonThenableType and we will return undefined. - // - // An example of a non-promise "thenable" might be: - // - // await { then(): void {} } - // - // The "thenable" does not match the minimal definition for a promise. When - // a Promise/A+-compatible or ES6 promise tries to adopt this value, the promise - // will never settle. We treat this as an error to help flag an early indicator - // of a runtime problem. If the user wants to return this value from an async - // function, they would need to wrap it in some other value. If they want it to - // be treated as a promise, they can cast to . - const thenFunction = getTypeOfPropertyOfType(type, "then" as __String); - if (thenFunction && getSignaturesOfType(thenFunction, SignatureKind.Call).length > 0) { - if (errorNode) { - if (!diagnosticMessage) return Debug.fail(); - error(errorNode, diagnosticMessage, arg0); - } - return undefined; + if (errorNode) { + if (!diagnosticMessage) return Debug.fail(); + error(errorNode, diagnosticMessage, arg0); } - return typeAsAwaitable.awaitedTypeOfType = type; + return undefined; } /** diff --git a/src/harness/fourslashInterface.ts b/src/harness/fourslashInterface.ts index 8129fd373e441..b722e24d948c3 100644 --- a/src/harness/fourslashInterface.ts +++ b/src/harness/fourslashInterface.ts @@ -944,6 +944,7 @@ namespace FourSlashInterface { typeEntry("PropertyDecorator"), typeEntry("MethodDecorator"), typeEntry("ParameterDecorator"), + typeEntry("Awaited"), typeEntry("PromiseConstructorLike"), interfaceEntry("PromiseLike"), interfaceEntry("Promise"), @@ -1602,4 +1603,4 @@ namespace FourSlashInterface { readonly providePrefixAndSuffixTextForRename?: boolean; }; export type RenameLocationOptions = FourSlash.Range | { readonly range: FourSlash.Range, readonly prefixText?: string, readonly suffixText?: string }; -} \ No newline at end of file +} diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 8c11be587a10f..b23130df2751a 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1378,6 +1378,11 @@ declare type PropertyDecorator = (target: Object, propertyKey: string | symbol) declare type MethodDecorator = (target: Object, propertyKey: string | symbol, descriptor: TypedPropertyDescriptor) => TypedPropertyDescriptor | void; declare type ParameterDecorator = (target: Object, propertyKey: string | symbol, parameterIndex: number) => void; +// The undefined case is for strictNullChecks false, in which case +// undefined extends PromiseLike is true, which would otherwise +// make Awaited -> unknown. +type Awaited = T extends undefined ? T : T extends PromiseLike ? U : T extends { then(...args: any[]): any } ? unknown : T; + declare type PromiseConstructorLike = new (executor: (resolve: (value?: T | PromiseLike) => void, reject: (reason?: any) => void) => void) => PromiseLike; interface PromiseLike { diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.types b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.types index 57f59302bb5bc..93e3136c139b5 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.types +++ b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.types @@ -6,9 +6,9 @@ class C { >method : () => void var fn = async () => await this; ->fn : () => Promise ->async () => await this : () => Promise ->await this : this +>fn : () => Promise> +>async () => await this : () => Promise> +>await this : Awaited >this : this } } diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.types b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.types index da378ee2718f9..90f89654c0518 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.types +++ b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.types @@ -6,9 +6,9 @@ class C { >method : () => void var fn = async () => await this; ->fn : () => Promise ->async () => await this : () => Promise ->await this : this +>fn : () => Promise> +>async () => await this : () => Promise> +>await this : Awaited >this : this } } diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.types b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.types index 5386a956ada9a..3b77fc642e4a2 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.types +++ b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.types @@ -6,9 +6,9 @@ class C { >method : () => void var fn = async () => await this; ->fn : () => Promise ->async () => await this : () => Promise ->await this : this +>fn : () => Promise> +>async () => await this : () => Promise> +>await this : Awaited >this : this } } diff --git a/tests/baselines/reference/asyncFunctionReturnType.js b/tests/baselines/reference/asyncFunctionReturnType.js index 04b3a04a036d3..99d6b13c349ad 100644 --- a/tests/baselines/reference/asyncFunctionReturnType.js +++ b/tests/baselines/reference/asyncFunctionReturnType.js @@ -63,7 +63,7 @@ async function fGenericIndexedTypeForExplicitPromiseOfAnyProp( return Promise.resolve(obj.anyProp); } -async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise { +async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise> { return obj[key]; } @@ -73,7 +73,8 @@ async function fGenericIndexedTypeForPromiseOfKProp(obj: TObj, key: K): Promise { return Promise.resolve(obj[key]); -} +} + //// [asyncFunctionReturnType.js] var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { diff --git a/tests/baselines/reference/asyncFunctionReturnType.symbols b/tests/baselines/reference/asyncFunctionReturnType.symbols index 25a7e944c6a7a..cc930183d2210 100644 --- a/tests/baselines/reference/asyncFunctionReturnType.symbols +++ b/tests/baselines/reference/asyncFunctionReturnType.symbols @@ -221,7 +221,7 @@ async function fGenericIndexedTypeForExplicitPromiseOfAnyProp( >anyProp : Symbol(Obj.anyProp, Decl(asyncFunctionReturnType.ts, 12, 23)) } -async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise { +async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise> { >fGenericIndexedTypeForKProp : Symbol(fGenericIndexedTypeForKProp, Decl(asyncFunctionReturnType.ts, 62, 1)) >TObj : Symbol(TObj, Decl(asyncFunctionReturnType.ts, 64, 43)) >Obj : Symbol(Obj, Decl(asyncFunctionReturnType.ts, 8, 1)) @@ -232,6 +232,7 @@ async function fGenericIndexedTypeForKPropkey : Symbol(key, Decl(asyncFunctionReturnType.ts, 64, 93)) >K : Symbol(K, Decl(asyncFunctionReturnType.ts, 64, 60)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --)) +>Awaited : Symbol(Awaited, Decl(lib.es5.d.ts, --, --)) >TObj : Symbol(TObj, Decl(asyncFunctionReturnType.ts, 64, 43)) >K : Symbol(K, Decl(asyncFunctionReturnType.ts, 64, 60)) @@ -285,3 +286,4 @@ async function fGenericIndexedTypeForExplicitPromiseOfKPropobj : Symbol(obj, Decl(asyncFunctionReturnType.ts, 72, 100)) >key : Symbol(key, Decl(asyncFunctionReturnType.ts, 72, 110)) } + diff --git a/tests/baselines/reference/asyncFunctionReturnType.types b/tests/baselines/reference/asyncFunctionReturnType.types index d2cb63e0a35f3..dd45a4bf6345a 100644 --- a/tests/baselines/reference/asyncFunctionReturnType.types +++ b/tests/baselines/reference/asyncFunctionReturnType.types @@ -180,8 +180,8 @@ async function fGenericIndexedTypeForExplicitPromiseOfAnyProp( >anyProp : any } -async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise { ->fGenericIndexedTypeForKProp : (obj: TObj, key: K) => Promise +async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise> { +>fGenericIndexedTypeForKProp : (obj: TObj, key: K) => Promise> >obj : TObj >key : K @@ -220,3 +220,4 @@ async function fGenericIndexedTypeForExplicitPromiseOfKPropobj : TObj >key : K } + diff --git a/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.errors.txt b/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.errors.txt index aa8a0572e6be8..33c750d71b0a3 100644 --- a/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.errors.txt +++ b/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.errors.txt @@ -9,5 +9,6 @@ tests/cases/compiler/compareTypeParameterConstrainedByLiteralToLiteral.ts(5,5): t === "x"; // Should be error ~~~~~~~~~ !!! error TS2367: This condition will always return 'false' since the types 'T' and '"x"' have no overlap. +!!! related TS2773 tests/cases/compiler/compareTypeParameterConstrainedByLiteralToLiteral.ts:5:5: Did you forget to use 'await'? } \ No newline at end of file diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.errors.txt b/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.errors.txt index da497e03a2206..1c2cb3b1e6603 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.errors.txt +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.errors.txt @@ -161,359 +161,471 @@ tests/cases/conformance/expressions/binaryOperators/comparisonOperator/compariso var r1a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:22:16: Did you forget to use 'await'? var r1a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:23:16: Did you forget to use 'await'? var r1a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:24:16: Did you forget to use 'await'? var r1a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:25:16: Did you forget to use 'await'? var r1a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:26:16: Did you forget to use 'await'? var r1a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:27:16: Did you forget to use 'await'? var r1a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:28:16: Did you forget to use 'await'? var r1b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:30:16: Did you forget to use 'await'? var r1b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:31:16: Did you forget to use 'await'? var r1b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:32:16: Did you forget to use 'await'? var r1b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:33:16: Did you forget to use 'await'? var r1b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:34:16: Did you forget to use 'await'? var r1b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:35:16: Did you forget to use 'await'? var r1b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:36:16: Did you forget to use 'await'? // operator > var r2a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:39:16: Did you forget to use 'await'? var r2a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:40:16: Did you forget to use 'await'? var r2a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:41:16: Did you forget to use 'await'? var r2a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:42:16: Did you forget to use 'await'? var r2a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:43:16: Did you forget to use 'await'? var r2a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:44:16: Did you forget to use 'await'? var r2a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:45:16: Did you forget to use 'await'? var r2b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:47:16: Did you forget to use 'await'? var r2b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:48:16: Did you forget to use 'await'? var r2b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:49:16: Did you forget to use 'await'? var r2b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:50:16: Did you forget to use 'await'? var r2b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:51:16: Did you forget to use 'await'? var r2b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:52:16: Did you forget to use 'await'? var r2b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:53:16: Did you forget to use 'await'? // operator <= var r3a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:56:16: Did you forget to use 'await'? var r3a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:57:16: Did you forget to use 'await'? var r3a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:58:16: Did you forget to use 'await'? var r3a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:59:16: Did you forget to use 'await'? var r3a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:60:16: Did you forget to use 'await'? var r3a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:61:16: Did you forget to use 'await'? var r3a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:62:16: Did you forget to use 'await'? var r3b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:64:16: Did you forget to use 'await'? var r3b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:65:16: Did you forget to use 'await'? var r3b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:66:16: Did you forget to use 'await'? var r3b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:67:16: Did you forget to use 'await'? var r3b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:68:16: Did you forget to use 'await'? var r3b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:69:16: Did you forget to use 'await'? var r3b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:70:16: Did you forget to use 'await'? // operator >= var r4a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:73:16: Did you forget to use 'await'? var r4a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:74:16: Did you forget to use 'await'? var r4a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:75:16: Did you forget to use 'await'? var r4a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:76:16: Did you forget to use 'await'? var r4a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:77:16: Did you forget to use 'await'? var r4a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:78:16: Did you forget to use 'await'? var r4a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:79:16: Did you forget to use 'await'? var r4b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:81:16: Did you forget to use 'await'? var r4b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:82:16: Did you forget to use 'await'? var r4b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:83:16: Did you forget to use 'await'? var r4b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:84:16: Did you forget to use 'await'? var r4b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:85:16: Did you forget to use 'await'? var r4b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:86:16: Did you forget to use 'await'? var r4b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:87:16: Did you forget to use 'await'? // operator == var r5a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:90:16: Did you forget to use 'await'? var r5a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:91:16: Did you forget to use 'await'? var r5a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:92:16: Did you forget to use 'await'? var r5a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:93:16: Did you forget to use 'await'? var r5a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:94:16: Did you forget to use 'await'? var r5a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:95:16: Did you forget to use 'await'? var r5a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:96:16: Did you forget to use 'await'? var r5b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:98:16: Did you forget to use 'await'? var r5b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:99:16: Did you forget to use 'await'? var r5b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:100:16: Did you forget to use 'await'? var r5b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:101:16: Did you forget to use 'await'? var r5b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:102:16: Did you forget to use 'await'? var r5b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:103:16: Did you forget to use 'await'? var r5b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:104:16: Did you forget to use 'await'? // operator != var r6a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:107:16: Did you forget to use 'await'? var r6a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:108:16: Did you forget to use 'await'? var r6a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:109:16: Did you forget to use 'await'? var r6a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:110:16: Did you forget to use 'await'? var r6a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:111:16: Did you forget to use 'await'? var r6a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:112:16: Did you forget to use 'await'? var r6a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:113:16: Did you forget to use 'await'? var r6b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:115:16: Did you forget to use 'await'? var r6b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:116:16: Did you forget to use 'await'? var r6b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:117:16: Did you forget to use 'await'? var r6b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:118:16: Did you forget to use 'await'? var r6b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:119:16: Did you forget to use 'await'? var r6b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:120:16: Did you forget to use 'await'? var r6b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:121:16: Did you forget to use 'await'? // operator === var r7a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:124:16: Did you forget to use 'await'? var r7a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:125:16: Did you forget to use 'await'? var r7a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:126:16: Did you forget to use 'await'? var r7a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:127:16: Did you forget to use 'await'? var r7a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:128:16: Did you forget to use 'await'? var r7a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:129:16: Did you forget to use 'await'? var r7a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:130:16: Did you forget to use 'await'? var r7b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:132:16: Did you forget to use 'await'? var r7b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:133:16: Did you forget to use 'await'? var r7b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:134:16: Did you forget to use 'await'? var r7b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:135:16: Did you forget to use 'await'? var r7b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:136:16: Did you forget to use 'await'? var r7b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:137:16: Did you forget to use 'await'? var r7b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:138:16: Did you forget to use 'await'? // operator !== var r8a1 = t < a; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'boolean'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:141:16: Did you forget to use 'await'? var r8a2 = t < b; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'number'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:142:16: Did you forget to use 'await'? var r8a3 = t < c; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'string'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:143:16: Did you forget to use 'await'? var r8a4 = t < d; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'void'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:144:16: Did you forget to use 'await'? var r8a5 = t < e; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'E'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:145:16: Did you forget to use 'await'? var r8a6 = t < f; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and '{ a: string; }'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:146:16: Did you forget to use 'await'? var r8a7 = t < g; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'T' and 'any[]'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:147:16: Did you forget to use 'await'? var r8b1 = a < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'boolean' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:149:16: Did you forget to use 'await'? var r8b2 = b < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'number' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:150:16: Did you forget to use 'await'? var r8b3 = c < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'string' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:151:16: Did you forget to use 'await'? var r8b4 = d < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'void' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:152:16: Did you forget to use 'await'? var r8b5 = e < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'E' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:153:16: Did you forget to use 'await'? var r8b6 = f < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types '{ a: string; }' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:154:16: Did you forget to use 'await'? var r8b7 = g < t; ~~~~~ !!! error TS2365: Operator '<' cannot be applied to types 'any[]' and 'T'. +!!! related TS2773 tests/cases/conformance/expressions/binaryOperators/comparisonOperator/comparisonOperatorWithNoRelationshipTypeParameter.ts:155:16: Did you forget to use 'await'? } \ No newline at end of file diff --git a/tests/baselines/reference/forAwaitForUnion.types b/tests/baselines/reference/forAwaitForUnion.types index 180197b26eafc..db54e1d0e43f3 100644 --- a/tests/baselines/reference/forAwaitForUnion.types +++ b/tests/baselines/reference/forAwaitForUnion.types @@ -4,7 +4,7 @@ async function f(source: Iterable | AsyncIterable) { >source : Iterable | AsyncIterable for await (const x of source) { ->x : T +>x : T | Awaited >source : Iterable | AsyncIterable } } diff --git a/tests/baselines/reference/mappedTypesArraysTuples.js b/tests/baselines/reference/mappedTypesArraysTuples.js index 7bd4b03a6e54f..516cf6685e996 100644 --- a/tests/baselines/reference/mappedTypesArraysTuples.js +++ b/tests/baselines/reference/mappedTypesArraysTuples.js @@ -58,7 +58,6 @@ let y21 = nonpartial(x21); declare let x22: { a: number | undefined, b?: string[] }; let y22 = nonpartial(x22); -type Awaited = T extends PromiseLike ? U : T; type Awaitified = { [P in keyof T]: Awaited }; declare function all(...values: T): Promise>; @@ -189,7 +188,6 @@ declare let y22: { a: number; b: string[]; }; -declare type Awaited = T extends PromiseLike ? U : T; declare type Awaitified = { [P in keyof T]: Awaited; }; diff --git a/tests/baselines/reference/mappedTypesArraysTuples.symbols b/tests/baselines/reference/mappedTypesArraysTuples.symbols index 48a3979585c7e..ef4f4f36945ca 100644 --- a/tests/baselines/reference/mappedTypesArraysTuples.symbols +++ b/tests/baselines/reference/mappedTypesArraysTuples.symbols @@ -214,173 +214,164 @@ let y22 = nonpartial(x22); >nonpartial : Symbol(nonpartial, Decl(mappedTypesArraysTuples.ts, 46, 24)) >x22 : Symbol(x22, Decl(mappedTypesArraysTuples.ts, 56, 11)) -type Awaited = T extends PromiseLike ? U : T; ->Awaited : Symbol(Awaited, Decl(mappedTypesArraysTuples.ts, 57, 26)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 59, 13)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 59, 13)) ->PromiseLike : Symbol(PromiseLike, Decl(lib.es5.d.ts, --, --)) ->U : Symbol(U, Decl(mappedTypesArraysTuples.ts, 59, 45)) ->U : Symbol(U, Decl(mappedTypesArraysTuples.ts, 59, 45)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 59, 13)) - type Awaitified = { [P in keyof T]: Awaited }; ->Awaitified : Symbol(Awaitified, Decl(mappedTypesArraysTuples.ts, 59, 57)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 60, 16)) ->P : Symbol(P, Decl(mappedTypesArraysTuples.ts, 60, 24)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 60, 16)) ->Awaited : Symbol(Awaited, Decl(mappedTypesArraysTuples.ts, 57, 26)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 60, 16)) ->P : Symbol(P, Decl(mappedTypesArraysTuples.ts, 60, 24)) +>Awaitified : Symbol(Awaitified, Decl(mappedTypesArraysTuples.ts, 57, 26)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 59, 16)) +>P : Symbol(P, Decl(mappedTypesArraysTuples.ts, 59, 24)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 59, 16)) +>Awaited : Symbol(Awaited, Decl(lib.es5.d.ts, --, --)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 59, 16)) +>P : Symbol(P, Decl(mappedTypesArraysTuples.ts, 59, 24)) declare function all(...values: T): Promise>; ->all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 60, 55)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 62, 21)) ->values : Symbol(values, Decl(mappedTypesArraysTuples.ts, 62, 38)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 62, 21)) +>all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 59, 55)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 61, 21)) +>values : Symbol(values, Decl(mappedTypesArraysTuples.ts, 61, 38)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 61, 21)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --)) ->Awaitified : Symbol(Awaitified, Decl(mappedTypesArraysTuples.ts, 59, 57)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 62, 21)) +>Awaitified : Symbol(Awaitified, Decl(mappedTypesArraysTuples.ts, 57, 26)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 61, 21)) function f1(a: number, b: Promise, c: string[], d: Promise) { ->f1 : Symbol(f1, Decl(mappedTypesArraysTuples.ts, 62, 76)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 64, 12)) ->b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 64, 22)) +>f1 : Symbol(f1, Decl(mappedTypesArraysTuples.ts, 61, 76)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 63, 12)) +>b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 63, 22)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --)) ->c : Symbol(c, Decl(mappedTypesArraysTuples.ts, 64, 42)) ->d : Symbol(d, Decl(mappedTypesArraysTuples.ts, 64, 55)) +>c : Symbol(c, Decl(mappedTypesArraysTuples.ts, 63, 42)) +>d : Symbol(d, Decl(mappedTypesArraysTuples.ts, 63, 55)) >Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --)) let x1 = all(a); ->x1 : Symbol(x1, Decl(mappedTypesArraysTuples.ts, 65, 7)) ->all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 60, 55)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 64, 12)) +>x1 : Symbol(x1, Decl(mappedTypesArraysTuples.ts, 64, 7)) +>all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 59, 55)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 63, 12)) let x2 = all(a, b); ->x2 : Symbol(x2, Decl(mappedTypesArraysTuples.ts, 66, 7)) ->all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 60, 55)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 64, 12)) ->b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 64, 22)) +>x2 : Symbol(x2, Decl(mappedTypesArraysTuples.ts, 65, 7)) +>all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 59, 55)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 63, 12)) +>b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 63, 22)) let x3 = all(a, b, c); ->x3 : Symbol(x3, Decl(mappedTypesArraysTuples.ts, 67, 7)) ->all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 60, 55)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 64, 12)) ->b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 64, 22)) ->c : Symbol(c, Decl(mappedTypesArraysTuples.ts, 64, 42)) +>x3 : Symbol(x3, Decl(mappedTypesArraysTuples.ts, 66, 7)) +>all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 59, 55)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 63, 12)) +>b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 63, 22)) +>c : Symbol(c, Decl(mappedTypesArraysTuples.ts, 63, 42)) let x4 = all(a, b, c, d); ->x4 : Symbol(x4, Decl(mappedTypesArraysTuples.ts, 68, 7)) ->all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 60, 55)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 64, 12)) ->b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 64, 22)) ->c : Symbol(c, Decl(mappedTypesArraysTuples.ts, 64, 42)) ->d : Symbol(d, Decl(mappedTypesArraysTuples.ts, 64, 55)) +>x4 : Symbol(x4, Decl(mappedTypesArraysTuples.ts, 67, 7)) +>all : Symbol(all, Decl(mappedTypesArraysTuples.ts, 59, 55)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 63, 12)) +>b : Symbol(b, Decl(mappedTypesArraysTuples.ts, 63, 22)) +>c : Symbol(c, Decl(mappedTypesArraysTuples.ts, 63, 42)) +>d : Symbol(d, Decl(mappedTypesArraysTuples.ts, 63, 55)) } function f2(a: Boxified) { ->f2 : Symbol(f2, Decl(mappedTypesArraysTuples.ts, 69, 1)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 71, 12)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 71, 29)) +>f2 : Symbol(f2, Decl(mappedTypesArraysTuples.ts, 68, 1)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 70, 12)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 70, 29)) >Boxified : Symbol(Boxified, Decl(mappedTypesArraysTuples.ts, 0, 27)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 71, 12)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 70, 12)) let x: Box | undefined = a.pop(); ->x : Symbol(x, Decl(mappedTypesArraysTuples.ts, 72, 7)) +>x : Symbol(x, Decl(mappedTypesArraysTuples.ts, 71, 7)) >Box : Symbol(Box, Decl(mappedTypesArraysTuples.ts, 0, 0)) >a.pop : Symbol(Array.pop, Decl(lib.es5.d.ts, --, --)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 71, 29)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 70, 29)) >pop : Symbol(Array.pop, Decl(lib.es5.d.ts, --, --)) let y: Box[] = a.concat(a); ->y : Symbol(y, Decl(mappedTypesArraysTuples.ts, 73, 7)) +>y : Symbol(y, Decl(mappedTypesArraysTuples.ts, 72, 7)) >Box : Symbol(Box, Decl(mappedTypesArraysTuples.ts, 0, 0)) >a.concat : Symbol(Array.concat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 71, 29)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 70, 29)) >concat : Symbol(Array.concat, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 71, 29)) +>a : Symbol(a, Decl(mappedTypesArraysTuples.ts, 70, 29)) } // Repro from #26163 type ElementType = T extends Array ? U : never; ->ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 74, 1)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 78, 17)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 78, 17)) +>ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 73, 1)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 77, 17)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 77, 17)) >Array : Symbol(Array, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) ->U : Symbol(U, Decl(mappedTypesArraysTuples.ts, 78, 43)) ->U : Symbol(U, Decl(mappedTypesArraysTuples.ts, 78, 43)) +>U : Symbol(U, Decl(mappedTypesArraysTuples.ts, 77, 43)) +>U : Symbol(U, Decl(mappedTypesArraysTuples.ts, 77, 43)) type Mapped = { [K in keyof T]: T[K] }; ->Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 79, 12)) ->K : Symbol(K, Decl(mappedTypesArraysTuples.ts, 79, 20)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 79, 12)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 79, 12)) ->K : Symbol(K, Decl(mappedTypesArraysTuples.ts, 79, 20)) +>Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 77, 59)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 78, 12)) +>K : Symbol(K, Decl(mappedTypesArraysTuples.ts, 78, 20)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 78, 12)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 78, 12)) +>K : Symbol(K, Decl(mappedTypesArraysTuples.ts, 78, 20)) type F = ElementType>; ->F : Symbol(F, Decl(mappedTypesArraysTuples.ts, 79, 42)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 81, 7)) ->ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 74, 1)) ->Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 81, 7)) +>F : Symbol(F, Decl(mappedTypesArraysTuples.ts, 78, 42)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 80, 7)) +>ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 73, 1)) +>Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 77, 59)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 80, 7)) type R1 = F<[string, number, boolean]>; // string | number | boolean ->R1 : Symbol(R1, Decl(mappedTypesArraysTuples.ts, 81, 35)) ->F : Symbol(F, Decl(mappedTypesArraysTuples.ts, 79, 42)) +>R1 : Symbol(R1, Decl(mappedTypesArraysTuples.ts, 80, 35)) +>F : Symbol(F, Decl(mappedTypesArraysTuples.ts, 78, 42)) type R2 = ElementType>; // string | number | boolean ->R2 : Symbol(R2, Decl(mappedTypesArraysTuples.ts, 82, 39)) ->ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 74, 1)) ->Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59)) +>R2 : Symbol(R2, Decl(mappedTypesArraysTuples.ts, 81, 39)) +>ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 73, 1)) +>Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 77, 59)) // Repro from #26163 declare function acceptArray(arr: any[]): void; ->acceptArray : Symbol(acceptArray, Decl(mappedTypesArraysTuples.ts, 83, 57)) ->arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 87, 29)) +>acceptArray : Symbol(acceptArray, Decl(mappedTypesArraysTuples.ts, 82, 57)) +>arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 86, 29)) declare function mapArray(arr: T): Mapped; ->mapArray : Symbol(mapArray, Decl(mappedTypesArraysTuples.ts, 87, 47)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 88, 26)) ->arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 88, 43)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 88, 26)) ->Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 88, 26)) +>mapArray : Symbol(mapArray, Decl(mappedTypesArraysTuples.ts, 86, 47)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 87, 26)) +>arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 87, 43)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 87, 26)) +>Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 77, 59)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 87, 26)) function acceptMappedArray(arr: T) { ->acceptMappedArray : Symbol(acceptMappedArray, Decl(mappedTypesArraysTuples.ts, 88, 62)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 89, 27)) ->arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 89, 44)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 89, 27)) +>acceptMappedArray : Symbol(acceptMappedArray, Decl(mappedTypesArraysTuples.ts, 87, 62)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 88, 27)) +>arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 88, 44)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 88, 27)) acceptArray(mapArray(arr)); ->acceptArray : Symbol(acceptArray, Decl(mappedTypesArraysTuples.ts, 83, 57)) ->mapArray : Symbol(mapArray, Decl(mappedTypesArraysTuples.ts, 87, 47)) ->arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 89, 44)) +>acceptArray : Symbol(acceptArray, Decl(mappedTypesArraysTuples.ts, 82, 57)) +>mapArray : Symbol(mapArray, Decl(mappedTypesArraysTuples.ts, 86, 47)) +>arr : Symbol(arr, Decl(mappedTypesArraysTuples.ts, 88, 44)) } // Repro from #26163 type Unconstrained = ElementType>; ->Unconstrained : Symbol(Unconstrained, Decl(mappedTypesArraysTuples.ts, 91, 1)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 95, 19)) ->ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 74, 1)) ->Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 95, 19)) +>Unconstrained : Symbol(Unconstrained, Decl(mappedTypesArraysTuples.ts, 90, 1)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 94, 19)) +>ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 73, 1)) +>Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 77, 59)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 94, 19)) type T1 = Unconstrained<[string, number, boolean]>; // string | number | boolean ->T1 : Symbol(T1, Decl(mappedTypesArraysTuples.ts, 95, 47)) ->Unconstrained : Symbol(Unconstrained, Decl(mappedTypesArraysTuples.ts, 91, 1)) +>T1 : Symbol(T1, Decl(mappedTypesArraysTuples.ts, 94, 47)) +>Unconstrained : Symbol(Unconstrained, Decl(mappedTypesArraysTuples.ts, 90, 1)) type Constrained = ElementType>; ->Constrained : Symbol(Constrained, Decl(mappedTypesArraysTuples.ts, 96, 51)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 98, 17)) ->ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 74, 1)) ->Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 78, 59)) ->T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 98, 17)) +>Constrained : Symbol(Constrained, Decl(mappedTypesArraysTuples.ts, 95, 51)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 97, 17)) +>ElementType : Symbol(ElementType, Decl(mappedTypesArraysTuples.ts, 73, 1)) +>Mapped : Symbol(Mapped, Decl(mappedTypesArraysTuples.ts, 77, 59)) +>T : Symbol(T, Decl(mappedTypesArraysTuples.ts, 97, 17)) type T2 = Constrained<[string, number, boolean]>; // string | number | boolean ->T2 : Symbol(T2, Decl(mappedTypesArraysTuples.ts, 98, 59)) ->Constrained : Symbol(Constrained, Decl(mappedTypesArraysTuples.ts, 96, 51)) +>T2 : Symbol(T2, Decl(mappedTypesArraysTuples.ts, 97, 59)) +>Constrained : Symbol(Constrained, Decl(mappedTypesArraysTuples.ts, 95, 51)) diff --git a/tests/baselines/reference/mappedTypesArraysTuples.types b/tests/baselines/reference/mappedTypesArraysTuples.types index 2ec00ad565e3e..62fdd252f24f3 100644 --- a/tests/baselines/reference/mappedTypesArraysTuples.types +++ b/tests/baselines/reference/mappedTypesArraysTuples.types @@ -152,9 +152,6 @@ let y22 = nonpartial(x22); >nonpartial : (x: Partial) => T >x22 : { a: number | undefined; b?: string[] | undefined; } -type Awaited = T extends PromiseLike ? U : T; ->Awaited : Awaited - type Awaitified = { [P in keyof T]: Awaited }; >Awaitified : Awaitified diff --git a/tests/baselines/reference/promisePermutations.errors.txt b/tests/baselines/reference/promisePermutations.errors.txt index 8b70977a0e5a2..2904b5f51b9f9 100644 --- a/tests/baselines/reference/promisePermutations.errors.txt +++ b/tests/baselines/reference/promisePermutations.errors.txt @@ -447,7 +447,7 @@ tests/cases/compiler/promisePermutations.ts(160,21): error TS2769: No overload m !!! error TS2769: The last overload gave the following error. !!! error TS2769: Argument of type '(x: any) => IPromise' is not assignable to parameter of type '(error: any) => Promise'. !!! error TS2769: Property 'catch' is missing in type 'IPromise' but required in type 'Promise'. -!!! related TS2728 /.ts/lib.es5.d.ts:1430:5: 'catch' is declared here. +!!! related TS2728 /.ts/lib.es5.d.ts:1435:5: 'catch' is declared here. !!! related TS2771 tests/cases/compiler/promisePermutations.ts:5:5: The last overload is declared here. var s10g = s10.then(testFunctionP, nIPromise, sIPromise).then(sPromise, sIPromise, sIPromise); // ok diff --git a/tests/baselines/reference/promisePermutations2.errors.txt b/tests/baselines/reference/promisePermutations2.errors.txt index bc676c9dd5e85..dcc5013532b5c 100644 --- a/tests/baselines/reference/promisePermutations2.errors.txt +++ b/tests/baselines/reference/promisePermutations2.errors.txt @@ -351,7 +351,7 @@ tests/cases/compiler/promisePermutations2.ts(159,21): error TS2345: Argument of ~~~~~~~~~ !!! error TS2345: Argument of type '(x: any) => IPromise' is not assignable to parameter of type '(error: any) => Promise'. !!! error TS2345: Property 'catch' is missing in type 'IPromise' but required in type 'Promise'. -!!! related TS2728 /.ts/lib.es5.d.ts:1430:5: 'catch' is declared here. +!!! related TS2728 /.ts/lib.es5.d.ts:1435:5: 'catch' is declared here. var s10g = s10.then(testFunctionP, nIPromise, sIPromise).then(sPromise, sIPromise, sIPromise); // ok var r11: IPromise; diff --git a/tests/baselines/reference/promisePermutations3.errors.txt b/tests/baselines/reference/promisePermutations3.errors.txt index 7467009abce93..c971cb35d64d6 100644 --- a/tests/baselines/reference/promisePermutations3.errors.txt +++ b/tests/baselines/reference/promisePermutations3.errors.txt @@ -398,7 +398,7 @@ tests/cases/compiler/promisePermutations3.ts(165,21): error TS2345: Argument of !!! error TS2769: The last overload gave the following error. !!! error TS2769: Argument of type '(x: any) => IPromise' is not assignable to parameter of type '(error: any) => Promise'. !!! error TS2769: Property 'catch' is missing in type 'IPromise' but required in type 'Promise'. -!!! related TS2728 /.ts/lib.es5.d.ts:1430:5: 'catch' is declared here. +!!! related TS2728 /.ts/lib.es5.d.ts:1435:5: 'catch' is declared here. !!! related TS2771 tests/cases/compiler/promisePermutations3.ts:7:5: The last overload is declared here. var s10g = s10.then(testFunctionP, nIPromise, sIPromise).then(sPromise, sIPromise, sIPromise); // ok @@ -445,5 +445,5 @@ tests/cases/compiler/promisePermutations3.ts(165,21): error TS2345: Argument of ~~~~~~~~~~~~~~~ !!! error TS2345: Argument of type '{ (x: T): IPromise; (x: T, y: T): Promise; }' is not assignable to parameter of type '(value: (x: any) => any) => Promise'. !!! error TS2345: Property 'catch' is missing in type 'IPromise' but required in type 'Promise'. -!!! related TS2728 /.ts/lib.es5.d.ts:1430:5: 'catch' is declared here. +!!! related TS2728 /.ts/lib.es5.d.ts:1435:5: 'catch' is declared here. var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok \ No newline at end of file diff --git a/tests/baselines/reference/promiseTypeInference.errors.txt b/tests/baselines/reference/promiseTypeInference.errors.txt index ada81bfb4962b..86dc5cdbd5f74 100644 --- a/tests/baselines/reference/promiseTypeInference.errors.txt +++ b/tests/baselines/reference/promiseTypeInference.errors.txt @@ -32,7 +32,7 @@ tests/cases/compiler/promiseTypeInference.ts(10,39): error TS2769: No overload m !!! error TS2769: Types of parameters 'success' and 'onfulfilled' are incompatible. !!! error TS2769: Type 'TResult1 | PromiseLike' is not assignable to type 'IPromise'. !!! error TS2769: Type 'TResult1' is not assignable to type 'IPromise'. -!!! related TS2728 /.ts/lib.es5.d.ts:1430:5: 'catch' is declared here. +!!! related TS2728 /.ts/lib.es5.d.ts:1435:5: 'catch' is declared here. !!! related TS6502 tests/cases/compiler/promiseTypeInference.ts:2:23: The expected type comes from the return type of this signature. -!!! related TS6502 /.ts/lib.es5.d.ts:1423:57: The expected type comes from the return type of this signature. +!!! related TS6502 /.ts/lib.es5.d.ts:1428:57: The expected type comes from the return type of this signature. \ No newline at end of file diff --git a/tests/baselines/reference/unionTypeInference.types b/tests/baselines/reference/unionTypeInference.types index b8107f3c04d0a..c86be843b5477 100644 --- a/tests/baselines/reference/unionTypeInference.types +++ b/tests/baselines/reference/unionTypeInference.types @@ -221,18 +221,18 @@ async function fun(deepPromised: DeepPromised) { >deepPromisedWithIndexer : DeepPromised<{ [name: string]: {} | null | undefined; }> const awaitedValue = await value; ->awaitedValue : {} | ({ [containsPromises]?: true | undefined; } & {}) | null | undefined ->await value : {} | ({ [containsPromises]?: true | undefined; } & {}) | null | undefined +>awaitedValue : {} | ({ [containsPromises]?: true | undefined; } & {}) | ({ [containsPromises]?: true | undefined; } & {}) | null | undefined +>await value : {} | ({ [containsPromises]?: true | undefined; } & {}) | ({ [containsPromises]?: true | undefined; } & {}) | null | undefined >value : {} | ({ [containsPromises]?: true | undefined; } & {}) | Promise<{ [containsPromises]?: true | undefined; } & {}> | null | undefined if (awaitedValue) ->awaitedValue : {} | ({ [containsPromises]?: true | undefined; } & {}) | null | undefined +>awaitedValue : {} | ({ [containsPromises]?: true | undefined; } & {}) | ({ [containsPromises]?: true | undefined; } & {}) | null | undefined await fun(awaitedValue); >await fun(awaitedValue) : void >fun(awaitedValue) : Promise >fun : (deepPromised: DeepPromised) => Promise ->awaitedValue : {} | ({ [containsPromises]?: true | undefined; } & {}) +>awaitedValue : {} | ({ [containsPromises]?: true | undefined; } & {}) | ({ [containsPromises]?: true | undefined; } & {}) } } diff --git a/tests/baselines/reference/user/TypeScript-Vue-Starter.log b/tests/baselines/reference/user/TypeScript-Vue-Starter.log new file mode 100644 index 0000000000000..99bf7df534e75 --- /dev/null +++ b/tests/baselines/reference/user/TypeScript-Vue-Starter.log @@ -0,0 +1,9 @@ +Exit Code: 1 +Standard output: +src/components/Hello.spec.ts(4,1): error TS2593: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.spec.ts(5,3): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.spec.ts(14,5): error TS2304: Cannot find name 'expect'. + + + +Standard error: diff --git a/tests/baselines/reference/user/TypeScript-WeChat-Starter.log b/tests/baselines/reference/user/TypeScript-WeChat-Starter.log index 98b22d956e64c..825eae70a538a 100644 --- a/tests/baselines/reference/user/TypeScript-WeChat-Starter.log +++ b/tests/baselines/reference/user/TypeScript-WeChat-Starter.log @@ -1,12 +1,16 @@ Exit Code: 1 Standard output: -../../../../../node_modules/@types/mocha/index.d.ts(2680,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'beforeEach' must be of type 'Lifecycle', but here has type 'HookFunction'. -../../../../../node_modules/@types/mocha/index.d.ts(2698,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'afterEach' must be of type 'Lifecycle', but here has type 'HookFunction'. -../../../../../node_modules/@types/mocha/index.d.ts(2714,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'describe' must be of type 'Describe', but here has type 'SuiteFunction'. -../../../../../node_modules/@types/mocha/index.d.ts(2735,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'xdescribe' must be of type 'Describe', but here has type 'PendingSuiteFunction'. -../../../../../node_modules/@types/mocha/index.d.ts(2749,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'it' must be of type 'It', but here has type 'TestFunction'. -../../../../../node_modules/@types/mocha/index.d.ts(2763,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'test' must be of type 'It', but here has type 'TestFunction'. -../../../../../node_modules/@types/mocha/index.d.ts(2770,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'xit' must be of type 'It', but here has type 'PendingTestFunction'. +src/App.test.tsx(5,1): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.test.tsx(5,1): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.test.tsx(7,3): error TS2304: Cannot find name 'expect'. +src/components/Hello.test.tsx(10,1): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.test.tsx(12,3): error TS2304: Cannot find name 'expect'. +src/components/Hello.test.tsx(15,1): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.test.tsx(17,3): error TS2304: Cannot find name 'expect'. +src/components/Hello.test.tsx(20,1): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.test.tsx(21,3): error TS2304: Cannot find name 'expect'. +src/components/Hello.test.tsx(26,1): error TS2593: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i @types/jest` or `npm i @types/mocha` and then add `jest` or `mocha` to the types field in your tsconfig. +src/components/Hello.test.tsx(27,3): error TS2304: Cannot find name 'expect'. diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 7165f268d6663..8f23925f45bd2 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -1,6 +1,6 @@ Exit Code: 1 Standard output: -../../../../built/local/lib.es5.d.ts(1433,11): error TS2300: Duplicate identifier 'ArrayLike'. +../../../../built/local/lib.es5.d.ts(1438,11): error TS2300: Duplicate identifier 'ArrayLike'. ../../../../node_modules/@types/node/globals.d.ts(235,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{}', but here has type 'NodeModule'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(43,8): error TS2339: Property '_importScriptPathPrefix' does not exist on type 'Window & typeof globalThis'. node_modules/chrome-devtools-frontend/front_end/Runtime.js(77,16): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -3088,9 +3088,6 @@ node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(66 node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(674,79): error TS2345: Argument of type 'this' is not assignable to parameter of type 'SDKModelObserver'. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(713,51): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(787,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(855,26): error TS2339: Property 'breakpointId' does not exist on type 'Promise<{ breakpointId: any; locations: Location[]; }>'. -node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(856,57): error TS2339: Property 'breakpointId' does not exist on type 'Promise<{ breakpointId: any; locations: Location[]; }>'. -node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(856,78): error TS2339: Property 'locations' does not exist on type 'Promise<{ breakpointId: any; locations: Location[]; }>'. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(862,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(863,24): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'. node_modules/chrome-devtools-frontend/front_end/bindings/BreakpointManager.js(889,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -3126,12 +3123,10 @@ node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js( '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. node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(54,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(59,16): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(93,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(134,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(180,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(209,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(251,28): error TS2339: Property 'length' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(26,52): error TS2345: Argument of type 'this' is not assignable to parameter of type 'SDKModelObserver'. Type 'DebuggerWorkspaceBinding' is not assignable to type 'SDKModelObserver'. Types of property 'modelAdded' are incompatible. @@ -3193,16 +3188,11 @@ node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.j node_modules/chrome-devtools-frontend/front_end/bindings/ResourceUtils.js(44,12): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/bindings/ResourceUtils.js(72,32): error TS2339: Property 'asParsedURL' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/bindings/SASSSourceMapping.js(161,17): error TS2339: Property 'pushAll' does not exist on type 'any[]'. -node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(274,38): error TS2345: Argument of type 'string | Promise' is not assignable to parameter of type 'string'. - Type 'Promise' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(283,65): error TS2345: Argument of type 'string | Promise' is not assignable to parameter of type 'string'. - Type 'Promise' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(307,26): error TS2339: Property 'firstValue' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(315,26): error TS2339: Property 'firstValue' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(323,26): error TS2339: Property 'firstValue' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(331,26): error TS2339: Property 'firstValue' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(342,26): error TS2339: Property 'firstValue' does not exist on type 'Set'. -node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(68,7): error TS2322: Type 'Promise' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(85,5): error TS2322: Type 'string | ArrayBuffer' is not assignable to type 'string'. Type 'ArrayBuffer' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(91,25): error TS2304: Cannot find name 'FileError'. @@ -3245,10 +3235,6 @@ node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFil node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(292,14): error TS2339: Property 'onwriteend' does not exist on type 'Writer'. node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(293,12): error TS2339: Property 'onwriteend' does not exist on type 'Writer'. node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/OverridesTestRunner.js(7,13): error TS1064: The return type of an async function or method must be the global Promise type. -node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/OverridesTestRunner.js(12,22): error TS2339: Property '_type' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/OverridesTestRunner.js(14,103): error TS2339: Property 'path' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/PersistenceTestRunner.js(78,54): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'UISourceCode'. - Type 'Promise' is missing the following properties from type 'UISourceCode': _project, _url, _origin, _parentURL, and 69 more. node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(47,11): error TS1345: An expression of type 'void' cannot be tested for truthiness node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(47,11): error TS1345: An expression of type 'void' cannot be tested for truthiness node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(47,47): error TS2339: Property 'blankLine' does not exist on type 'void'. @@ -3618,11 +3604,6 @@ node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(870,14) node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(881,37): error TS2339: Property 'catchException' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(918,37): error TS2339: Property 'keysArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(933,29): error TS2339: Property 'keysArray' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(940,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(944,17): error TS2339: Property 'toLowerCase' does not exist on type 'string | Promise'. - Property 'toLowerCase' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(945,28): error TS2339: Property 'match' does not exist on type 'string | Promise'. - Property 'match' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(1009,39): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(1016,41): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/common/Color.js(133,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'rgba' must be of type 'any', but here has type 'number[]'. @@ -3665,7 +3646,6 @@ node_modules/chrome-devtools-frontend/front_end/common/Object.js(153,15): error node_modules/chrome-devtools-frontend/front_end/common/Object.js(159,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/common/Object.js(172,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/common/OutputStream.js(13,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/common/OutputStream.js(31,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/common/ParsedURL.js(122,26): error TS2339: Property '_urlRegexInstance' does not exist on type 'typeof ParsedURL'. node_modules/chrome-devtools-frontend/front_end/common/ParsedURL.js(123,31): error TS2339: Property '_urlRegexInstance' does not exist on type 'typeof ParsedURL'. node_modules/chrome-devtools-frontend/front_end/common/ParsedURL.js(141,22): error TS2339: Property '_urlRegexInstance' does not exist on type 'typeof ParsedURL'. @@ -3688,7 +3668,6 @@ node_modules/chrome-devtools-frontend/front_end/common/Settings.js(534,18): erro node_modules/chrome-devtools-frontend/front_end/common/Settings.js(535,18): error TS2339: Property 'vertical' does not exist on type '{}'. node_modules/chrome-devtools-frontend/front_end/common/Settings.js(541,18): error TS2339: Property 'horizontal' does not exist on type '{}'. node_modules/chrome-devtools-frontend/front_end/common/Settings.js(542,18): error TS2339: Property 'horizontal' does not exist on type '{}'. -node_modules/chrome-devtools-frontend/front_end/common/StaticContentProvider.js(72,68): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(97,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(102,5): error TS2322: Type 'Timeout' is not assignable to type 'number'. node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(113,15): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -3858,9 +3837,6 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(83,43): node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(137,25): error TS2339: Property 'consume' does not exist on type 'KeyboardEvent'. node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(143,19): error TS2339: Property 'consume' does not exist on type 'KeyboardEvent'. node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(159,11): error TS2339: Property 'consume' does not exist on type 'KeyboardEvent'. -node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(175,35): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ scriptId: any; exceptionDetails: any; }>'. -node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(202,9): error TS2322: Type 'string | Promise' is not assignable to type 'string'. - Type 'Promise' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(206,19): error TS2339: Property 'ConsolePanel' does not exist on type '{ new (): Console; prototype: Console; }'. node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(236,5): error TS2322: Type '{ text: any; iconType: string; isSecondary: boolean; }[]' is not assignable to type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }[]'. Type '{ text: any; iconType: string; isSecondary: boolean; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, priority, title @@ -4273,9 +4249,6 @@ node_modules/chrome-devtools-frontend/front_end/console_counters/WarningErrorCou node_modules/chrome-devtools-frontend/front_end/console_counters/WarningErrorCounter.js(42,21): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/console_counters/WarningErrorCounter.js(58,5): error TS2322: Type 'number' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/console_counters/WarningErrorCounter.js(84,19): error TS2339: Property 'title' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(144,16): error TS2339: Property 'error' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(149,25): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(149,94): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(173,9): error TS2339: Property '_pageLoadSequenceNumber' does not exist on type 'ConsoleMessage'. node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(196,70): error TS2694: Namespace 'Protocol' has no exported member 'Log'. node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(263,105): error TS2339: Property 'context' does not exist on type '{ type: string; args: any[]; executionContextId: number; timestamp: number; stackTrace: any; }'. @@ -4342,8 +4315,6 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManag '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(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(124,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(128,66): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. 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'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(170,31): error TS2339: Property 'header' does not exist on type 'Location'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(179,31): error TS2339: Property 'styleSheetId' does not exist on type 'Location'. @@ -4362,8 +4333,6 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(38, 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(112,11): error TS2339: Property 'consume' does not exist on type 'Event'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(125,30): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(128,31): error TS2339: Property 'formattedSourceCode' does not exist on type 'Promise'. 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. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(210,25): error TS2555: Expected at least 2 arguments, but got 1. @@ -4377,11 +4346,7 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(285 node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(286,45): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(290,33): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(34,42): error TS2694: Namespace 'Protocol' has no exported member 'Profiler'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(125,44): error TS2339: Property 'concat' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(127,36): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'any[]'. - Type 'Promise' is missing the following properties from type 'any[]': length, pop, push, concat, and 28 more. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(131,31): error TS2694: Namespace 'Protocol' has no exported member 'Profiler'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(166,37): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'any[]'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(170,31): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(191,11): error TS2403: Subsequent variable declarations must have the same type. Variable 'entry' must be of type '[CSSStyleSheetHeader, { startOffset: number; endOffset: number; count: number; }[]]', but here has type 'CoverageInfo'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(197,5): error TS2322: Type '[CSSStyleSheetHeader, { startOffset: number; endOffset: number; count: number; }[]][]' is not assignable to type 'CoverageInfo[]'. @@ -4400,14 +4365,10 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(49,49): node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(50,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(53,56): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(57,54): error TS2339: Property 'createChild' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(140,23): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'CoverageInfo[]'. - Type 'Promise' is missing the following properties from type 'CoverageInfo[]': length, pop, push, concat, and 28 more. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(141,5): error TS2322: Type 'Timeout' is not assignable to type 'number'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(153,23): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'CoverageInfo[]'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(187,55): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(187,85): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(231,59): error TS1110: Type expected. -node_modules/chrome-devtools-frontend/front_end/coverage_test_runner/CoverageTestRunner.js(40,3): error TS2740: Type 'Promise' is missing the following properties from type 'SourceFrame': _lazyContent, _textEditor, _searchConfig, _delayedFindSearchMatches, and 137 more. node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(12,35): error TS2339: Property 'js_profiler' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(49,15): error TS2339: Property 'js_profiler' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(54,33): error TS2339: Property 'js_profiler' does not exist on type 'any[]'. @@ -5156,8 +5117,6 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(442,50 node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(477,19): error TS2339: Property 'parentElementOrShadowHost' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(481,5): error TS2741: Property 'hide' is missing in type '{ box: any; show: (popover: GlassPane) => Promise; }' but required in type '{ box: AnchorBox; show: (arg0: GlassPane) => Promise; hide: () => any; }'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(482,17): error TS2339: Property 'boxInWindow' does not exist on type 'EventTarget'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(490,46): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Node'. - Type 'Promise' is missing the following properties from type 'Node': baseURI, childNodes, firstChild, isConnected, and 47 more. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(497,52): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(497,82): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(505,15): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'. @@ -5330,9 +5289,6 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js( node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(524,5): error TS2741: Property 'hide' is missing in type '{ box: any; show: (popover: GlassPane) => Promise; }' but required in type '{ box: AnchorBox; show: (arg0: GlassPane) => Promise; hide: () => any; }'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(525,17): error TS2339: Property 'boxInWindow' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(527,29): error TS2339: Property 'enclosingNodeOrSelfWithNodeName' does not exist on type 'EventTarget'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(533,46): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Node'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(552,26): error TS2339: Property 'callFunctionJSONPromise' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(553,12): error TS2339: Property 'release' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(563,27): error TS2339: Property 'offsetWidth' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(564,28): error TS2339: Property 'offsetHeight' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(565,28): error TS2339: Property 'naturalWidth' does not exist on type 'Element'. @@ -5480,10 +5436,6 @@ node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(41 node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(438,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'section' must be of type 'StylePropertiesSection', but here has type 'any'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(441,27): error TS2339: Property 'focus' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(484,14): error TS2339: Property 'peekLast' does not exist on type 'SectionBlock[]'. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(499,43): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'CSSStyleSheetHeader'. - Type 'Promise' is missing the following properties from type 'CSSStyleSheetHeader': _cssModel, id, frameId, sourceURL, and 25 more. -node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(509,22): error TS2339: Property 'split' does not exist on type 'string | Promise'. - Property 'split' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(590,41): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(594,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/elements/StylesSidebarPane.js(595,56): error TS2555: Expected at least 2 arguments, but got 1. @@ -5707,10 +5659,7 @@ node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(86, node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(496,35): error TS2345: Argument of type 'string' is not assignable to parameter of type 'symbol'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(554,24): error TS2694: Namespace 'Protocol' has no exported member 'Emulation'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(633,24): error TS2694: Namespace 'Protocol' has no exported member 'Page'. -node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(652,35): error TS2339: Property 'contentWidth' does not exist on type 'Promise<{ viewportX: number; viewportY: number; viewportScale: number; contentWidth: number; contentHeight: number; }>'. -node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(653,36): error TS2339: Property 'contentHeight' does not exist on type 'Promise<{ viewportX: number; viewportY: number; viewportScale: number; contentWidth: number; contentHeight: number; }>'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(665,23): error TS2339: Property 'screenOrientation' does not exist on type '{ width: number; height: number; deviceScaleFactor: number; mobile: boolean; }'. -node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(683,5): error TS2322: Type 'Promise' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(712,18): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(713,25): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeModel.js(714,19): error TS2555: Expected at least 2 arguments, but got 1. @@ -5781,9 +5730,7 @@ node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(283, node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(396,14): error TS2339: Property 'width' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(397,14): error TS2339: Property 'height' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(398,24): error TS2339: Property 'getContext' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(419,39): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(423,24): error TS2694: Namespace 'Protocol' has no exported member 'Page'. -node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(432,39): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(443,14): error TS2339: Property 'width' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(444,14): error TS2339: Property 'height' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(445,24): error TS2339: Property 'getContext' does not exist on type 'Element'. @@ -5795,7 +5742,6 @@ node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(494, node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeView.js(500,22): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeWrapper.js(33,24): error TS2694: Namespace 'Protocol' has no exported member 'Page'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeWrapper.js(53,37): error TS2694: Namespace 'Protocol' has no exported member 'Page'. -node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeWrapper.js(109,39): error TS2339: Property 'callFunctionPromise' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeWrapper.js(120,45): error TS2694: Namespace 'Protocol' has no exported member 'Page'. node_modules/chrome-devtools-frontend/front_end/emulation/DevicesSettingsTab.js(15,31): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/emulation/DevicesSettingsTab.js(16,53): error TS2555: Expected at least 2 arguments, but got 1. @@ -6674,8 +6620,6 @@ node_modules/chrome-devtools-frontend/front_end/layer_viewer/Layers3DView.js(939 Type 'Tile' is missing the following properties from type 'PaintProfilerSnapshot': _paintProfilerModel, _id, _refCount, release, and 4 more. node_modules/chrome-devtools-frontend/front_end/layer_viewer/Layers3DView.js(1080,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/Layers3DView.js(1098,15): error TS2304: Cannot find name 'CSSMatrix'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/Layers3DView.js(1175,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/Layers3DView.js(1181,48): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(36,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(42,49): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(43,48): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -6694,19 +6638,11 @@ node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.j node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(129,5): error TS2322: Type '{ Clear: PaintProfilerCategory; DrawPaint: PaintProfilerCategory; DrawData: PaintProfilerCategory; SetMatrix: PaintProfilerCategory; ... 31 more ...; DrawTextOnPath: PaintProfilerCategory; }' is not assignable to type '{ [x: string]: PaintProfilerCategory; }'. Index signature is missing in type '{ Clear: PaintProfilerCategory; DrawPaint: PaintProfilerCategory; DrawData: PaintProfilerCategory; SetMatrix: PaintProfilerCategory; ... 31 more ...; DrawTextOnPath: PaintProfilerCategory; }'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(158,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(201,44): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(215,46): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(223,37): error TS2339: Property 'length' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(244,26): error TS2345: Argument of type '{}' is not assignable to parameter of type '{ [x: string]: number; }'. Index signature is missing in type '{}'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(276,44): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(284,42): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(290,56): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(292,70): error TS2339: Property 'length' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(300,19): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(314,27): error TS2339: Property 'constrain' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(315,28): error TS2339: Property 'constrain' does not exist on type 'NumberConstructor'. -node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(325,42): error TS2339: Property 'length' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(412,27): error TS2339: Property '_logItem' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(418,27): error TS2339: Property '_logItem' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/layer_viewer/PaintProfilerView.js(495,11): error TS2339: Property 'createTextChild' does not exist on type 'DocumentFragment'. @@ -6923,9 +6859,7 @@ node_modules/chrome-devtools-frontend/front_end/network/EventSourceMessagesView. node_modules/chrome-devtools-frontend/front_end/network/EventSourceMessagesView.js(21,34): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/EventSourceMessagesView.js(85,14): error TS2339: Property 'createTextChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/network/EventSourceMessagesView.js(86,14): error TS2339: Property 'title' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/network/HARWriter.js(44,72): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/network/HARWriter.js(54,30): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/HARWriter.js(89,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/network/HARWriter.js(93,30): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/NetworkConfigView.js(12,25): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/network/NetworkConfigView.js(14,25): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -7040,11 +6974,6 @@ node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(152,57 Type 'T' is not assignable to type 'NetworkManager'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(174,46): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(175,46): error TS2694: Namespace 'Protocol' has no exported member 'Network'. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(431,31): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(432,21): error TS2339: Property 'encoded' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(434,23): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(434,62): error TS2339: Property 'encoded' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(434,83): error TS2339: Property 'encoded' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(595,40): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(596,40): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/network/NetworkLogView.js(597,50): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -7279,30 +7208,10 @@ node_modules/chrome-devtools-frontend/front_end/network/RequestHeadersView.js(48 node_modules/chrome-devtools-frontend/front_end/network/RequestHeadersView.js(496,11): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/network/RequestHeadersView.js(514,51): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/RequestHeadersView.js(514,84): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(47,7): error TS2740: Type 'Promise' is missing the following properties from type 'Widget': contentElement, element, _shadowRoot, _isWebComponent, and 68 more. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(59,21): error TS2339: Property 'error' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(60,40): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(71,38): error TS2339: Property 'encoded' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(71,60): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(71,87): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(83,7): error TS2322: Type 'Promise' is not assignable to type 'Widget'. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(88,7): error TS2322: Type 'Promise' is not assignable to type 'Widget'. -node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(92,7): error TS2740: Type 'Promise' is missing the following properties from type 'Widget': contentElement, element, _shadowRoot, _isWebComponent, and 68 more. node_modules/chrome-devtools-frontend/front_end/network/RequestPreviewView.js(93,38): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(76,63): error TS2345: Argument of type 'Promise<{ error: string; content: string; encoded: boolean; }>' is not assignable to parameter of type '{ error: string; content: string; encoded: boolean; }'. - Type 'Promise<{ error: string; content: string; encoded: boolean; }>' is missing the following properties from type '{ error: string; content: string; encoded: boolean; }': error, content, encoded -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(104,44): error TS2339: Property 'element' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(107,18): error TS2339: Property 'show' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(108,5): error TS2322: Type 'Promise' is not assignable to type 'Widget'. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(117,23): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(117,63): error TS2339: Property 'error' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(118,40): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(119,21): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(120,7): error TS2322: Type 'Promise' is not assignable to type 'Widget'. node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(121,38): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(168,24): error TS2339: Property 'encoded' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(168,58): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/network/RequestResponseView.js(168,87): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. node_modules/chrome-devtools-frontend/front_end/network/RequestTimingView.js(54,23): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/RequestTimingView.js(56,23): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/network/RequestTimingView.js(58,23): error TS2555: Expected at least 2 arguments, but got 1. @@ -7353,7 +7262,6 @@ 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(172,59): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. 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,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; }'. @@ -7409,10 +7317,7 @@ node_modules/chrome-devtools-frontend/front_end/object_ui/CustomPreviewComponent node_modules/chrome-devtools-frontend/front_end/object_ui/CustomPreviewComponent.js(116,11): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/object_ui/CustomPreviewComponent.js(125,18): error TS2339: Property 'classList' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/object_ui/CustomPreviewComponent.js(230,18): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(92,16): error TS2339: Property 'error' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(92,34): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(92,61): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(94,35): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. +node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(99,47): error TS2554: Expected 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(132,51): error TS2339: Property 'naturalOrderComparator' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(156,24): error TS2339: Property 'subtitle' does not exist on type '{ text: string; title: string; priority: number; }'. node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(156,42): error TS2555: Expected at least 2 arguments, but got 1. @@ -7420,18 +7325,8 @@ node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete Type '{ text: string; title: string; priority: number; }' is missing the following properties from type '{ text: string; subtitle: string; iconType: string; priority: number; isSecondary: boolean; title: string; }': subtitle, iconType, isSecondary node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(183,37): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(183,97): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(214,40): error TS2345: Argument of type 'Promise' is not assignable to parameter of type '{ title: string; items: string[]; }[]'. - Type 'Promise' is missing the following properties from type '{ title: string; items: string[]; }[]': length, pop, push, concat, and 28 more. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(228,45): error TS2339: Property 'internalProperties' does not exist on type 'Promise<{ properties: RemoteObjectProperty[]; internalProperties: RemoteObjectProperty[]; }>'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(236,9): error TS2322: Type 'Promise | undefined[]' is not assignable to type 'any[]'. - Type 'Promise' is missing the following properties from type 'any[]': length, pop, push, concat, and 28 more. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(251,28): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(251,54): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(252,40): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(262,48): error TS2339: Property 'sort' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(262,70): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(335,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'scope' must be of type 'Scope', but here has type 'any'. -node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(335,25): error TS2488: Type 'Promise<{ properties: RemoteObjectProperty[]; name: string; }[]>' must have a '[Symbol.iterator]()' method that returns an iterator. +node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(335,16): error TS2403: Subsequent variable declarations must have the same type. Variable 'scope' must be of type 'Scope', but here has type '{ properties: RemoteObjectProperty[]; name: string; }'. node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(336,54): error TS2339: Property 'properties' does not exist on type 'Scope'. node_modules/chrome-devtools-frontend/front_end/object_ui/JavaScriptAutocomplete.js(377,27): error TS2345: Argument of type '{ items: string[]; }' is not assignable to parameter of type '{ title: string; items: string[]; }'. Property 'title' is missing in type '{ items: string[]; }' but required in type '{ title: string; items: string[]; }'. @@ -7517,7 +7412,6 @@ node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSectio node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(891,13): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(895,15): error TS2339: Property 'key' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(896,13): error TS2339: Property 'consume' does not exist on type 'Event'. -node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(912,9): error TS2322: Type 'Promise' is not assignable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(923,51): error TS2339: Property 'parentObject' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(924,51): error TS2339: Property 'parentObject' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/object_ui/ObjectPropertiesSection.js(980,18): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. @@ -7736,7 +7630,7 @@ node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js( node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(46,54): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(70,34): error TS2339: Property 'offsetX' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(70,57): error TS2339: Property 'offsetLeft' does not exist on type 'EventTarget'. -node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(84,14): error TS2339: Property 'remove' does not exist on type 'Promise'. +node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(84,14): error TS2339: Property 'remove' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(85,14): error TS2339: Property 'appendChildren' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(112,30): error TS2339: Property 'offsetWidth' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/perf_ui/TimelineOverviewPane.js(127,27): error TS2339: Property 'setCalculator' does not exist on type 'TimelineOverview'. @@ -7815,10 +7709,7 @@ node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceB node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(330,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(360,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(432,23): error TS2339: Property 'intersectOrdered' does not exist on type 'string[]'. -node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(432,46): error TS2339: Property 'sort' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(432,61): error TS2339: Property 'naturalOrderComparator' does not exist on type 'StringConstructor'. -node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(526,68): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -node_modules/chrome-devtools-frontend/front_end/persistence/FileSystemWorkspaceBinding.js(528,26): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(75,10): error TS2339: Property 'catchException' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(83,59): error TS2339: Property 'message' does not exist on type 'DOMError'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(97,17): error TS2304: Cannot find name 'FileEntry'. @@ -7829,7 +7720,6 @@ node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.j node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(189,25): error TS2304: Cannot find name 'DirectoryEntry'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(210,25): error TS2304: Cannot find name 'DirectoryEntry'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(239,27): error TS2304: Cannot find name 'FileEntry'. -node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(245,18): error TS2339: Property 'getFile' does not exist on type 'Promise'. 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. @@ -7840,13 +7730,9 @@ node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.j Overload 2 of 2, '(data: string): string', gave the following error. 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(348,33): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Blob'. - Type 'Promise' is missing the following properties from type 'Blob': size, type, slice -node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(350,25): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Blob'. 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. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(364,17): error TS2304: Cannot find name 'FileEntry'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(372,17): error TS2304: Cannot find name 'FileWriter'. -node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(380,86): error TS2339: Property 'blob' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(404,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(418,17): error TS2304: Cannot find name 'FileEntry'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystem.js(432,17): error TS2304: Cannot find name 'Entry'. @@ -7870,18 +7756,14 @@ node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemMa node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemManager.js(57,27): error TS2339: Property 'events' does not exist on type 'InspectorFrontendHostAPI'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemManager.js(62,17): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemManager.js(73,27): error TS2339: Property 'events' does not exist on type 'InspectorFrontendHostAPI'. -node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemManager.js(162,7): error TS2739: Type 'Promise' is missing the following properties from type '{ type: string; fileSystemName: string; rootURL: string; fileSystemPath: string; }': type, fileSystemName, rootURL, fileSystemPath +node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemManager.js(162,7): error TS2739: Type 'IsolatedFileSystem' is missing the following properties from type '{ type: string; fileSystemName: string; rootURL: string; fileSystemPath: string; }': fileSystemName, rootURL, fileSystemPath node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemManager.js(211,21): 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/persistence/IsolatedFileSystemManager.js(222,30): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/persistence/IsolatedFileSystemManager.js(264,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/persistence/NetworkPersistenceManager.js(140,55): error TS2339: Property 'hashCode' does not exist on type 'StringConstructor'. -node_modules/chrome-devtools-frontend/front_end/persistence/NetworkPersistenceManager.js(225,62): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -node_modules/chrome-devtools-frontend/front_end/persistence/NetworkPersistenceManager.js(256,66): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/persistence/NetworkPersistenceManager.js(299,56): error TS2339: Property 'fileSystemPath' does not exist on type 'Project'. node_modules/chrome-devtools-frontend/front_end/persistence/NetworkPersistenceManager.js(424,30): error TS2339: Property 'fileSystemPath' does not exist on type 'Project'. -node_modules/chrome-devtools-frontend/front_end/persistence/NetworkPersistenceManager.js(451,61): error TS2322: Type 'Promise' is not assignable to type 'BlobPart'. - Type 'Promise' is not assignable to type 'Blob'. node_modules/chrome-devtools-frontend/front_end/persistence/Persistence.js(21,51): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/persistence/Persistence.js(58,23): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/persistence/Persistence.js(58,66): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -7897,7 +7779,6 @@ 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/PersistenceActions.js(25,43): error TS2352: Conversion of type 'Promise' to type 'string' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. 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. @@ -8011,17 +7892,10 @@ node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1402,12): node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1424,31): error TS1110: Type expected. node_modules/chrome-devtools-frontend/front_end/platform/utilities.js(1430,18): error TS2555: Expected at least 1 arguments, but got 0. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(55,29): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'. -node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(74,26): error TS2339: Property 'entryForUrl' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(80,27): error TS2339: Property 'entryForUrl' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(97,43): error TS2339: Property 'nameForUrl' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(108,36): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(113,18): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(134,18): error TS2339: Property 'parentNodeOrShadowHost' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(147,30): error TS2339: Property 'nameForUrl' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(151,29): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'. -node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(153,43): error TS2339: Property 'domain' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(158,62): error TS2339: Property 'domain' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(158,83): error TS2339: Property 'path' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(162,45): error TS2339: Property 'boxInWindow' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(175,36): error TS2339: Property '_colorGenerator' does not exist on type 'typeof BadgePool'. node_modules/chrome-devtools-frontend/front_end/product_registry/BadgePool.js(176,33): error TS2339: Property '_colorGenerator' does not exist on type 'typeof BadgePool'. @@ -8352,9 +8226,6 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.j node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(700,24): error TS2694: Namespace 'Protocol' has no exported member 'HeapProfiler'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(713,67): error TS2339: Property '_name' does not exist on type 'HeapSnapshotGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(717,30): error TS2339: Property 'populateNodeBySnapshotObjectId' does not exist on type 'HeapSnapshotGridNode'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(718,5): error TS2740: Type 'Promise' is missing the following properties from type 'HeapSnapshotGridNode': _dataGrid, _instanceCount, _savedChildren, _retrievedChildrenRanges, and 91 more. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(798,42): error TS2345: Argument of type 'Promise<{ [x: string]: Aggregate; }>' is not assignable to parameter of type '{ [x: string]: Aggregate; }'. - Index signature is missing in type 'Promise<{ [x: string]: Aggregate; }>'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(823,36): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(824,40): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(825,42): error TS2555: Expected at least 2 arguments, but got 1. @@ -8367,8 +8238,6 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.j node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(905,38): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(908,23): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(914,34): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(945,21): error TS2488: Type 'Promise' must have a '[Symbol.iterator]()' method that returns an iterator. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotDataGrids.js(954,20): error TS2339: Property 'sort' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(63,16): error TS2352: Conversion of type '{ fieldName1: string; ascending1: string; fieldName2: string; ascending2: string; }' to type 'ComparatorConfig' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Types of property 'ascending1' are incompatible. Type 'string' is not comparable to type 'boolean'. @@ -8404,33 +8273,9 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.j node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(968,29): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(969,30): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(981,27): error TS2339: Property 'snapshot' does not exist on type 'HeapSnapshotSortableDataGrid'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(993,9): error TS2367: This condition will always return 'false' since the types 'Promise' and 'number' have no overlap. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(998,34): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'number'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1000,85): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'number'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1019,14): error TS2339: Property '_searchMatched' does not exist on type 'HeapSnapshotConstructorNode'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1029,81): error TS2339: Property 'snapshot' does not exist on type 'HeapSnapshotSortableDataGrid'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1120,35): error TS2339: Property 'items' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1123,22): error TS2339: Property 'endPosition' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1124,20): error TS2339: Property 'totalLength' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1125,9): error TS2739: Type 'Promise' is missing the following properties from type 'ItemsRange': startPosition, endPosition, totalLength, items -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1129,101): error TS2339: Property 'endPosition' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1136,21): error TS2339: Property 'items' does not exist on type 'ItemsRange | Promise'. - Property 'items' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1137,18): error TS2339: Property 'startPosition' does not exist on type 'ItemsRange | Promise'. - Property 'startPosition' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1137,64): error TS2339: Property 'startPosition' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1138,33): error TS2339: Property 'items' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1140,16): error TS2339: Property 'items' does not exist on type 'ItemsRange | Promise'. - Property 'items' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1140,41): error TS2339: Property 'items' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1141,16): error TS2339: Property 'endPosition' does not exist on type 'ItemsRange | Promise'. - Property 'endPosition' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1141,60): error TS2339: Property 'endPosition' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1142,16): error TS2339: Property 'totalLength' does not exist on type 'ItemsRange | Promise'. - Property 'totalLength' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1143,5): error TS2322: Type 'ItemsRange | Promise' is not assignable to type 'ItemsRange'. - Type 'Promise' is not assignable to type 'ItemsRange'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1149,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. +node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1140,22): error TS2339: Property 'pushAll' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1178,28): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1179,30): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1180,67): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. @@ -8463,13 +8308,8 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(23 node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(263,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(284,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(286,43): error TS2555: Expected at least 4 arguments, but got 3. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(288,19): error TS2339: Property 'setProfileUid' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(289,25): error TS2339: Property 'updateStaticData' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(290,36): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'HeapSnapshotProxy'. - Type 'Promise' is missing the following properties from type 'HeapSnapshotProxy': _staticData, search, aggregatesWithFilter, aggregatesForDiff, and 28 more. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(329,17): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(405,17): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(440,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(443,35): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(450,17): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotProxy.js(457,17): error TS2555: Expected at least 2 arguments, but got 1. @@ -8481,41 +8321,16 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(107 node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(113,57): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(115,48): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(192,24): error TS2694: Namespace 'Protocol' has no exported member 'HeapProfiler'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(205,30): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'HeapSnapshotProxy'. - Type 'Promise' is missing the following properties from type 'HeapSnapshotProxy': _staticData, search, aggregatesWithFilter, aggregatesForDiff, and 28 more. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(210,45): error TS2339: Property 'getSamples' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(227,46): error TS2339: Property 'total' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(228,47): error TS2339: Property 'code' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(228,60): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(229,47): error TS2339: Property 'strings' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(229,63): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(230,47): error TS2339: Property 'jsArrays' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(230,64): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(231,47): error TS2339: Property 'native' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(231,62): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(232,47): error TS2339: Property 'system' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(232,62): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(233,47): error TS2339: Property 'total' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(233,61): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(234,5): error TS2740: Type 'Promise' is missing the following properties from type 'Statistics': total, v8heap, native, code, and 3 more. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(243,80): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(256,17): error TS2345: Argument of type 'ToolbarText' is not assignable to parameter of type 'ToolbarComboBox | ToolbarInput'. Type 'ToolbarText' is missing the following properties from type 'ToolbarInput': _prompt, _proxyElement, setValue, _internalSetValue, and 4 more. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(342,71): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(343,29): error TS2339: Property 'length' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(344,50): error TS2551: Property 'jumpBackwards' does not exist on type 'SearchConfig'. Did you mean 'jumpBackward'? -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(344,86): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(352,30): error TS2339: Property 'length' does not exist on type 'any[] | Promise'. - Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(354,97): error TS2339: Property 'length' does not exist on type 'any[] | Promise'. - Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(362,30): error TS2339: Property 'length' does not exist on type 'any[] | Promise'. - Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(365,63): error TS2339: Property 'length' does not exist on type 'any[] | Promise'. - Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(365,97): error TS2339: Property 'length' does not exist on type 'any[] | Promise'. - Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(371,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(397,25): error TS2339: Property '_loadPromise' does not exist on type 'ProfileHeader'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(405,24): error TS2345: Argument of type 'SearchConfig' is not assignable to parameter of type 'SearchConfig'. Property 'toSearchRegex' is missing in type 'SearchConfig' but required in type 'SearchConfig'. @@ -8569,7 +8384,6 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(135 node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1430,30): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1458,24): error TS2339: Property '_snapshotReceived' does not exist on type 'ProfileType'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1476,61): error TS2339: Property 'toISO8601Compact' does not exist on type 'Date'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1494,88): error TS2339: Property 'message' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1525,30): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1547,44): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1557,77): error TS2339: Property '_profileSamples' does not exist on type 'HeapProfileHeader'. @@ -8586,7 +8400,6 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(191 node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1966,35): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1967,39): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1972,33): error TS2339: Property 'createChild' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1973,23): error TS2488: Type 'Promise' must have a '[Symbol.iterator]()' method that returns an iterator. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1987,18): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(48,37): error TS2339: Property 'deoptReason' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileDataGrid.js(54,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -8675,9 +8488,7 @@ node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(329,30): node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(347,30): error TS2339: Property 'exclude' does not exist on type 'ProfileDataGridTree'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(368,30): error TS2554: Expected 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(404,68): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. -node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(417,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(459,56): error TS2339: Property 'toISO8601Compact' does not exist on type 'Date'. -node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(465,36): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(475,30): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(482,31): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(485,30): error TS2555: Expected at least 2 arguments, but got 1. @@ -8692,7 +8503,6 @@ node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(111,48 node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(114,13): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(129,28): error TS2339: Property '_fileSelectorElement' does not exist on type 'typeof ProfilesPanel'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(157,35): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(163,82): error TS2339: Property 'message' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(233,23): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(302,36): error TS2339: Property 'isSelfOrAncestor' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfilesPanel.js(304,18): error TS2555: Expected at least 2 arguments, but got 1. @@ -8854,9 +8664,7 @@ node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSideba node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(214,47): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(282,31): error TS2339: Property 'asParsedURL' does not exist on type 'string'. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(336,34): error TS2339: Property 'remove' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(353,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(594,20): error TS2339: Property 'itemURL' does not exist on type 'BaseStorageTreeElement'. -node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(705,27): error TS2488: Type 'Promise' must have a '[Symbol.iterator]()' method that returns an iterator. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(751,32): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(785,52): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/ApplicationPanelSidebar.js(825,31): error TS2339: Property 'remove' does not exist on type 'SWCacheTreeElement[]'. @@ -8923,7 +8731,6 @@ node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageItemsView.js node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageItemsView.js(178,11): error TS2403: Subsequent variable declarations must have the same type. Variable 'node' must be of type 'any', but here has type 'DataGridNode'. node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageItemsView.js(259,43): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageItemsView.js(275,38): error TS2339: Property 'key' does not exist on type 'DataGridNode'. -node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageItemsView.js(282,23): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Widget'. node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageModel.js(49,25): error TS2694: Namespace 'Protocol' has no exported member 'DOMStorage'. node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageModel.js(55,26): error TS2694: Namespace 'Protocol' has no exported member 'DOMStorage'. node_modules/chrome-devtools-frontend/front_end/resources/DOMStorageModel.js(71,41): error TS2694: Namespace 'Protocol' has no exported member 'DOMStorage'. @@ -8967,7 +8774,6 @@ node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(258, node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(368,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(381,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(396,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBModel.js(435,30): error TS2488: Type 'Promise' must have a '[Symbol.iterator]()' method that returns an iterator. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(43,69): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(49,66): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(50,59): error TS2555: Expected at least 2 arguments, but got 1. @@ -9012,8 +8818,6 @@ node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(228, node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(295,52): error TS2339: Property 'value' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/IndexedDBViews.js(433,14): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ResourcesPanel.js(22,47): error TS2339: Property 'createChild' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/resources/ResourcesPanel.js(115,19): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Widget'. -node_modules/chrome-devtools-frontend/front_end/resources/ResourcesPanel.js(116,5): error TS2322: Type 'Promise' is not assignable to type 'Widget'. node_modules/chrome-devtools-frontend/front_end/resources/ResourcesSection.js(69,33): error TS2339: Property 'remove' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/resources/ResourcesSection.js(311,26): error TS2339: Property 'draggable' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/resources/ResourcesSection.js(321,11): error TS2339: Property 'dataTransfer' does not exist on type 'MouseEvent'. @@ -9032,8 +8836,6 @@ node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheView node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheViews.js(198,31): error TS2694: Namespace 'Protocol' has no exported member 'CacheStorage'. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheViews.js(215,11): error TS2403: Subsequent variable declarations must have the same type. Variable 'node' must be of type 'any', but here has type 'DataGridNode'. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheViews.js(285,24): error TS2694: Namespace 'Protocol' has no exported member 'CacheStorage'. -node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheViews.js(323,59): error TS2339: Property 'body' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheViews.js(323,76): error TS2339: Property 'body' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheViews.js(381,50): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkerCacheViews.js(382,50): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/resources/ServiceWorkersView.js(12,57): error TS2555: Expected at least 2 arguments, but got 1. @@ -9143,9 +8945,6 @@ node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(152 node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(205,51): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(208,51): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(220,13): error TS2339: Property 'consume' does not exist on type 'Event'. -node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(246,29): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'DOMNode'. - Type 'Promise' is missing the following properties from type 'DOMNode': _domModel, _init, _agent, ownerDocument, and 106 more. -node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(247,65): error TS2339: Property 'id' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(258,13): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(265,13): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(271,11): error TS2339: Property 'consume' does not exist on type 'Event'. @@ -9174,8 +8973,6 @@ node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(600 node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(608,25): error TS2339: Property 'type' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(644,15): error TS2339: Property 'key' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(646,35): error TS2339: Property 'value' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(660,34): error TS2339: Property 'currentIndex' does not exist on type 'Promise<{ currentIndex: number; entries: any; }>'. -node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(661,36): error TS2339: Property 'entries' does not exist on type 'Promise<{ currentIndex: number; entries: any; }>'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(671,25): error TS2339: Property 'value' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(675,25): error TS2339: Property 'focus' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/screencast/ScreencastView.js(676,25): error TS2339: Property 'select' does not exist on type 'Element'. @@ -9229,7 +9026,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(14,32): node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(15,32): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(16,32): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(33,31): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. -node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(208,70): error TS2339: Property 'indexOf' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(241,53): error TS2339: Property 'media' does not exist on type 'CSSRule'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(264,31): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSMatchedStyles.js(322,58): error TS2339: Property 'valuesArray' does not exist on type 'Map'. @@ -9258,7 +9054,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(203,31): error T node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(238,24): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(262,24): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(290,41): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. -node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(319,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(328,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(348,24): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSModel.js(356,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. @@ -9312,7 +9107,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/CSSStyleDeclaration.js(8,24) node_modules/chrome-devtools-frontend/front_end/sdk/CSSStyleDeclaration.js(41,47): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSStyleDeclaration.js(50,24): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. node_modules/chrome-devtools-frontend/front_end/sdk/CSSStyleSheetHeader.js(11,24): error TS2694: Namespace 'Protocol' has no exported member 'CSS'. -node_modules/chrome-devtools-frontend/front_end/sdk/CSSStyleSheetHeader.js(143,58): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/sdk/Connections.js(17,29): error TS2339: Property 'events' does not exist on type 'InspectorFrontendHostAPI'. node_modules/chrome-devtools-frontend/front_end/sdk/Connections.js(19,29): error TS2339: Property 'events' does not exist on type 'InspectorFrontendHostAPI'. node_modules/chrome-devtools-frontend/front_end/sdk/Connections.js(86,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. @@ -9393,15 +9187,10 @@ node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(860,24): error T node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(880,34): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(896,7): error TS2322: Type 'DOMNode' is not assignable to type 'this'. 'DOMNode' is assignable to the constraint of type 'this', but 'this' could be instantiated with a different subtype of constraint 'DOMNode'. -node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(919,12): error TS2339: Property 'callFunction' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(920,12): error TS2339: Property 'release' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(928,12): error TS2339: Property 'scrollIntoViewIfNeeded' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(937,18): error TS2339: Property 'callFunctionPromise' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(938,12): error TS2339: Property 'release' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(940,29): error TS2339: Property 'pageAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(947,12): error TS2339: Property 'focus' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(986,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(997,31): error TS2339: Property 'get' does not exist on type 'Promise>'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1042,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1062,26): error TS2339: Property 'domAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1070,12): error TS2339: Property 'registerDOMDispatcher' does not exist on type 'Target'. @@ -9469,9 +9258,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/DOMModel.js(1801,17): error node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(41,12): error TS2339: Property 'registerDebuggerDispatcher' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(42,26): error TS2339: Property 'debuggerAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(231,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(291,7): error TS2739: Type 'Promise<{ breakpointId: any; locations: Location[]; }>' is missing the following properties from type '{ breakpointId: any; locations: Location[]; }': breakpointId, locations node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(319,24): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'. -node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(320,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(346,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(347,34): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(355,24): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'. @@ -9502,8 +9289,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(829,24): er node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(830,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(838,24): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(839,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(871,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(879,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(899,22): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(967,31): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'. node_modules/chrome-devtools-frontend/front_end/sdk/DebuggerModel.js(987,32): error TS2694: Namespace 'Protocol' has no exported member 'Debugger'. @@ -9580,8 +9365,7 @@ node_modules/chrome-devtools-frontend/front_end/sdk/LayerTreeBase.js(154,26): er node_modules/chrome-devtools-frontend/front_end/sdk/LayerTreeBase.js(168,25): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/LayerTreeBase.js(175,25): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/LayerTreeBase.js(251,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/sdk/LayerTreeBase.js(284,33): error TS2339: Property 'keysArray' does not exist on type 'Promise>'. -node_modules/chrome-devtools-frontend/front_end/sdk/LayerTreeBase.js(285,54): error TS2339: Property 'get' does not exist on type 'Promise>'. +node_modules/chrome-devtools-frontend/front_end/sdk/LayerTreeBase.js(284,33): error TS2339: Property 'keysArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sdk/LogModel.js(14,12): error TS2339: Property 'registerLogDispatcher' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/LogModel.js(15,29): error TS2339: Property 'logAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/LogModel.js(28,24): error TS2694: Namespace 'Protocol' has no exported member 'Log'. @@ -9721,8 +9505,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(415,24): e node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(466,25): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(473,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(543,82): error TS2339: Property 'asParsedURL' does not exist on type 'string'. -node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(936,39): error TS2339: Property 'encoded' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(944,39): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(980,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(987,25): error TS2694: Namespace 'Protocol' has no exported member 'Network'. node_modules/chrome-devtools-frontend/front_end/sdk/NetworkRequest.js(994,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'. @@ -9738,7 +9520,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/OverlayModel.js(110,16): err node_modules/chrome-devtools-frontend/front_end/sdk/OverlayModel.js(119,5): error TS2322: Type 'Highlighter | DefaultHighlighter' is not assignable to type 'DefaultHighlighter'. Property '_model' is missing in type 'Highlighter' but required in type 'DefaultHighlighter'. node_modules/chrome-devtools-frontend/front_end/sdk/OverlayModel.js(123,24): error TS2694: Namespace 'Protocol' has no exported member 'Overlay'. -node_modules/chrome-devtools-frontend/front_end/sdk/OverlayModel.js(124,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/sdk/OverlayModel.js(141,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/OverlayModel.js(143,24): error TS2694: Namespace 'Protocol' has no exported member 'DOM'. node_modules/chrome-devtools-frontend/front_end/sdk/OverlayModel.js(144,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -9828,7 +9609,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(586,26): err node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(612,28): error TS2339: Property 'getter' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(614,28): error TS2339: Property 'setter' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(636,31): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(659,5): error TS2322: Type 'Promise' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(663,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(664,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(683,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -9846,8 +9626,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(797,24): err node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(810,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(850,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(851,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(859,7): error TS2322: Type 'Promise' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(920,7): error TS2740: Type 'Promise' is missing the following properties from type 'RemoteObject': customPreview, objectId, type, subtype, and 20 more. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(928,20): error TS2339: Property 'getter' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(928,35): error TS2339: Property 'setter' does not exist on type 'RemoteObjectProperty'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(953,25): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -9869,11 +9647,8 @@ node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(56,55): error TS node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(74,39): error TS2339: Property 'isValid' does not exist on type 'Date'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(121,25): error TS2694: Namespace 'Protocol' has no exported member 'Page'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(128,25): error TS2694: Namespace 'Protocol' has no exported member 'Network'. -node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(223,7): error TS2740: Type 'Promise' is missing the following properties from type 'SearchMatch[]': length, pop, push, concat, and 28 more. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(224,57): error TS2339: Property 'pageAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(241,13): error TS2339: Property 'src' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(260,35): error TS2339: Property 'content' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. -node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(261,42): error TS2339: Property 'encoded' does not exist on type 'Promise<{ error: string; content: string; encoded: boolean; }>'. node_modules/chrome-devtools-frontend/front_end/sdk/Resource.js(263,61): error TS2339: Property 'pageAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/ResourceTreeModel.js(44,26): error TS2339: Property 'pageAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/ResourceTreeModel.js(48,12): error TS2339: Property 'registerPageDispatcher' does not exist on type 'Target'. @@ -9940,9 +9715,6 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(305,7): erro node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(311,7): error TS2741: Property 'objects' is missing in type '{ error: any; }' but required in type '{ objects: RemoteObject; error: string; }'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(313,5): error TS2741: Property 'error' is missing in type '{ objects: RemoteObject; }' but required in type '{ objects: RemoteObject; error: string; }'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(317,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(390,16): error TS2339: Property 'error' does not exist on type 'Promise<{ objects: RemoteObject; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(391,35): error TS2339: Property 'error' does not exist on type 'Promise<{ objects: RemoteObject; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(394,98): error TS2339: Property 'objects' does not exist on type 'Promise<{ objects: RemoteObject; error: string; }>'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(398,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(414,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RuntimeModel.js(430,32): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -10179,8 +9951,6 @@ node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(30,61) Types of parameters 'securityModel' and 'model' are incompatible. Type 'T' is not assignable to type 'SecurityModel'. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(47,9): error TS2339: Property 'consume' does not exist on type 'Event'. -node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(49,51): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string[]'. - Type 'Promise' is missing the following properties from type 'string[]': length, pop, push, concat, and 28 more. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(60,9): error TS2339: Property 'consume' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(85,20): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/security/SecurityPanel.js(86,20): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -10350,16 +10120,8 @@ node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(7 node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(165,36): error TS2339: Property 'remove' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(172,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(207,35): error TS2339: Property 'valuesArray' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(245,65): error TS2339: Property 'scriptId' does not exist on type 'Promise<{ scriptId: any; exceptionDetails: any; }>'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(245,84): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ scriptId: any; exceptionDetails: any; }>'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(247,17): error TS2339: Property 'scriptId' does not exist on type 'Promise<{ scriptId: any; exceptionDetails: any; }>'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(249,46): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(249,83): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ scriptId: any; exceptionDetails: any; }>'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(260,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(269,16): error TS2339: Property 'error' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(271,17): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(272,55): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(274,71): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(280,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(293,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(329,35): error TS2339: Property 'valuesArray' does not exist on type 'Map'. @@ -10393,7 +10155,6 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(38,18) node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(52,88): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(58,36): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(105,36): error TS2339: Property 'bytesToString' does not exist on type 'NumberConstructor'. -node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(105,69): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(128,56): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(131,18): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/source_frame/ImageView.js(134,54): error TS2555: Expected at least 2 arguments, but got 1. @@ -10406,8 +10167,6 @@ node_modules/chrome-devtools-frontend/front_end/source_frame/JSONView.js(66,47): node_modules/chrome-devtools-frontend/front_end/source_frame/JSONView.js(165,28): error TS2339: Property 'setSearchRegex' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/source_frame/JSONView.js(170,23): error TS2339: Property 'setSearchRegex' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/source_frame/PreviewFactory.js(14,40): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/source_frame/PreviewFactory.js(27,50): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -node_modules/chrome-devtools-frontend/front_end/source_frame/PreviewFactory.js(32,59): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/source_frame/ResourceSourceFrame.js(51,42): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/source_frame/SourceCodeDiff.js(15,22): error TS2339: Property 'installGutter' does not exist on type 'CodeMirrorTextEditor'. node_modules/chrome-devtools-frontend/front_end/source_frame/SourceCodeDiff.js(89,28): error TS2339: Property 'toggleLineClass' does not exist on type 'CodeMirrorTextEditor'. @@ -10613,8 +10372,6 @@ node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSid node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(203,33): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptBreakpointsSidebarPane.js(206,35): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin.js(51,5): error TS2322: Type 'Timeout' is not assignable to type 'number'. -node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin.js(91,46): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ scriptId: any; exceptionDetails: any; }>'. -node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptCompilerPlugin.js(94,35): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ scriptId: any; exceptionDetails: any; }>'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(60,50): error TS2345: Argument of type 'Event' is not assignable to parameter of type 'MouseEvent | KeyboardEvent'. Type 'Event' is missing the following properties from type 'KeyboardEvent': altKey, char, charCode, code, and 16 more. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(107,33): error TS2339: Property 'asParsedURL' does not exist on type 'string'. @@ -10640,9 +10397,6 @@ node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(284,61): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(285,45): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(345,56): error TS2339: Property 'valuesArray' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(453,11): error TS2322: Type 'string | Promise' is not assignable to type 'string'. - Type 'Promise' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(467,33): error TS2339: Property 'dispose' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(491,15): error TS2339: Property 'consume' does not exist on type 'KeyboardEvent'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(517,37): error TS2339: Property 'enclosingNodeOrSelfWithClass' does not exist on type 'EventTarget'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(545,11): error TS2339: Property 'consume' does not exist on type 'MouseEvent'. @@ -10686,7 +10440,6 @@ node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(1473,94): error TS2339: Property 'metaKey' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(1476,52): error TS2339: Property 'shiftKey' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(1477,17): error TS2339: Property 'consume' does not exist on type 'Event'. -node_modules/chrome-devtools-frontend/front_end/sources/JavaScriptSourceFrame.js(1520,34): error TS2339: Property 'length' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(87,21): error TS2339: Property '_boostOrder' does not exist on type 'TreeElement'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(90,32): error TS2339: Property '_typeOrders' does not exist on type 'typeof NavigatorView'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(102,29): error TS2339: Property '_typeOrders' does not exist on type 'typeof NavigatorView'. @@ -10738,11 +10491,6 @@ node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(767,18) node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(771,48): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(779,56): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(803,50): error TS2339: Property 'hasFocus' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(816,7): error TS2322: Type '"" | Promise' is not assignable to type 'string'. - Type 'Promise' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(820,26): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'UISourceCode'. - Type 'Promise' is missing the following properties from type 'UISourceCode': _project, _url, _origin, _parentURL, and 69 more. -node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(821,40): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'UISourceCode'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(851,14): error TS2339: Property 'parent' does not exist on type 'NavigatorGroupTreeNode'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(852,12): error TS2339: Property 'parent' does not exist on type 'NavigatorGroupTreeNode'. node_modules/chrome-devtools-frontend/front_end/sources/NavigatorView.js(951,23): error TS2339: Property '_title' does not exist on type 'NavigatorTreeNode'. @@ -10796,17 +10544,11 @@ node_modules/chrome-devtools-frontend/front_end/sources/ScopeChainSidebarPane.js node_modules/chrome-devtools-frontend/front_end/sources/ScopeChainSidebarPane.js(115,20): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/sources/ScriptFormatterEditorAction.js(61,48): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/ScriptFormatterEditorAction.js(105,35): error TS2339: Property 'selection' does not exist on type 'Widget'. -node_modules/chrome-devtools-frontend/front_end/sources/ScriptFormatterEditorAction.js(106,26): error TS2339: Property 'mapping' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/sources/ScriptFormatterEditorAction.js(108,53): error TS2339: Property 'formattedSourceCode' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sources/SimpleHistoryManager.js(37,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/sources/SnippetsPlugin.js(41,46): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SnippetsPlugin.js(41,80): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourceFormatter.js(55,32): error TS2339: Property 'remove' does not exist on type 'Map; formatData: SourceFormatData; }>'. node_modules/chrome-devtools-frontend/front_end/sources/SourceFormatter.js(67,32): error TS2339: Property 'remove' does not exist on type 'Map; formatData: SourceFormatData; }>'. -node_modules/chrome-devtools-frontend/front_end/sources/SourceFormatter.js(96,7): error TS2739: Type 'Promise' is missing the following properties from type 'SourceFormatData': originalSourceCode, formattedSourceCode, mapping, originalPath -node_modules/chrome-devtools-frontend/front_end/sources/SourceFormatter.js(106,62): error TS2345: Argument of type '"" | Promise' is not assignable to parameter of type 'string'. - Type 'Promise' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/sources/SourceFormatter.js(107,5): error TS2739: Type 'Promise' is missing the following properties from type 'SourceFormatData': originalSourceCode, formattedSourceCode, mapping, originalPath node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(278,31): error TS2339: Property 'reverseMapTextRange' does not exist on type 'SourceMap'. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(304,37): error TS2339: Property 'inverse' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(361,25): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -10815,12 +10557,8 @@ node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.j node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(434,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(444,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(482,31): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(496,43): error TS2339: Property 'keys' does not exist on type 'Promise>'. -node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(497,24): error TS2339: Property 'get' does not exist on type 'Promise>'. -node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(502,5): error TS2322: Type 'Promise' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(508,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(516,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(520,5): error TS2322: Type 'Promise' is not assignable to type 'string'. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(525,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(525,39): error TS1110: Type expected. node_modules/chrome-devtools-frontend/front_end/sources/SourceMapNamesResolver.js(526,31): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -10839,7 +10577,6 @@ node_modules/chrome-devtools-frontend/front_end/sources/SourcesNavigator.js(308, node_modules/chrome-devtools-frontend/front_end/sources/SourcesNavigator.js(309,49): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesNavigator.js(310,49): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesNavigator.js(311,49): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/sources/SourcesNavigator.js(334,52): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(35,26): error TS2551: Property '_instance' does not exist on type 'typeof SourcesPanel'. Did you mean 'instance'? node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(38,59): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(68,29): error TS2339: Property 'tabIndex' does not exist on type 'Element'. @@ -10869,10 +10606,6 @@ node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(867,20): node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(891,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(894,18): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(909,27): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(922,18): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(922,46): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(923,27): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. -node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(927,31): error TS2339: Property 'object' does not exist on type 'Promise<{ object: RemoteObject; exceptionDetails: any; error: string; }>'. node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(963,28): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(1011,45): error TS2339: Property 'offsetWidth' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/sources/SourcesPanel.js(1071,22): error TS2339: Property 'appendView' does not exist on type 'TabbedViewLocation'. @@ -11052,8 +10785,6 @@ node_modules/chrome-devtools-frontend/front_end/sources_test_runner/SourcesTestR node_modules/chrome-devtools-frontend/front_end/sources_test_runner/SourcesTestRunner.js(101,33): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/sources_test_runner/SourcesTestRunner.js(103,33): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/sources_test_runner/SourcesTestRunner.js(129,11): error TS2339: Property 'pushAll' does not exist on type 'any[]'. -node_modules/chrome-devtools-frontend/front_end/terminal/TerminalWidget.js(20,23): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Service'. - Type 'Promise' is missing the following properties from type 'Service': _connection, _serviceName, _objectId, _notificationHandlers, and 4 more. node_modules/chrome-devtools-frontend/front_end/terminal/TerminalWidget.js(29,54): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/terminal/TerminalWidget.js(30,72): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/terminal/TerminalWidget.js(57,50): error TS2339: Property 'cols' does not exist on type 'Terminal'. @@ -11177,7 +10908,6 @@ node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(24,8): node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(42,21): error TS2551: Property 'testRunner' does not exist on type 'Window & typeof globalThis'. Did you mean 'TestRunner'? node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(76,8): error TS2551: Property 'testRunner' does not exist on type 'Window & typeof globalThis'. Did you mean 'TestRunner'? node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(117,19): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(211,3): error TS2322: Type 'Promise' is not assignable to type 'undefined'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(287,22): error TS2339: Property 'traverseNextNode' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(288,31): error TS2339: Property 'traverseNextNode' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(297,33): error TS2339: Property 'traverseNextNode' does not exist on type 'Node'. @@ -11200,10 +10930,9 @@ node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(337,33 node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(338,37): error TS2339: Property 'profilerAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(339,36): error TS2339: Property 'runtimeAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(340,35): error TS2339: Property 'targetAgent' does not exist on type 'Target'. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(363,62): error TS2339: Property 'result' does not exist on type 'Promise<{ response: RemoteObject; exceptionDetails: any; }>'. +node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(363,62): error TS2339: Property 'result' does not exist on type '{ response: RemoteObject; exceptionDetails: any; }'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(368,34): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(372,42): error TS2339: Property 'result' does not exist on type 'Promise<{ response: RemoteObject; exceptionDetails: any; }>'. -node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(372,65): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise<{ response: RemoteObject; exceptionDetails: any; }>'. +node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(372,42): error TS2339: Property 'result' does not exist on type '{ response: RemoteObject; exceptionDetails: any; }'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(381,35): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/test_runner/TestRunner.js(503,30): error TS2345: Argument of type 'Function' is not assignable to parameter of type '(value: any[]) => any[] | PromiseLike'. Type 'Function' provides no match for the signature '(value: any[]): any[] | PromiseLike'. @@ -11387,7 +11116,6 @@ node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(8 node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(83,47): error TS2339: Property 'window' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(89,25): error TS2339: Property 'window' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(89,60): error TS2339: Property '_animationId' does not exist on type 'PerformanceMonitor'. -node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(95,26): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'any[]'. node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(99,31): error TS2694: Namespace 'Protocol' has no exported member 'Performance'. node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(107,9): error TS2739: Type '{}' is missing the following properties from type '{ lastValue: number; lastTimestamp: number; }': lastValue, lastTimestamp node_modules/chrome-devtools-frontend/front_end/timeline/PerformanceMonitor.js(114,22): error TS2339: Property 'constrain' does not exist on type 'NumberConstructor'. @@ -11500,7 +11228,10 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataP node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(541,38): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(548,25): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(621,36): error TS2339: Property 'preciseMillisToString' does not exist on type 'NumberConstructor'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(642,46): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(654,37): error TS2339: Property 'naturalHeight' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(655,39): error TS2339: Property 'naturalWidth' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(660,23): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'CanvasImageSource'. + Type 'new (width?: number, height?: number) => HTMLImageElement' is missing the following properties from type 'OffscreenCanvas': height, width, convertToBlob, getContext, and 4 more. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(862,44): error TS2339: Property 'id' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(865,63): error TS2339: Property 'id' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartDataProvider.js(866,44): error TS2339: Property 'id' does not exist on type 'Event'. @@ -11523,10 +11254,6 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartView. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartView.js(290,40): error TS2339: Property 'createSelection' does not exist on type 'FlameChartDataProvider'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineFlameChartView.js(463,28): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(68,33): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(83,42): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'PerformanceModel'. - Type 'Promise' is missing the following properties from type 'PerformanceModel': _mainTarget, _tracingModel, _timelineModel, _frameModel, and 25 more. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(88,27): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'PerformanceModel'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(89,5): error TS2322: Type 'Promise' is not assignable to type 'PerformanceModel'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(106,27): error TS2339: Property 'constrain' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(144,21): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineHistoryManager.js(164,64): error TS2339: Property 'asParsedURL' does not exist on type 'string'. @@ -11584,11 +11311,6 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(284,48 node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(289,44): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(340,33): error TS2339: Property 'remove' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(362,37): error TS2339: Property 'toISO8601Compact' does not exist on type 'Date'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(373,71): error TS2339: Property 'message' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(373,86): error TS2339: Property 'name' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(373,98): error TS2339: Property 'code' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(378,18): error TS2367: This condition will always return 'true' since the types 'Promise' and 'PerformanceModel' have no overlap. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(379,22): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'PerformanceModel'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(396,31): error TS2339: Property 'click' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(453,28): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(455,28): error TS2555: Expected at least 2 arguments, but got 1. @@ -11815,7 +11537,6 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(703, node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(707,19): error TS2339: Property 'createTextChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(716,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'url' must be of type 'string', but here has type 'any'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(721,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'url' must be of type 'string', but here has type 'any'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(792,11): error TS2740: Type 'Promise>' is missing the following properties from type 'Map': clear, delete, forEach, get, and 7 more. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(807,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'url' must be of type 'string', but here has type 'any'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(815,42): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(815,73): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'. @@ -11920,8 +11641,6 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1360 node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1403,37): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1412,13): error TS2339: Property 'addAll' does not exist on type 'Set'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1431,24): error TS2339: Property 'binaryIndexOf' does not exist on type 'Event[]'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1473,44): error TS2339: Property 'snapshot' does not exist on type 'Promise<{ rect: number[]; snapshot: PaintProfilerSnapshot; }>'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1474,22): error TS2339: Property 'snapshot' does not exist on type 'Promise<{ rect: number[]; snapshot: PaintProfilerSnapshot; }>'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1481,25): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1483,41): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineUIUtils.js(1484,46): error TS2555: Expected at least 2 arguments, but got 1. @@ -12101,7 +11820,6 @@ node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineProfileTr 'BottomUpNode' is assignable to the constraint of type 'this', but 'this' could be instantiated with a different subtype of constraint 'BottomUpNode'. node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineProfileTree.js(559,23): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/timeline_model/TimelineProfileTree.js(563,33): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. -node_modules/chrome-devtools-frontend/front_end/timeline_model/TracingLayerTree.js(47,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/timeline_model/TracingLayerTree.js(104,18): error TS2339: Property '_pictureForRect' does not exist on type 'Layer'. node_modules/chrome-devtools-frontend/front_end/timeline_model/TracingLayerTree.js(234,15): error TS2551: Property '_parent' does not exist on type 'Layer'. Did you mean 'parent'? node_modules/chrome-devtools-frontend/front_end/timeline_model/TracingLayerTree.js(237,11): error TS2551: Property '_parent' does not exist on type 'Layer'. Did you mean 'parent'? @@ -12914,7 +12632,6 @@ node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(1967,23): error TS node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(1968,48): error TS2345: Argument of type '-1' is not assignable to parameter of type 'string'. node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(1969,23): error TS2339: Property 'onchange' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(1971,34): error TS2339: Property 'files' does not exist on type 'Element'. -node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(1986,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/UIUtils.js(1993,30): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'. node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(1995,49): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(1999,15): error TS2339: Property 'consume' does not exist on type 'Event'. @@ -12923,7 +12640,6 @@ node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(2020,30): error TS node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(2024,57): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(2025,57): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(2027,15): error TS2339: Property 'consume' does not exist on type 'Event'. -node_modules/chrome-devtools-frontend/front_end/ui/UIUtils.js(2033,5): error TS2322: Type 'Promise' is not assignable to type 'boolean'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(11,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/View.js(16,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/View.js(21,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -12932,7 +12648,6 @@ node_modules/chrome-devtools-frontend/front_end/ui/View.js(31,15): error TS2355: node_modules/chrome-devtools-frontend/front_end/ui/View.js(36,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/View.js(195,47): error TS2352: Conversion of type 'Widget' to type 'ItemsProvider' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first. Property 'toolbarItems' is missing in type 'Widget' but required in type 'ItemsProvider'. -node_modules/chrome-devtools-frontend/front_end/ui/View.js(219,12): error TS2339: Property 'ownerViewDisposed' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(244,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/View.js(254,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/View.js(263,1): error TS8022: JSDoc '@extends' is not attached to a class. @@ -13163,9 +12878,6 @@ node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(243,25): node_modules/chrome-devtools-frontend/front_end/workspace/Workspace.js(432,27): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(38,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(47,14): error TS7014: Function type, which lacks return-type annotation, implicitly has an 'any' return type. -node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(267,18): error TS2339: Property 'length' does not exist on type 'Promise'. -node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(275,7): error TS2322: Type 'Promise' is not assignable to type 'string'. -node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(285,40): error TS2339: Property 'split' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(301,36): error TS2339: Property '_instance' does not exist on type 'typeof WorkspaceDiff'. node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(302,33): error TS2339: Property '_instance' does not exist on type 'typeof WorkspaceDiff'. node_modules/chrome-devtools-frontend/front_end/workspace_diff/WorkspaceDiff.js(303,38): error TS2339: Property '_instance' does not exist on type 'typeof WorkspaceDiff'. diff --git a/tests/baselines/reference/user/puppeteer.log b/tests/baselines/reference/user/puppeteer.log index 65cd039d04e33..dd1df5ba41630 100644 --- a/tests/baselines/reference/user/puppeteer.log +++ b/tests/baselines/reference/user/puppeteer.log @@ -1,8 +1,5 @@ Exit Code: 1 Standard output: -../../../../../node_modules/@types/gulp/index.d.ts(9,27): error TS2307: Cannot find module 'chokidar'. -lib/Accessibility.js(71,12): error TS2339: Property 'nodes' does not exist on type 'Promise'. -lib/Accessibility.js(74,14): error TS2339: Property 'node' does not exist on type 'Promise'. lib/Accessibility.js(134,15): error TS2503: Cannot find namespace 'Protocol'. lib/Accessibility.js(344,7): error TS2322: Type 'string | number | boolean' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. @@ -15,157 +12,23 @@ lib/Accessibility.js(390,7): error TS2322: Type 'string | number | boolean' is n lib/Accessibility.js(403,7): error TS2322: Type 'string | number | true' is not assignable to type 'never'. Type 'string' is not assignable to type 'never'. lib/Accessibility.js(409,22): error TS2503: Cannot find namespace 'Protocol'. -lib/Browser.js(80,12): error TS2339: Property 'browserContextId' does not exist on type 'Promise'. lib/Browser.js(109,15): error TS2503: Cannot find namespace 'Protocol'. lib/Browser.js(116,58): error TS2322: Type 'Promise' is not assignable to type 'Promise'. Type 'CDPSession' is not assignable to type 'Puppeteer.CDPSession'. lib/Browser.js(141,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Browser.js(166,5): error TS2740: Type 'Promise' is missing the following properties from type 'Page': _closed, _client, _target, _keyboard, and 116 more. -lib/Browser.js(174,12): error TS2339: Property 'targetId' does not exist on type 'Promise'. -lib/Browser.js(178,5): error TS2740: Type 'Promise' is missing the following properties from type 'Page': _closed, _client, _target, _keyboard, and 116 more. -lib/Browser.js(213,9): error TS2740: Type 'Promise' is missing the following properties from type 'Target': _targetInfo, _browserContext, _targetId, _sessionFactory, and 19 more. -lib/Browser.js(214,7): error TS2322: Type 'Promise' is not assignable to type 'Target'. -lib/Browser.js(235,25): error TS2339: Property 'reduce' does not exist on type 'Promise'. -lib/Browser.js(243,20): error TS2339: Property 'product' does not exist on type 'Promise'. -lib/Browser.js(251,20): error TS2339: Property 'userAgent' does not exist on type 'Promise'. -lib/Browser.js(316,18): error TS2339: Property 'filter' does not exist on type 'Promise'. lib/Connection.js(149,14): error TS2503: Cannot find namespace 'Protocol'. -lib/Connection.js(153,12): error TS2339: Property 'sessionId' does not exist on type 'Promise'. -lib/Coverage.js(48,5): error TS2740: Type 'Promise' is missing the following properties from type 'CoverageEntry[]': length, pop, push, concat, and 28 more. -lib/Coverage.js(62,5): error TS2322: Type 'Promise' is not assignable to type 'CoverageEntry[]'. lib/Coverage.js(115,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Coverage.js(127,56): error TS2339: Property 'scriptSource' does not exist on type 'Promise'. -lib/Coverage.js(140,11): error TS2488: Type 'Promise<[any, any, any, any]>' must have a '[Symbol.iterator]()' method that returns an iterator. lib/Coverage.js(208,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Coverage.js(218,65): error TS2339: Property 'text' does not exist on type 'Promise'. -lib/Coverage.js(240,46): error TS2339: Property 'ruleUsage' does not exist on type 'Promise'. -lib/DOMWorld.js(102,20): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/DOMWorld.js(112,20): error TS2339: Property 'evaluate' does not exist on type 'Promise'. -lib/DOMWorld.js(121,34): error TS2339: Property '$' does not exist on type 'Promise'. -lib/DOMWorld.js(130,7): error TS2740: Type 'Promise' is missing the following properties from type 'ElementHandle': _client, _remoteObject, _page, _frameManager, and 33 more. -lib/DOMWorld.js(133,23): error TS2339: Property 'asElement' does not exist on type 'Promise'. -lib/DOMWorld.js(135,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle'. -lib/DOMWorld.js(144,34): error TS2339: Property '$x' does not exist on type 'Promise'. -lib/DOMWorld.js(156,21): error TS2339: Property '$eval' does not exist on type 'Promise'. -lib/DOMWorld.js(167,34): error TS2339: Property '$$eval' does not exist on type 'Promise'. -lib/DOMWorld.js(177,34): error TS2339: Property '$$' does not exist on type 'Promise'. -lib/DOMWorld.js(185,5): error TS2322: Type 'Promise' is not assignable to type 'string'. -lib/DOMWorld.js(235,31): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/DOMWorld.js(245,29): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/DOMWorld.js(250,29): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/DOMWorld.js(305,31): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/DOMWorld.js(315,29): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/DOMWorld.js(320,29): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/DOMWorld.js(367,18): error TS2339: Property 'click' does not exist on type 'Promise'. -lib/DOMWorld.js(368,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/DOMWorld.js(377,18): error TS2339: Property 'focus' does not exist on type 'Promise'. -lib/DOMWorld.js(378,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/DOMWorld.js(387,18): error TS2339: Property 'hover' does not exist on type 'Promise'. -lib/DOMWorld.js(388,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/DOMWorld.js(399,33): error TS2339: Property 'select' does not exist on type 'Promise'. -lib/DOMWorld.js(400,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/DOMWorld.js(410,18): error TS2339: Property 'tap' does not exist on type 'Promise'. -lib/DOMWorld.js(411,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/DOMWorld.js(422,18): error TS2339: Property 'type' does not exist on type 'Promise'. -lib/DOMWorld.js(423,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/DOMWorld.js(461,5): error TS2322: Type 'Promise' is not assignable to type 'string'. -lib/DOMWorld.js(480,17): error TS2339: Property 'asElement' does not exist on type 'Promise'. -lib/DOMWorld.js(481,20): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/DOMWorld.js(484,19): error TS2339: Property 'asElement' does not exist on type 'Promise'. -lib/DOMWorld.js(570,65): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. lib/EmulationManager.js(36,16): error TS2503: Cannot find namespace 'Protocol'. lib/ExecutionContext.js(26,15): error TS2503: Cannot find namespace 'Protocol'. -lib/ExecutionContext.js(57,5): error TS2740: Type 'Promise' is missing the following properties from type 'JSHandle': _context, _client, _remoteObject, _disposed, and 8 more. -lib/ExecutionContext.js(73,14): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise'. -lib/ExecutionContext.js(73,32): error TS2339: Property 'result' does not exist on type 'Promise'. -lib/ExecutionContext.js(120,13): error TS2339: Property 'exceptionDetails' does not exist on type 'Promise'. -lib/ExecutionContext.js(120,31): error TS2339: Property 'result' does not exist on type 'Promise'. lib/ExecutionContext.js(158,18): error TS2503: Cannot find namespace 'Protocol'. -lib/ExecutionContext.js(182,42): error TS2339: Property 'objects' does not exist on type 'Promise'. -lib/ExecutionContext.js(195,12): error TS2339: Property 'object' does not exist on type 'Promise'. -lib/ExecutionContext.js(196,31): error TS2339: Property 'node' does not exist on type 'Promise'. -lib/FrameManager.js(59,11): error TS2488: Type 'Promise<[any, any]>' must have a '[Symbol.iterator]()' method that returns an iterator. -lib/FrameManager.js(119,50): error TS2339: Property 'loaderId' does not exist on type 'Promise'. -lib/FrameManager.js(120,25): error TS2339: Property 'errorText' does not exist on type 'Promise'. -lib/FrameManager.js(120,59): error TS2339: Property 'errorText' does not exist on type 'Promise'. lib/FrameManager.js(151,15): error TS2503: Cannot find namespace 'Protocol'. lib/FrameManager.js(173,15): error TS2503: Cannot find namespace 'Protocol'. lib/FrameManager.js(230,15): error TS2503: Cannot find namespace 'Protocol'. -lib/FrameManager.js(406,5): error TS2740: Type 'Promise' is missing the following properties from type 'Response': _client, _request, _contentPromise, _bodyLoadedPromise, and 23 more. -lib/FrameManager.js(414,5): error TS2322: Type 'Promise' is not assignable to type 'Response'. -lib/FrameManager.js(430,5): error TS2740: Type 'Promise' is missing the following properties from type 'JSHandle': _context, _client, _remoteObject, _disposed, and 8 more. -lib/FrameManager.js(447,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle'. -lib/FrameManager.js(455,5): error TS2740: Type 'Promise' is missing the following properties from type 'ElementHandle[]': length, pop, push, concat, and 28 more. -lib/FrameManager.js(483,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle[]'. -lib/FrameManager.js(490,5): error TS2322: Type 'Promise' is not assignable to type 'string'. -lib/FrameManager.js(541,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle'. -lib/FrameManager.js(549,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle'. -lib/FrameManager.js(631,47): error TS2339: Property '_adoptElementHandle' does not exist on type 'Promise'. -lib/FrameManager.js(632,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/FrameManager.js(646,47): error TS2339: Property '_adoptElementHandle' does not exist on type 'Promise'. -lib/FrameManager.js(647,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/FrameManager.js(664,5): error TS2322: Type 'Promise' is not assignable to type 'string'. lib/FrameManager.js(668,15): error TS2503: Cannot find namespace 'Protocol'. lib/JSHandle.js(33,15): error TS2503: Cannot find namespace 'Protocol'. -lib/JSHandle.js(64,5): error TS2740: Type 'Promise' is missing the following properties from type 'JSHandle': _context, _client, _remoteObject, _disposed, and 8 more. -lib/JSHandle.js(77,43): error TS2339: Property 'getProperties' does not exist on type 'Promise'. -lib/JSHandle.js(79,24): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/JSHandle.js(92,37): error TS2339: Property 'result' does not exist on type 'Promise'. -lib/JSHandle.js(111,52): error TS2339: Property 'result' does not exist on type 'Promise'. lib/JSHandle.js(147,15): error TS2503: Cannot find namespace 'Protocol'. -lib/JSHandle.js(175,25): error TS2339: Property 'node' does not exist on type 'Promise'. -lib/JSHandle.js(177,46): error TS2339: Property 'node' does not exist on type 'Promise'. -lib/JSHandle.js(198,11): error TS2367: This condition will always return 'true' since the types 'Promise' and 'number' have no overlap. -lib/JSHandle.js(203,23): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/JSHandle.js(210,11): error TS2488: Type 'Promise<[any, any]>' must have a '[Symbol.iterator]()' method that returns an iterator. lib/JSHandle.js(238,29): error TS2503: Cannot find namespace 'Protocol'. -lib/JSHandle.js(274,12): error TS2339: Property 'x' does not exist on type 'Promise<{ x: number; y: number; }>'. -lib/JSHandle.js(274,15): error TS2339: Property 'y' does not exist on type 'Promise<{ x: number; y: number; }>'. -lib/JSHandle.js(283,12): error TS2339: Property 'x' does not exist on type 'Promise<{ x: number; y: number; }>'. -lib/JSHandle.js(283,15): error TS2339: Property 'y' does not exist on type 'Promise<{ x: number; y: number; }>'. -lib/JSHandle.js(294,5): error TS2740: Type 'Promise' is missing the following properties from type 'string[]': length, pop, push, concat, and 28 more. -lib/JSHandle.js(322,12): error TS2339: Property 'x' does not exist on type 'Promise<{ x: number; y: number; }>'. -lib/JSHandle.js(322,15): error TS2339: Property 'y' does not exist on type 'Promise<{ x: number; y: number; }>'. -lib/JSHandle.js(357,25): error TS2339: Property 'model' does not exist on type 'Promise'. -lib/JSHandle.js(375,70): error TS2339: Property 'model' does not exist on type 'Promise'. -lib/JSHandle.js(399,34): error TS2339: Property 'width' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(399,72): error TS2339: Property 'height' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(401,63): error TS2339: Property 'width' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(402,65): error TS2339: Property 'height' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(413,24): error TS2339: Property 'width' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(414,24): error TS2339: Property 'height' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(416,13): error TS2339: Property 'layoutViewport' does not exist on type 'Promise'. -lib/JSHandle.js(419,10): error TS2339: Property 'x' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(420,10): error TS2339: Property 'y' does not exist on type 'Promise<{ x: number; y: number; width: number; height: number; }>'. -lib/JSHandle.js(429,5): error TS2322: Type 'Promise' is not assignable to type 'string | Buffer'. - Type 'Promise' is missing the following properties from type 'Buffer': write, toJSON, equals, compare, and 69 more. -lib/JSHandle.js(441,28): error TS2339: Property 'asElement' does not exist on type 'Promise'. -lib/JSHandle.js(444,18): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/JSHandle.js(457,42): error TS2339: Property 'getProperties' does not exist on type 'Promise'. -lib/JSHandle.js(458,23): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/JSHandle.js(478,40): error TS2339: Property 'evaluate' does not exist on type 'Promise'. -lib/JSHandle.js(479,25): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/JSHandle.js(495,38): error TS2339: Property 'evaluate' does not exist on type 'Promise'. -lib/JSHandle.js(496,23): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/JSHandle.js(517,42): error TS2339: Property 'getProperties' does not exist on type 'Promise'. -lib/JSHandle.js(518,23): error TS2339: Property 'dispose' does not exist on type 'Promise'. -lib/JSHandle.js(540,14): error TS2365: Operator '>' cannot be applied to types 'Promise' and 'number'. -lib/Launcher.js(168,57): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/Launcher.js(169,40): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/Launcher.js(246,44): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'Connection'. - Type 'Promise' is missing the following properties from type 'Connection': _url, _lastId, _callbacks, _delay, and 24 more. -lib/Launcher.js(343,54): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'ConnectionTransport'. - Type 'Promise' is missing the following properties from type 'ConnectionTransport': send, close -lib/Launcher.js(346,67): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/Launcher.js(347,35): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/Launcher.js(351,5): error TS2740: Type 'Promise' is missing the following properties from type 'Browser': _ignoreHTTPSErrors, _defaultViewport, _process, _screenshotTaskQueue, and 39 more. -lib/Launcher.js(417,68): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/Launcher.js(423,21): error TS2339: Property 'waitForTarget' does not exist on type 'Promise'. -lib/Launcher.js(424,7): error TS2322: Type 'Promise' is not assignable to type 'Browser'. -lib/Launcher.js(452,54): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'ConnectionTransport'. -lib/Launcher.js(455,67): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/Launcher.js(456,35): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. -lib/Launcher.js(460,5): error TS2322: Type 'Promise' is not assignable to type 'Browser'. lib/NetworkManager.js(32,30): error TS2503: Cannot find namespace 'Protocol'. lib/NetworkManager.js(159,15): error TS2503: Cannot find namespace 'Protocol'. lib/NetworkManager.js(178,15): error TS2503: Cannot find namespace 'Protocol'. @@ -178,10 +41,6 @@ lib/NetworkManager.js(276,15): error TS2503: Cannot find namespace 'Protocol'. lib/NetworkManager.js(295,15): error TS2503: Cannot find namespace 'Protocol'. lib/NetworkManager.js(319,15): error TS2503: Cannot find namespace 'Protocol'. lib/NetworkManager.js(529,15): error TS2503: Cannot find namespace 'Protocol'. -lib/NetworkManager.js(615,37): error TS2339: Property 'body' does not exist on type 'Promise'. -lib/NetworkManager.js(615,52): error TS2339: Property 'base64Encoded' does not exist on type 'Promise'. -lib/NetworkManager.js(626,29): error TS2554: Expected 0 arguments, but got 1. -lib/NetworkManager.js(634,23): error TS2345: Argument of type 'Promise' is not assignable to parameter of type 'string'. lib/NetworkManager.js(668,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(94,33): error TS2345: Argument of type 'CDPSession' is not assignable to parameter of type 'Puppeteer.CDPSession'. Types of property 'on' are incompatible. @@ -195,67 +54,28 @@ lib/Page.js(94,33): error TS2345: Argument of type 'CDPSession' is not assignabl Type 'string' is not assignable to type 'symbol'. lib/Page.js(147,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(220,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(319,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle'. -lib/Page.js(329,20): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. -lib/Page.js(338,20): error TS2339: Property 'queryObjects' does not exist on type 'Promise'. -lib/Page.js(366,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle[]'. -lib/Page.js(374,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle[]'. -lib/Page.js(384,9): error TS2339: Property 'cookies' does not exist on type 'Promise'. lib/Page.js(388,20): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(424,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle'. -lib/Page.js(432,5): error TS2322: Type 'Promise' is not assignable to type 'ElementHandle'. -lib/Page.js(451,7): error TS2740: Type '(...args: any[]) => Promise' is missing the following properties from type 'Window': applicationCache, caches, clientInformation, closed, and 242 more. +lib/Page.js(451,7): error TS2740: Type '(...args: any[]) => Promise' is missing the following properties from type 'Window': applicationCache, caches, clientInformation, closed, and 223 more. lib/Page.js(461,9): error TS2349: This expression is not callable. Type 'Window' has no call signatures. -lib/Page.js(493,46): error TS2339: Property 'metrics' does not exist on type 'Promise'. lib/Page.js(497,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(507,22): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(520,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(530,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(555,15): error TS2503: Cannot find namespace 'Protocol'. lib/Page.js(608,14): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(658,5): error TS2322: Type 'Promise' is not assignable to type 'string'. -lib/Page.js(675,5): error TS2322: Type 'Promise' is not assignable to type 'Response'. -lib/Page.js(683,11): error TS2488: Type 'Promise<[any, any]>' must have a '[Symbol.iterator]()' method that returns an iterator. -lib/Page.js(695,5): error TS2322: Type 'Promise' is not assignable to type 'Response'. -lib/Page.js(713,5): error TS2740: Type 'Promise' is missing the following properties from type 'Request': _client, _requestId, _isNavigationRequest, _interceptionId, and 25 more. -lib/Page.js(731,5): error TS2740: Type 'Promise' is missing the following properties from type 'Response': _client, _request, _contentPromise, _bodyLoadedPromise, and 23 more. -lib/Page.js(745,5): error TS2322: Type 'Promise' is not assignable to type 'Response'. -lib/Page.js(753,5): error TS2322: Type 'Promise' is not assignable to type 'Response'. -lib/Page.js(762,27): error TS2339: Property 'entries' does not exist on type 'Promise'. -lib/Page.js(762,43): error TS2339: Property 'currentIndex' does not exist on type 'Promise'. -lib/Page.js(765,11): error TS2488: Type 'Promise<[any, any]>' must have a '[Symbol.iterator]()' method that returns an iterator. -lib/Page.js(920,5): error TS2322: Type 'Promise' is not assignable to type 'string | Buffer'. - Type 'Promise' is not assignable to type 'Buffer'. -lib/Page.js(934,39): error TS2339: Property 'contentSize' does not exist on type 'Promise'. -lib/Page.js(935,40): error TS2339: Property 'contentSize' does not exist on type 'Promise'. lib/Page.js(944,19): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(958,59): error TS2339: Property 'data' does not exist on type 'Promise'. -lib/Page.js(958,85): error TS2339: Property 'data' does not exist on type 'Promise'. -lib/Page.js(1024,5): error TS2740: Type 'Promise' is missing the following properties from type 'Buffer': write, toJSON, equals, compare, and 69 more. -lib/Page.js(1024,65): error TS2339: Property 'stream' does not exist on type 'Promise'. -lib/Page.js(1031,5): error TS2322: Type 'Promise' is not assignable to type 'string'. lib/Page.js(1354,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Page.js(1371,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. -lib/Page.js(1384,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. lib/Target.js(23,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Target.js(49,23): error TS2339: Property 'listenerCount' does not exist on type 'Promise'. -lib/Target.js(52,18): error TS2339: Property 'emit' does not exist on type 'Promise'. -lib/Target.js(76,5): error TS2740: Type 'Promise' is missing the following properties from type 'Page': _closed, _client, _target, _keyboard, and 116 more. 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. -lib/Target.js(90,5): error TS2740: Type 'Promise' is missing the following properties from type 'Worker': onmessage, postMessage, terminate, addEventListener, and 3 more. lib/Target.js(135,15): error TS2503: Cannot find namespace 'Protocol'. -lib/Tracing.js(68,5): error TS2740: Type 'Promise' is missing the following properties from type 'Buffer': write, toJSON, equals, compare, and 69 more. 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'. lib/Worker.js(25,50): error TS2503: Cannot find namespace 'Protocol'. lib/Worker.js(26,24): error TS2503: Cannot find namespace 'Protocol'. lib/Worker.js(33,26): error TS2503: Cannot find namespace 'Protocol'. -lib/Worker.js(58,5): error TS2740: Type 'Promise' is missing the following properties from type 'ExecutionContext': _client, _world, _contextId, frame, and 5 more. -lib/Worker.js(67,50): error TS2339: Property 'evaluate' does not exist on type 'Promise'. -lib/Worker.js(76,50): error TS2339: Property 'evaluateHandle' does not exist on type 'Promise'. lib/externs.d.ts(18,26): error TS2503: Cannot find namespace 'Protocol'. lib/externs.d.ts(18,69): error TS2503: Cannot find namespace 'Protocol'. lib/externs.d.ts(19,28): error TS2503: Cannot find namespace 'Protocol'. @@ -264,11 +84,6 @@ lib/externs.d.ts(19,121): error TS2503: Cannot find namespace 'Protocol'. lib/helper.js(45,15): error TS2503: Cannot find namespace 'Protocol'. lib/helper.js(63,15): error TS2503: Cannot find namespace 'Protocol'. lib/helper.js(89,15): error TS2503: Cannot find namespace 'Protocol'. -lib/helper.js(234,7): error TS2322: Type 'Promise' is not assignable to type 'T'. - 'Promise' is assignable to the constraint of type 'T', but 'T' could be instantiated with a different subtype of constraint '{}'. -lib/helper.js(255,22): error TS2339: Property 'eof' does not exist on type 'Promise'. -lib/helper.js(256,40): error TS2339: Property 'data' does not exist on type 'Promise'. -lib/helper.js(256,55): error TS2339: Property 'base64Encoded' does not exist on type 'Promise'. diff --git a/tests/baselines/reference/user/webpack.log b/tests/baselines/reference/user/webpack.log index b6823900efd4c..ea3ca5d95c24c 100644 --- a/tests/baselines/reference/user/webpack.log +++ b/tests/baselines/reference/user/webpack.log @@ -21,10 +21,6 @@ lib/MultiCompiler.js(144,6): error TS2300: Duplicate identifier 'outputFileSyste lib/MultiCompiler.js(153,6): error TS2300: Duplicate identifier 'intermediateFileSystem'. node_modules/schema-utils/declarations/validate.d.ts(39,12): error TS2304: Cannot find name '_default'. node_modules/schema-utils/declarations/validate.d.ts(39,41): error TS2304: Cannot find name '_default'. -tooling/print-cache-file.js(26,18): error TS2339: Property 'size' does not exist on type 'Promise<{ size: number; lazySize: number; }>'. -tooling/print-cache-file.js(26,27): error TS2339: Property 'lazySize' does not exist on type 'Promise<{ size: number; lazySize: number; }>'. -tooling/print-cache-file.js(140,28): error TS2339: Property 'size' does not exist on type 'Promise<{ size: number; lazySize: number; }>'. -tooling/print-cache-file.js(141,8): error TS2339: Property 'lazySize' does not exist on type 'Promise<{ size: number; lazySize: number; }>'. diff --git a/tests/cases/compiler/asyncFunctionReturnType.ts b/tests/cases/compiler/asyncFunctionReturnType.ts index 3bd7a0e998ac2..b8f8590d5228f 100644 --- a/tests/cases/compiler/asyncFunctionReturnType.ts +++ b/tests/cases/compiler/asyncFunctionReturnType.ts @@ -63,7 +63,7 @@ async function fGenericIndexedTypeForExplicitPromiseOfAnyProp( return Promise.resolve(obj.anyProp); } -async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise { +async function fGenericIndexedTypeForKProp(obj: TObj, key: K): Promise> { return obj[key]; } @@ -73,4 +73,4 @@ async function fGenericIndexedTypeForPromiseOfKProp(obj: TObj, key: K): Promise { return Promise.resolve(obj[key]); -} \ No newline at end of file +} diff --git a/tests/cases/conformance/types/mapped/mappedTypesArraysTuples.ts b/tests/cases/conformance/types/mapped/mappedTypesArraysTuples.ts index 2c0f7433ea31c..e3d0a594ffb61 100644 --- a/tests/cases/conformance/types/mapped/mappedTypesArraysTuples.ts +++ b/tests/cases/conformance/types/mapped/mappedTypesArraysTuples.ts @@ -60,7 +60,6 @@ let y21 = nonpartial(x21); declare let x22: { a: number | undefined, b?: string[] }; let y22 = nonpartial(x22); -type Awaited = T extends PromiseLike ? U : T; type Awaitified = { [P in keyof T]: Awaited }; declare function all(...values: T): Promise>;