diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index 7fb79b2efa2c4..4ab044d52bac3 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -2072,6 +2072,10 @@ namespace ts { if (isSpecialPropertyDeclaration(node as PropertyAccessExpression)) { bindSpecialPropertyDeclaration(node as PropertyAccessExpression); } + if (isInJavaScriptFile(node) && isModuleExportsPropertyAccessExpression(node as PropertyAccessExpression)) { + declareSymbol(container.locals!, /*parent*/ undefined, (node as PropertyAccessExpression).expression as Identifier, + SymbolFlags.FunctionScopedVariable | SymbolFlags.ModuleExports, SymbolFlags.FunctionScopedVariableExcludes); + } break; case SyntaxKind.BinaryExpression: const specialKind = getSpecialPropertyAssignmentKind(node as BinaryExpression); diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts index e01c97af49222..88743db0ce50f 100644 --- a/src/compiler/checker.ts +++ b/src/compiler/checker.ts @@ -76,7 +76,6 @@ namespace ts { undefinedSymbol.declarations = []; const argumentsSymbol = createSymbol(SymbolFlags.Property, "arguments" as __String); const requireSymbol = createSymbol(SymbolFlags.Property, "require" as __String); - const moduleSymbol = createSymbol(SymbolFlags.Property, "module" as __String); /** This will be set during calls to `getResolvedSignature` where services determines an apparent number of arguments greater than what is actually provided. */ let apparentArgumentCount: number | undefined; @@ -1422,10 +1421,6 @@ namespace ts { if (isRequireCall(originalLocation.parent, /*checkArgumentIsStringLiteralLike*/ false)) { return requireSymbol; } - if (isIdentifier(originalLocation) && isPropertyAccessExpression(originalLocation.parent) && - originalLocation.escapedText === "module" && originalLocation.parent.name.escapedText === "exports") { - return moduleSymbol; - } } } if (!result) { @@ -2410,7 +2405,7 @@ namespace ts { function getExportsOfModuleWorker(moduleSymbol: Symbol): SymbolTable { const visitedSymbols: Symbol[] = []; - // A module defined by an 'export=' consists on one export that needs to be resolved + // A module defined by an 'export=' consists of one export that needs to be resolved moduleSymbol = resolveExternalModuleSymbol(moduleSymbol); return visit(moduleSymbol) || emptySymbols; @@ -2526,9 +2521,7 @@ namespace ts { function getExportSymbolOfValueSymbolIfExported(symbol: Symbol): Symbol; function getExportSymbolOfValueSymbolIfExported(symbol: Symbol | undefined): Symbol | undefined; function getExportSymbolOfValueSymbolIfExported(symbol: Symbol | undefined): Symbol | undefined { - return symbol && (symbol.flags & SymbolFlags.ExportValue) !== 0 - ? getMergedSymbol(symbol.exportSymbol) - : symbol; + return getMergedSymbol(symbol && (symbol.flags & SymbolFlags.ExportValue) !== 0 ? symbol.exportSymbol : symbol); } function symbolIsValue(symbol: Symbol): boolean { @@ -4710,7 +4703,7 @@ namespace ts { return undefined; } - function getWidenedTypeFromJSSpecialPropertyDeclarations(symbol: Symbol) { + function getWidenedTypeFromJSSpecialPropertyDeclarations(symbol: Symbol, resolvedSymbol?: Symbol) { // function/class/{} assignments are fresh declarations, not property assignments, so only add prototype assignments const specialDeclaration = getAssignedJavascriptInitializer(symbol.valueDeclaration); if (specialDeclaration) { @@ -4766,15 +4759,18 @@ namespace ts { } else if (!jsDocType && isBinaryExpression(expression)) { // If we don't have an explicit JSDoc type, get the type from the expression. - let type = getWidenedLiteralType(checkExpressionCached(expression.right)); + let type = resolvedSymbol ? getTypeOfSymbol(resolvedSymbol) : getWidenedLiteralType(checkExpressionCached(expression.right)); - if (getObjectFlags(type) & ObjectFlags.Anonymous && + if (type.flags & TypeFlags.Object && special === SpecialPropertyAssignmentKind.ModuleExports && symbol.escapedName === InternalSymbolName.ExportEquals) { - const exportedType = resolveStructuredTypeMembers(type as AnonymousType); + const exportedType = resolveStructuredTypeMembers(type as ObjectType); const members = createSymbolTable(); copyEntries(exportedType.members, members); - symbol.exports!.forEach((s, name) => { + if (resolvedSymbol && !resolvedSymbol.exports) { + resolvedSymbol.exports = createSymbolTable(); + } + (resolvedSymbol || symbol).exports!.forEach((s, name) => { if (members.has(name)) { const exportedMember = exportedType.members.get(name)!; const union = createSymbol(s.flags | exportedMember.flags, name); @@ -4984,9 +4980,15 @@ namespace ts { return links.type = getTypeOfPrototypeProperty(symbol); } // CommonsJS require and module both have type any. - if (symbol === requireSymbol || symbol === moduleSymbol) { + if (symbol === requireSymbol) { return links.type = anyType; } + if (symbol.flags & SymbolFlags.ModuleExports) { + const fileSymbol = getSymbolOfNode(getSourceFileOfNode(symbol.valueDeclaration)); + const members = createSymbolTable(); + members.set("exports" as __String, fileSymbol); + return links.type = createAnonymousType(symbol, members, emptyArray, emptyArray, undefined, undefined); + } // Handle catch clause variables const declaration = symbol.valueDeclaration; if (isCatchClauseVariableDeclarationOrBindingElement(declaration)) { @@ -5220,13 +5222,28 @@ namespace ts { links.type = getWidenedTypeFromJSSpecialPropertyDeclarations(symbol); } else { - const type = createObjectType(ObjectFlags.Anonymous, symbol); - if (symbol.flags & SymbolFlags.Class) { - const baseTypeVariable = getBaseTypeVariableOfClass(symbol); - links.type = baseTypeVariable ? getIntersectionType([type, baseTypeVariable]) : type; + if (symbol.flags & SymbolFlags.ValueModule && symbol.valueDeclaration && isSourceFile(symbol.valueDeclaration) && symbol.valueDeclaration.commonJsModuleIndicator) { + if (!pushTypeResolution(symbol, TypeSystemPropertyName.Type)) { + return errorType; + } + const resolvedModule = resolveExternalModuleSymbol(symbol); + if (resolvedModule !== symbol) { + const exportEquals = getMergedSymbol(symbol.exports!.get(InternalSymbolName.ExportEquals)!); + links.type = getWidenedTypeFromJSSpecialPropertyDeclarations(exportEquals, exportEquals === resolvedModule ? undefined : resolvedModule); + } + if (!popTypeResolution()) { + links.type = reportCircularityError(symbol); + } } - else { - links.type = strictNullChecks && symbol.flags & SymbolFlags.Optional ? getOptionalType(type) : type; + if (!links.type) { + const type = createObjectType(ObjectFlags.Anonymous, symbol); + if (symbol.flags & SymbolFlags.Class) { + const baseTypeVariable = getBaseTypeVariableOfClass(symbol); + links.type = baseTypeVariable ? getIntersectionType([type, baseTypeVariable]) : type; + } + else { + links.type = strictNullChecks && symbol.flags & SymbolFlags.Optional ? getOptionalType(type) : type; + } } } } @@ -15016,6 +15033,7 @@ namespace ts { let flowContainer = getControlFlowContainer(node); const isOuterVariable = flowContainer !== declarationContainer; const isSpreadDestructuringAssignmentTarget = node.parent && node.parent.parent && isSpreadAssignment(node.parent) && isDestructuringAssignmentTarget(node.parent.parent); + const isModuleExports = symbol.flags & SymbolFlags.ModuleExports; // When the control flow originates in a function expression or arrow function and we are referencing // a const variable or parameter from an outer function, we extend the origin of the control flow // analysis to include the immediately enclosing function. @@ -15027,7 +15045,7 @@ namespace ts { // We only look for uninitialized variables in strict null checking mode, and only when we can analyze // the entire control flow graph from the variable's declaration (i.e. when the flow container and // declaration container are the same). - const assumeInitialized = isParameter || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || + const assumeInitialized = isParameter || isAlias || isOuterVariable || isSpreadDestructuringAssignmentTarget || isModuleExports || type !== autoType && type !== autoArrayType && (!strictNullChecks || (type.flags & TypeFlags.AnyOrUnknown) !== 0 || isInTypeQuery(node) || node.parent.kind === SyntaxKind.ExportSpecifier) || node.parent.kind === SyntaxKind.NonNullExpression || @@ -19295,7 +19313,9 @@ namespace ts { if (node.expression.kind === SyntaxKind.SuperKeyword) { const superType = checkSuperExpression(node.expression); if (isTypeAny(superType)) { - forEach(node.arguments, checkExpresionNoReturn); // Still visit arguments so they get marked for visibility, etc + for (const arg of node.arguments) { + checkExpression(arg); // Still visit arguments so they get marked for visibility, etc + } return anySignature; } if (superType !== errorType) { @@ -21328,8 +21348,9 @@ namespace ts { function isJSSpecialPropertyAssignment(special: SpecialPropertyAssignmentKind) { switch (special) { - case SpecialPropertyAssignmentKind.ExportsProperty: case SpecialPropertyAssignmentKind.ModuleExports: + return true; + case SpecialPropertyAssignmentKind.ExportsProperty: case SpecialPropertyAssignmentKind.Property: case SpecialPropertyAssignmentKind.Prototype: case SpecialPropertyAssignmentKind.PrototypeProperty: @@ -21643,10 +21664,6 @@ namespace ts { return type; } - function checkExpresionNoReturn(node: Expression) { - checkExpression(node); - } - // Checks an expression and returns its type. The contextualMapper parameter serves two purposes: When // contextualMapper is not undefined and not equal to the identityMapper function object it indicates that the // expression is being inferentially typed (section 4.15.2 in spec) and provides the type mapper to use in diff --git a/src/compiler/types.ts b/src/compiler/types.ts index 0e8bf074af40d..df2775a8d1b3e 100644 --- a/src/compiler/types.ts +++ b/src/compiler/types.ts @@ -3398,6 +3398,7 @@ namespace ts { Optional = 1 << 24, // Optional property Transient = 1 << 25, // Transient symbol (created during type check) JSContainer = 1 << 26, // Contains Javascript special declarations + ModuleExports = 1 << 27, // Symbol for CommonJS `module` of `module.exports` /* @internal */ All = FunctionScopedVariable | BlockScopedVariable | Property | EnumMember | Function | Class | Interface | ConstEnum | RegularEnum | ValueModule | NamespaceModule | TypeLiteral diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts index ee3b704936070..cb72114d5d12c 100644 --- a/tests/baselines/reference/api/tsserverlibrary.d.ts +++ b/tests/baselines/reference/api/tsserverlibrary.d.ts @@ -2049,6 +2049,7 @@ declare namespace ts { Optional = 16777216, Transient = 33554432, JSContainer = 67108864, + ModuleExports = 134217728, Enum = 384, Variable = 3, Value = 67216319, diff --git a/tests/baselines/reference/api/typescript.d.ts b/tests/baselines/reference/api/typescript.d.ts index 484be2d1476d6..971b5e42660e3 100644 --- a/tests/baselines/reference/api/typescript.d.ts +++ b/tests/baselines/reference/api/typescript.d.ts @@ -2049,6 +2049,7 @@ declare namespace ts { Optional = 16777216, Transient = 33554432, JSContainer = 67108864, + ModuleExports = 134217728, Enum = 384, Variable = 3, Value = 67216319, diff --git a/tests/baselines/reference/callbackCrossModule.symbols b/tests/baselines/reference/callbackCrossModule.symbols index be8175c4a1157..7c094d4f93689 100644 --- a/tests/baselines/reference/callbackCrossModule.symbols +++ b/tests/baselines/reference/callbackCrossModule.symbols @@ -4,6 +4,7 @@ * @return {any} I don't even know what this should return */ module.exports = C +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 0, 0)) >exports : Symbol(export=, Decl(mod1.js, 0, 0)) >C : Symbol(C, Decl(mod1.js, 4, 18)) diff --git a/tests/baselines/reference/callbackCrossModule.types b/tests/baselines/reference/callbackCrossModule.types index 2f7619585b940..c3f0aabbc0091 100644 --- a/tests/baselines/reference/callbackCrossModule.types +++ b/tests/baselines/reference/callbackCrossModule.types @@ -5,9 +5,9 @@ */ module.exports = C >module.exports = C : typeof C ->module.exports : any ->module : any ->exports : any +>module.exports : typeof C +>module : { "tests/cases/conformance/jsdoc/mod1": typeof C; } +>exports : typeof C >C : typeof C function C() { diff --git a/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.symbols b/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.symbols index 6826881b83437..3385a5bb58c11 100644 --- a/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.symbols +++ b/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.symbols @@ -22,6 +22,7 @@ export = Foo; /** @typedef {(foo: Foo) => string} FooFun */ module.exports = /** @type {FooFun} */(void 0); +>module.exports : Symbol("tests/cases/compiler/something", Decl(something.js, 0, 0)) >module : Symbol(export=, Decl(something.js, 0, 0)) >exports : Symbol(export=, Decl(something.js, 0, 0)) diff --git a/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types b/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types index 1428cce142b2f..e9385a7152df3 100644 --- a/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types +++ b/tests/baselines/reference/checkJsTypeDefNoUnusedLocalMarked.types @@ -23,9 +23,9 @@ export = Foo; module.exports = /** @type {FooFun} */(void 0); >module.exports = /** @type {FooFun} */(void 0) : (foo: typeof Foo) => string ->module.exports : any ->module : any ->exports : any +>module.exports : (foo: typeof Foo) => string +>module : { "tests/cases/compiler/something": (foo: typeof Foo) => string; } +>exports : (foo: typeof Foo) => string >(void 0) : (foo: typeof Foo) => string >void 0 : undefined >0 : 0 diff --git a/tests/baselines/reference/conflictingCommonJSES2015Exports.symbols b/tests/baselines/reference/conflictingCommonJSES2015Exports.symbols index b022439bf31cf..658650944eb85 100644 --- a/tests/baselines/reference/conflictingCommonJSES2015Exports.symbols +++ b/tests/baselines/reference/conflictingCommonJSES2015Exports.symbols @@ -6,7 +6,9 @@ export function abc(a, b, c) { return 5; } >c : Symbol(c, Decl(bug24934.js, 0, 25)) module.exports = { abc }; ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/bug24934", Decl(bug24934.js, 0, 0)) +>module : Symbol(module, Decl(bug24934.js, 0, 42)) +>exports : Symbol("tests/cases/conformance/salsa/bug24934", Decl(bug24934.js, 0, 0)) >abc : Symbol(abc, Decl(bug24934.js, 1, 18)) === tests/cases/conformance/salsa/use.js === diff --git a/tests/baselines/reference/conflictingCommonJSES2015Exports.types b/tests/baselines/reference/conflictingCommonJSES2015Exports.types index a6afee35f2c09..2d49406a96438 100644 --- a/tests/baselines/reference/conflictingCommonJSES2015Exports.types +++ b/tests/baselines/reference/conflictingCommonJSES2015Exports.types @@ -7,10 +7,10 @@ export function abc(a, b, c) { return 5; } >5 : 5 module.exports = { abc }; ->module.exports = { abc } : { abc: (a: any, b: any, c: any) => number; } ->module.exports : any ->module : any ->exports : any +>module.exports = { abc } : typeof import("tests/cases/conformance/salsa/bug24934") +>module.exports : typeof import("tests/cases/conformance/salsa/bug24934") +>module : { "tests/cases/conformance/salsa/bug24934": typeof import("tests/cases/conformance/salsa/bug24934"); } +>exports : typeof import("tests/cases/conformance/salsa/bug24934") >{ abc } : { abc: (a: any, b: any, c: any) => number; } >abc : (a: any, b: any, c: any) => number diff --git a/tests/baselines/reference/constructorFunctions2.symbols b/tests/baselines/reference/constructorFunctions2.symbols index a01826b1c9994..033a428e6e593 100644 --- a/tests/baselines/reference/constructorFunctions2.symbols +++ b/tests/baselines/reference/constructorFunctions2.symbols @@ -52,6 +52,7 @@ function A() { this.id = 1; } >id : Symbol(A.id, Decl(other.js, 0, 14)) module.exports = A; +>module.exports : Symbol("tests/cases/conformance/salsa/other", Decl(other.js, 0, 0)) >module : Symbol(export=, Decl(other.js, 0, 29)) >exports : Symbol(export=, Decl(other.js, 0, 29)) >A : Symbol(A, Decl(other.js, 0, 0)) diff --git a/tests/baselines/reference/constructorFunctions2.types b/tests/baselines/reference/constructorFunctions2.types index c5c59c25dbabc..b35b5ce2f2ffe 100644 --- a/tests/baselines/reference/constructorFunctions2.types +++ b/tests/baselines/reference/constructorFunctions2.types @@ -70,8 +70,8 @@ function A() { this.id = 1; } module.exports = A; >module.exports = A : typeof A ->module.exports : any ->module : any ->exports : any +>module.exports : typeof A +>module : { "tests/cases/conformance/salsa/other": typeof A; } +>exports : typeof A >A : typeof A diff --git a/tests/baselines/reference/contextualTypedSpecialAssignment.errors.txt b/tests/baselines/reference/contextualTypedSpecialAssignment.errors.txt deleted file mode 100644 index c5851c4614711..0000000000000 --- a/tests/baselines/reference/contextualTypedSpecialAssignment.errors.txt +++ /dev/null @@ -1,89 +0,0 @@ -tests/cases/conformance/salsa/mod.js(5,7): error TS7006: Parameter 'n' implicitly has an 'any' type. -tests/cases/conformance/salsa/test.js(52,7): error TS7006: Parameter 'n' implicitly has an 'any' type. - - -==== tests/cases/conformance/salsa/test.js (1 errors) ==== - /** @typedef {{ - status: 'done' - m(n: number): void - }} DoneStatus */ - - // property assignment - var ns = {} - /** @type {DoneStatus} */ - ns.x = { - status: 'done', - m(n) { } - } - - ns.x = { - status: 'done', - m(n) { } - } - ns.x - - - // this-property assignment - class Thing { - constructor() { - /** @type {DoneStatus} */ - this.s = { - status: 'done', - m(n) { } - } - } - - fail() { - this.s = { - status: 'done', - m(n) { } - } - } - } - - // exports-property assignment - - /** @type {DoneStatus} */ - exports.x = { - status: "done", - m(n) { } - } - exports.x - - /** @type {DoneStatus} contextual typing is allowed, but module.exports.y: any. - Guess it doesn't check the type tag? */ - module.exports.y = { - status: "done", - m(n) { } - ~ -!!! error TS7006: Parameter 'n' implicitly has an 'any' type. - } - module.exports.y - - // prototype-property assignment - /** @type {DoneStatus} */ - Thing.prototype.x = { - status: 'done', - m(n) { } - } - Thing.prototype.x - - // prototype assignment - function F() { - } - /** @type {DoneStatus} */ - F.prototype = { - status: "done", - m(n) { } - } - -==== tests/cases/conformance/salsa/mod.js (1 errors) ==== - // module.exports assignment - /** @type {{ status: 'done', m(n: number): void }} */ - module.exports = { - status: "done", - m(n) { } - ~ -!!! error TS7006: Parameter 'n' implicitly has an 'any' type. - } - \ No newline at end of file diff --git a/tests/baselines/reference/contextualTypedSpecialAssignment.symbols b/tests/baselines/reference/contextualTypedSpecialAssignment.symbols index 2a8b1650ae7bc..375c5e939190f 100644 --- a/tests/baselines/reference/contextualTypedSpecialAssignment.symbols +++ b/tests/baselines/reference/contextualTypedSpecialAssignment.symbols @@ -98,68 +98,74 @@ exports.x >exports : Symbol("tests/cases/conformance/salsa/test", Decl(test.js, 0, 0)) >x : Symbol(x, Decl(test.js, 36, 1)) -/** @type {DoneStatus} contextual typing is allowed, but module.exports.y: any. -Guess it doesn't check the type tag? */ +/** @type {DoneStatus} */ module.exports.y = { +>module.exports.y : Symbol(y, Decl(test.js, 45, 9)) >module.exports : Symbol(y, Decl(test.js, 45, 9)) ->module : Symbol(module) +>module : Symbol(module, Decl(test.js, 45, 9), Decl(test.js, 51, 1)) +>exports : Symbol("tests/cases/conformance/salsa/test", Decl(test.js, 0, 0)) >y : Symbol(y, Decl(test.js, 45, 9)) status: "done", ->status : Symbol(status, Decl(test.js, 49, 20)) +>status : Symbol(status, Decl(test.js, 48, 20)) m(n) { } ->m : Symbol(m, Decl(test.js, 50, 19)) ->n : Symbol(n, Decl(test.js, 51, 6)) +>m : Symbol(m, Decl(test.js, 49, 19)) +>n : Symbol(n, Decl(test.js, 50, 6)) } module.exports.y ->module : Symbol(module) +>module.exports.y : Symbol(y, Decl(test.js, 45, 9)) +>module.exports : Symbol("tests/cases/conformance/salsa/test", Decl(test.js, 0, 0)) +>module : Symbol(module, Decl(test.js, 45, 9), Decl(test.js, 51, 1)) +>exports : Symbol("tests/cases/conformance/salsa/test", Decl(test.js, 0, 0)) +>y : Symbol(y, Decl(test.js, 45, 9)) // prototype-property assignment /** @type {DoneStatus} */ Thing.prototype.x = { ->Thing.prototype.x : Symbol(Thing.x, Decl(test.js, 53, 16)) ->Thing.prototype : Symbol(Thing.x, Decl(test.js, 53, 16)) +>Thing.prototype.x : Symbol(Thing.x, Decl(test.js, 52, 16)) +>Thing.prototype : Symbol(Thing.x, Decl(test.js, 52, 16)) >Thing : Symbol(Thing, Decl(test.js, 17, 4)) >prototype : Symbol(Thing.prototype) ->x : Symbol(Thing.x, Decl(test.js, 53, 16)) +>x : Symbol(Thing.x, Decl(test.js, 52, 16)) status: 'done', ->status : Symbol(status, Decl(test.js, 57, 21)) +>status : Symbol(status, Decl(test.js, 56, 21)) m(n) { } ->m : Symbol(m, Decl(test.js, 58, 19)) ->n : Symbol(n, Decl(test.js, 59, 6)) +>m : Symbol(m, Decl(test.js, 57, 19)) +>n : Symbol(n, Decl(test.js, 58, 6)) } Thing.prototype.x ->Thing.prototype.x : Symbol(Thing.x, Decl(test.js, 53, 16)) +>Thing.prototype.x : Symbol(Thing.x, Decl(test.js, 52, 16)) >Thing.prototype : Symbol(Thing.prototype) >Thing : Symbol(Thing, Decl(test.js, 17, 4)) >prototype : Symbol(Thing.prototype) ->x : Symbol(Thing.x, Decl(test.js, 53, 16)) +>x : Symbol(Thing.x, Decl(test.js, 52, 16)) // prototype assignment function F() { ->F : Symbol(F, Decl(test.js, 61, 17), Decl(test.js, 65, 1)) +>F : Symbol(F, Decl(test.js, 60, 17), Decl(test.js, 64, 1)) } /** @type {DoneStatus} */ F.prototype = { ->F.prototype : Symbol(F.prototype, Decl(test.js, 65, 1)) ->F : Symbol(F, Decl(test.js, 61, 17), Decl(test.js, 65, 1)) ->prototype : Symbol(F.prototype, Decl(test.js, 65, 1)) +>F.prototype : Symbol(F.prototype, Decl(test.js, 64, 1)) +>F : Symbol(F, Decl(test.js, 60, 17), Decl(test.js, 64, 1)) +>prototype : Symbol(F.prototype, Decl(test.js, 64, 1)) status: "done", ->status : Symbol(status, Decl(test.js, 67, 15)) +>status : Symbol(status, Decl(test.js, 66, 15)) m(n) { } ->m : Symbol(m, Decl(test.js, 68, 19)) ->n : Symbol(n, Decl(test.js, 69, 6)) +>m : Symbol(m, Decl(test.js, 67, 19)) +>n : Symbol(n, Decl(test.js, 68, 6)) } === tests/cases/conformance/salsa/mod.js === // module.exports assignment /** @type {{ status: 'done', m(n: number): void }} */ module.exports = { +>module.exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) >module : Symbol(export=, Decl(mod.js, 0, 0)) >exports : Symbol(export=, Decl(mod.js, 0, 0)) diff --git a/tests/baselines/reference/contextualTypedSpecialAssignment.types b/tests/baselines/reference/contextualTypedSpecialAssignment.types index 5bd81e65283e4..c178799c94dda 100644 --- a/tests/baselines/reference/contextualTypedSpecialAssignment.types +++ b/tests/baselines/reference/contextualTypedSpecialAssignment.types @@ -114,31 +114,30 @@ exports.x >exports : typeof import("tests/cases/conformance/salsa/test") >x : { status: "done"; m(n: number): void; } -/** @type {DoneStatus} contextual typing is allowed, but module.exports.y: any. -Guess it doesn't check the type tag? */ +/** @type {DoneStatus} */ module.exports.y = { ->module.exports.y = { status: "done", m(n) { }} : { status: string; m(n: any): void; } ->module.exports.y : any ->module.exports : any ->module : any ->exports : any ->y : any ->{ status: "done", m(n) { }} : { status: string; m(n: any): void; } +>module.exports.y = { status: "done", m(n) { }} : { status: "done"; m(n: number): void; } +>module.exports.y : { status: "done"; m(n: number): void; } +>module.exports : typeof import("tests/cases/conformance/salsa/test") +>module : { "tests/cases/conformance/salsa/test": typeof import("tests/cases/conformance/salsa/test"); } +>exports : typeof import("tests/cases/conformance/salsa/test") +>y : { status: "done"; m(n: number): void; } +>{ status: "done", m(n) { }} : { status: "done"; m(n: number): void; } status: "done", ->status : string +>status : "done" >"done" : "done" m(n) { } ->m : (n: any) => void ->n : any +>m : (n: number) => void +>n : number } module.exports.y ->module.exports.y : any ->module.exports : any ->module : any ->exports : any ->y : any +>module.exports.y : { status: "done"; m(n: number): void; } +>module.exports : typeof import("tests/cases/conformance/salsa/test") +>module : { "tests/cases/conformance/salsa/test": typeof import("tests/cases/conformance/salsa/test"); } +>exports : typeof import("tests/cases/conformance/salsa/test") +>y : { status: "done"; m(n: number): void; } // prototype-property assignment /** @type {DoneStatus} */ @@ -191,18 +190,18 @@ F.prototype = { // module.exports assignment /** @type {{ status: 'done', m(n: number): void }} */ module.exports = { ->module.exports = { status: "done", m(n) { }} : { status: string; m(n: any): void; } ->module.exports : any ->module : any ->exports : any ->{ status: "done", m(n) { }} : { status: string; m(n: any): void; } +>module.exports = { status: "done", m(n) { }} : { status: "done"; m(n: number): void; } +>module.exports : { status: "done"; m(n: number): void; } +>module : { "tests/cases/conformance/salsa/mod": { status: "done"; m(n: number): void; }; } +>exports : { status: "done"; m(n: number): void; } +>{ status: "done", m(n) { }} : { status: "done"; m(n: number): void; } status: "done", ->status : string +>status : "done" >"done" : "done" m(n) { } ->m : (n: any) => void ->n : any +>m : (n: number) => void +>n : number } diff --git a/tests/baselines/reference/exportPropertyAssignmentNameResolution.symbols b/tests/baselines/reference/exportPropertyAssignmentNameResolution.symbols index e7da3bfc2b4ea..df6d56766bcc3 100644 --- a/tests/baselines/reference/exportPropertyAssignmentNameResolution.symbols +++ b/tests/baselines/reference/exportPropertyAssignmentNameResolution.symbols @@ -1,7 +1,9 @@ === tests/cases/conformance/salsa/bug24492.js === module.exports.D = class { } +>module.exports.D : Symbol(D, Decl(bug24492.js, 0, 0)) >module.exports : Symbol(D, Decl(bug24492.js, 0, 0)) ->module : Symbol(module) +>module : Symbol(module, Decl(bug24492.js, 0, 0)) +>exports : Symbol("tests/cases/conformance/salsa/bug24492", Decl(bug24492.js, 0, 0)) >D : Symbol(D, Decl(bug24492.js, 0, 0)) new D() diff --git a/tests/baselines/reference/exportPropertyAssignmentNameResolution.types b/tests/baselines/reference/exportPropertyAssignmentNameResolution.types index 24553ae18c5d1..0cd1490c88611 100644 --- a/tests/baselines/reference/exportPropertyAssignmentNameResolution.types +++ b/tests/baselines/reference/exportPropertyAssignmentNameResolution.types @@ -1,11 +1,11 @@ === tests/cases/conformance/salsa/bug24492.js === module.exports.D = class { } >module.exports.D = class { } : typeof D ->module.exports.D : any ->module.exports : any ->module : any ->exports : any ->D : any +>module.exports.D : typeof D +>module.exports : typeof import("tests/cases/conformance/salsa/bug24492") +>module : { "tests/cases/conformance/salsa/bug24492": typeof import("tests/cases/conformance/salsa/bug24492"); } +>exports : typeof import("tests/cases/conformance/salsa/bug24492") +>D : typeof D >class { } : typeof D new D() diff --git a/tests/baselines/reference/javascriptCommonjsModule.symbols b/tests/baselines/reference/javascriptCommonjsModule.symbols index 923e0b3467b9f..da5d60593f4c9 100644 --- a/tests/baselines/reference/javascriptCommonjsModule.symbols +++ b/tests/baselines/reference/javascriptCommonjsModule.symbols @@ -7,6 +7,7 @@ class Bar extends Foo {} >Foo : Symbol(Foo, Decl(index.js, 0, 0)) module.exports = Bar; +>module.exports : Symbol("tests/cases/compiler/index", Decl(index.js, 0, 0)) >module : Symbol(export=, Decl(index.js, 2, 24)) >exports : Symbol(export=, Decl(index.js, 2, 24)) >Bar : Symbol(Bar, Decl(index.js, 0, 12)) diff --git a/tests/baselines/reference/javascriptCommonjsModule.types b/tests/baselines/reference/javascriptCommonjsModule.types index 88126ce473727..feee6cb3ddf95 100644 --- a/tests/baselines/reference/javascriptCommonjsModule.types +++ b/tests/baselines/reference/javascriptCommonjsModule.types @@ -8,8 +8,8 @@ class Bar extends Foo {} module.exports = Bar; >module.exports = Bar : typeof Bar ->module.exports : any ->module : any ->exports : any +>module.exports : typeof Bar +>module : { "tests/cases/compiler/index": typeof Bar; } +>exports : typeof Bar >Bar : typeof Bar diff --git a/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.symbols b/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.symbols index 6cb2e235ce2cd..3b1f9b780f996 100644 --- a/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.symbols +++ b/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.symbols @@ -1,5 +1,6 @@ === tests/cases/compiler/foo.js === module.exports = function () { +>module.exports : Symbol("tests/cases/compiler/foo", Decl(foo.js, 0, 0)) >module : Symbol(export=, Decl(foo.js, 0, 0)) >exports : Symbol(export=, Decl(foo.js, 0, 0)) diff --git a/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.types b/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.types index fc1fad7f8611b..08378166f7c7a 100644 --- a/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.types +++ b/tests/baselines/reference/jsFileClassPropertyInitalizationInObjectLiteral.types @@ -1,9 +1,9 @@ === tests/cases/compiler/foo.js === module.exports = function () { >module.exports = function () { class A { } return { c: A.b = 1, }} : () => { [x: string]: any; c: number; } ->module.exports : any ->module : any ->exports : any +>module.exports : () => { [x: string]: any; c: number; } +>module : { "tests/cases/compiler/foo": () => { [x: string]: any; c: number; }; } +>exports : () => { [x: string]: any; c: number; } >function () { class A { } return { c: A.b = 1, }} : () => { [x: string]: any; c: number; } class A { } diff --git a/tests/baselines/reference/jsdocImportType.symbols b/tests/baselines/reference/jsdocImportType.symbols index 657ad6801f1cc..dbe46e966e315 100644 --- a/tests/baselines/reference/jsdocImportType.symbols +++ b/tests/baselines/reference/jsdocImportType.symbols @@ -49,7 +49,7 @@ class Chunk { } } module.exports = Chunk; ->module.exports : Symbol(exports, Decl(types.d.ts, 2, 21)) +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 5, 1)) >exports : Symbol(export=, Decl(mod1.js, 5, 1)) >Chunk : Symbol(Chunk, Decl(mod1.js, 0, 0)) diff --git a/tests/baselines/reference/jsdocImportType.types b/tests/baselines/reference/jsdocImportType.types index b2ac2764cd584..a5d3844388a4c 100644 --- a/tests/baselines/reference/jsdocImportType.types +++ b/tests/baselines/reference/jsdocImportType.types @@ -53,8 +53,8 @@ class Chunk { } module.exports = Chunk; >module.exports = Chunk : typeof Chunk ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports : typeof Chunk +>module : { "tests/cases/conformance/jsdoc/mod1": typeof Chunk; } +>exports : typeof Chunk >Chunk : typeof Chunk diff --git a/tests/baselines/reference/jsdocImportType2.symbols b/tests/baselines/reference/jsdocImportType2.symbols index e67d250ca3d60..a7ed5cc3d41c5 100644 --- a/tests/baselines/reference/jsdocImportType2.symbols +++ b/tests/baselines/reference/jsdocImportType2.symbols @@ -39,7 +39,7 @@ declare var module: { exports: any }; === tests/cases/conformance/jsdoc/mod1.js === /// module.exports = class Chunk { ->module.exports : Symbol(exports, Decl(types.d.ts, 2, 21)) +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 0, 0)) >exports : Symbol(export=, Decl(mod1.js, 0, 0)) >Chunk : Symbol(Chunk, Decl(mod1.js, 1, 16)) diff --git a/tests/baselines/reference/jsdocImportType2.types b/tests/baselines/reference/jsdocImportType2.types index c0dfb2d925a24..817b754069aae 100644 --- a/tests/baselines/reference/jsdocImportType2.types +++ b/tests/baselines/reference/jsdocImportType2.types @@ -41,9 +41,9 @@ declare var module: { exports: any }; /// module.exports = class Chunk { >module.exports = class Chunk { constructor() { this.chunk = 1; }} : typeof Chunk ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports : typeof Chunk +>module : { "tests/cases/conformance/jsdoc/mod1": typeof Chunk; } +>exports : typeof Chunk >class Chunk { constructor() { this.chunk = 1; }} : typeof Chunk >Chunk : typeof Chunk diff --git a/tests/baselines/reference/jsdocTypeFromChainedAssignment2.symbols b/tests/baselines/reference/jsdocTypeFromChainedAssignment2.symbols index b85eafa6925e3..35747a423a4d4 100644 --- a/tests/baselines/reference/jsdocTypeFromChainedAssignment2.symbols +++ b/tests/baselines/reference/jsdocTypeFromChainedAssignment2.symbols @@ -41,11 +41,15 @@ exports.f = exports.g = function fg(n) { } /** @param {string} mom */ module.exports.h = module.exports.i = function hi(mom) { +>module.exports.h : Symbol(h, Decl(mod.js, 3, 1)) >module.exports : Symbol(h, Decl(mod.js, 3, 1)) ->module : Symbol(module) +>module : Symbol(module, Decl(mod.js, 3, 1), Decl(mod.js, 5, 18)) +>exports : Symbol("tests/cases/conformance/jsdoc/mod", Decl(mod.js, 0, 0)) >h : Symbol(h, Decl(mod.js, 3, 1)) +>module.exports.i : Symbol(i, Decl(mod.js, 5, 18)) >module.exports : Symbol(i, Decl(mod.js, 5, 18)) ->module : Symbol(module) +>module : Symbol(module, Decl(mod.js, 3, 1), Decl(mod.js, 5, 18)) +>exports : Symbol("tests/cases/conformance/jsdoc/mod", Decl(mod.js, 0, 0)) >i : Symbol(i, Decl(mod.js, 5, 18)) >hi : Symbol(hi, Decl(mod.js, 5, 37)) >mom : Symbol(mom, Decl(mod.js, 5, 50)) diff --git a/tests/baselines/reference/jsdocTypeFromChainedAssignment2.types b/tests/baselines/reference/jsdocTypeFromChainedAssignment2.types index de2a38cce7981..a236e922e9fab 100644 --- a/tests/baselines/reference/jsdocTypeFromChainedAssignment2.types +++ b/tests/baselines/reference/jsdocTypeFromChainedAssignment2.types @@ -56,17 +56,17 @@ exports.f = exports.g = function fg(n) { /** @param {string} mom */ module.exports.h = module.exports.i = function hi(mom) { >module.exports.h = module.exports.i = function hi(mom) { return `hi, ${mom}!`;} : (mom: string) => string ->module.exports.h : any ->module.exports : any ->module : any ->exports : any ->h : any +>module.exports.h : (mom: string) => string +>module.exports : typeof import("tests/cases/conformance/jsdoc/mod") +>module : { "tests/cases/conformance/jsdoc/mod": typeof import("tests/cases/conformance/jsdoc/mod"); } +>exports : typeof import("tests/cases/conformance/jsdoc/mod") +>h : (mom: string) => string >module.exports.i = function hi(mom) { return `hi, ${mom}!`;} : (mom: string) => string ->module.exports.i : any ->module.exports : any ->module : any ->exports : any ->i : any +>module.exports.i : (mom: string) => string +>module.exports : typeof import("tests/cases/conformance/jsdoc/mod") +>module : { "tests/cases/conformance/jsdoc/mod": typeof import("tests/cases/conformance/jsdoc/mod"); } +>exports : typeof import("tests/cases/conformance/jsdoc/mod") +>i : (mom: string) => string >function hi(mom) { return `hi, ${mom}!`;} : (mom: string) => string >hi : (mom: string) => string >mom : string diff --git a/tests/baselines/reference/moduleExportAlias.symbols b/tests/baselines/reference/moduleExportAlias.symbols index 7d17348aa881c..b2d7e17a27f02 100644 --- a/tests/baselines/reference/moduleExportAlias.symbols +++ b/tests/baselines/reference/moduleExportAlias.symbols @@ -120,27 +120,39 @@ exports.func2 = function () { }; var moduleExportsAlias = module.exports; >moduleExportsAlias : Symbol(moduleExportsAlias, Decl(b.js, 4, 3)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) moduleExportsAlias.func3 = function () { }; +>moduleExportsAlias.func3 : Symbol(func3, Decl(b.js, 4, 40)) >moduleExportsAlias : Symbol(moduleExportsAlias, Decl(b.js, 4, 3)) +>func3 : Symbol(func3, Decl(b.js, 4, 40)) module.exports.func4 = function () { }; +>module.exports.func4 : Symbol(func4, Decl(b.js, 5, 43)) >module.exports : Symbol(func4, Decl(b.js, 5, 43)) ->module : Symbol(module) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >func4 : Symbol(func4, Decl(b.js, 5, 43)) var multipleDeclarationAlias1 = exports = module.exports; >multipleDeclarationAlias1 : Symbol(multipleDeclarationAlias1, Decl(b.js, 8, 3)) >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) multipleDeclarationAlias1.func5 = function () { }; +>multipleDeclarationAlias1.func5 : Symbol(func5, Decl(b.js, 8, 57)) >multipleDeclarationAlias1 : Symbol(multipleDeclarationAlias1, Decl(b.js, 8, 3)) +>func5 : Symbol(func5, Decl(b.js, 8, 57)) var multipleDeclarationAlias2 = module.exports = exports; >multipleDeclarationAlias2 : Symbol(multipleDeclarationAlias2, Decl(b.js, 11, 3)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) multipleDeclarationAlias2.func6 = function () { }; @@ -164,30 +176,44 @@ multipleDeclarationAlias3.func7 = function () { }; var multipleDeclarationAlias4 = someOtherVariable = module.exports; >multipleDeclarationAlias4 : Symbol(multipleDeclarationAlias4, Decl(b.js, 18, 3)) >someOtherVariable : Symbol(someOtherVariable, Decl(b.js, 14, 3)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) multipleDeclarationAlias4.func8 = function () { }; +>multipleDeclarationAlias4.func8 : Symbol(func8, Decl(b.js, 18, 67)) >multipleDeclarationAlias4 : Symbol(multipleDeclarationAlias4, Decl(b.js, 18, 3)) +>func8 : Symbol(func8, Decl(b.js, 18, 67)) var multipleDeclarationAlias5 = module.exports = exports = {}; >multipleDeclarationAlias5 : Symbol(multipleDeclarationAlias5, Decl(b.js, 21, 3)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) multipleDeclarationAlias5.func9 = function () { }; +>multipleDeclarationAlias5.func9 : Symbol(func9, Decl(b.js, 21, 62)) >multipleDeclarationAlias5 : Symbol(multipleDeclarationAlias5, Decl(b.js, 21, 3)) +>func9 : Symbol(func9, Decl(b.js, 21, 62)) var multipleDeclarationAlias6 = exports = module.exports = {}; >multipleDeclarationAlias6 : Symbol(multipleDeclarationAlias6, Decl(b.js, 24, 3)) >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) multipleDeclarationAlias6.func10 = function () { }; +>multipleDeclarationAlias6.func10 : Symbol(func10, Decl(b.js, 24, 62)) >multipleDeclarationAlias6 : Symbol(multipleDeclarationAlias6, Decl(b.js, 24, 3)) +>func10 : Symbol(func10, Decl(b.js, 24, 62)) exports = module.exports = someOtherVariable = {}; >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >someOtherVariable : Symbol(someOtherVariable, Decl(b.js, 14, 3)) exports.func11 = function () { }; @@ -196,13 +222,17 @@ exports.func11 = function () { }; >func11 : Symbol(func11, Decl(b.js, 27, 50), Decl(b.js, 31, 50)) module.exports.func12 = function () { }; +>module.exports.func12 : Symbol(func12, Decl(b.js, 28, 33), Decl(b.js, 32, 33)) >module.exports : Symbol(func12, Decl(b.js, 28, 33), Decl(b.js, 32, 33)) ->module : Symbol(module) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >func12 : Symbol(func12, Decl(b.js, 28, 33), Decl(b.js, 32, 33)) exports = module.exports = someOtherVariable = {}; >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >someOtherVariable : Symbol(someOtherVariable, Decl(b.js, 14, 3)) exports.func11 = function () { }; @@ -211,13 +241,17 @@ exports.func11 = function () { }; >func11 : Symbol(func11, Decl(b.js, 27, 50), Decl(b.js, 31, 50)) module.exports.func12 = function () { }; +>module.exports.func12 : Symbol(func12, Decl(b.js, 28, 33), Decl(b.js, 32, 33)) >module.exports : Symbol(func12, Decl(b.js, 28, 33), Decl(b.js, 32, 33)) ->module : Symbol(module) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >func12 : Symbol(func12, Decl(b.js, 28, 33), Decl(b.js, 32, 33)) exports = module.exports = {}; >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) exports.func13 = function () { }; >exports.func13 : Symbol(func13, Decl(b.js, 35, 30)) @@ -225,13 +259,17 @@ exports.func13 = function () { }; >func13 : Symbol(func13, Decl(b.js, 35, 30)) module.exports.func14 = function () { }; +>module.exports.func14 : Symbol(func14, Decl(b.js, 36, 33)) >module.exports : Symbol(func14, Decl(b.js, 36, 33)) ->module : Symbol(module) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >func14 : Symbol(func14, Decl(b.js, 36, 33)) exports = module.exports = {}; >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) exports.func15 = function () { }; >exports.func15 : Symbol(func15, Decl(b.js, 39, 30)) @@ -239,12 +277,16 @@ exports.func15 = function () { }; >func15 : Symbol(func15, Decl(b.js, 39, 30)) module.exports.func16 = function () { }; +>module.exports.func16 : Symbol(func16, Decl(b.js, 40, 33)) >module.exports : Symbol(func16, Decl(b.js, 40, 33)) ->module : Symbol(module) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >func16 : Symbol(func16, Decl(b.js, 40, 33)) module.exports = exports = {}; ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) exports.func17 = function () { }; @@ -253,12 +295,16 @@ exports.func17 = function () { }; >func17 : Symbol(func17, Decl(b.js, 43, 30)) module.exports.func18 = function () { }; +>module.exports.func18 : Symbol(func18, Decl(b.js, 44, 33)) >module.exports : Symbol(func18, Decl(b.js, 44, 33)) ->module : Symbol(module) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >func18 : Symbol(func18, Decl(b.js, 44, 33)) module.exports = {}; ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) exports.func19 = function () { }; >exports.func19 : Symbol(func19, Decl(b.js, 47, 20)) @@ -266,8 +312,10 @@ exports.func19 = function () { }; >func19 : Symbol(func19, Decl(b.js, 47, 20)) module.exports.func20 = function () { }; +>module.exports.func20 : Symbol(func20, Decl(b.js, 48, 33)) >module.exports : Symbol(func20, Decl(b.js, 48, 33)) ->module : Symbol(module) +>module : Symbol(module, Decl(b.js, 4, 24), Decl(b.js, 5, 43), Decl(b.js, 8, 41), Decl(b.js, 11, 31), Decl(b.js, 18, 51) ... and 14 more) +>exports : Symbol("tests/cases/conformance/salsa/b", Decl(b.js, 0, 0)) >func20 : Symbol(func20, Decl(b.js, 48, 33)) diff --git a/tests/baselines/reference/moduleExportAlias.types b/tests/baselines/reference/moduleExportAlias.types index 707dc90a1f5c7..4e52412620218 100644 --- a/tests/baselines/reference/moduleExportAlias.types +++ b/tests/baselines/reference/moduleExportAlias.types @@ -123,48 +123,48 @@ exports.func2 = function () { }; >function () { } : () => void var moduleExportsAlias = module.exports; ->moduleExportsAlias : any ->module.exports : any ->module : any ->exports : any +>moduleExportsAlias : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") moduleExportsAlias.func3 = function () { }; >moduleExportsAlias.func3 = function () { } : () => void ->moduleExportsAlias.func3 : any ->moduleExportsAlias : any ->func3 : any +>moduleExportsAlias.func3 : () => void +>moduleExportsAlias : typeof import("tests/cases/conformance/salsa/b") +>func3 : () => void >function () { } : () => void module.exports.func4 = function () { }; >module.exports.func4 = function () { } : () => void ->module.exports.func4 : any ->module.exports : any ->module : any ->exports : any ->func4 : any +>module.exports.func4 : () => void +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") +>func4 : () => void >function () { } : () => void var multipleDeclarationAlias1 = exports = module.exports; ->multipleDeclarationAlias1 : any ->exports = module.exports : any +>multipleDeclarationAlias1 : typeof import("tests/cases/conformance/salsa/b") +>exports = module.exports : typeof import("tests/cases/conformance/salsa/b") +>exports : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } >exports : typeof import("tests/cases/conformance/salsa/b") ->module.exports : any ->module : any ->exports : any multipleDeclarationAlias1.func5 = function () { }; >multipleDeclarationAlias1.func5 = function () { } : () => void ->multipleDeclarationAlias1.func5 : any ->multipleDeclarationAlias1 : any ->func5 : any +>multipleDeclarationAlias1.func5 : () => void +>multipleDeclarationAlias1 : typeof import("tests/cases/conformance/salsa/b") +>func5 : () => void >function () { } : () => void var multipleDeclarationAlias2 = module.exports = exports; >multipleDeclarationAlias2 : typeof import("tests/cases/conformance/salsa/b") >module.exports = exports : typeof import("tests/cases/conformance/salsa/b") ->module.exports : any ->module : any ->exports : any +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") >exports : typeof import("tests/cases/conformance/salsa/b") multipleDeclarationAlias2.func6 = function () { }; @@ -191,61 +191,61 @@ multipleDeclarationAlias3.func7 = function () { }; >function () { } : () => void var multipleDeclarationAlias4 = someOtherVariable = module.exports; ->multipleDeclarationAlias4 : any ->someOtherVariable = module.exports : any +>multipleDeclarationAlias4 : typeof import("tests/cases/conformance/salsa/b") +>someOtherVariable = module.exports : typeof import("tests/cases/conformance/salsa/b") >someOtherVariable : any ->module.exports : any ->module : any ->exports : any +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") multipleDeclarationAlias4.func8 = function () { }; >multipleDeclarationAlias4.func8 = function () { } : () => void ->multipleDeclarationAlias4.func8 : any ->multipleDeclarationAlias4 : any ->func8 : any +>multipleDeclarationAlias4.func8 : () => void +>multipleDeclarationAlias4 : typeof import("tests/cases/conformance/salsa/b") +>func8 : () => void >function () { } : () => void var multipleDeclarationAlias5 = module.exports = exports = {}; ->multipleDeclarationAlias5 : {} ->module.exports = exports = {} : {} ->module.exports : any ->module : any ->exports : any +>multipleDeclarationAlias5 : typeof import("tests/cases/conformance/salsa/b") +>module.exports = exports = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") >exports = {} : {} >exports : typeof import("tests/cases/conformance/salsa/b") >{} : {} multipleDeclarationAlias5.func9 = function () { }; >multipleDeclarationAlias5.func9 = function () { } : () => void ->multipleDeclarationAlias5.func9 : any ->multipleDeclarationAlias5 : {} ->func9 : any +>multipleDeclarationAlias5.func9 : () => void +>multipleDeclarationAlias5 : typeof import("tests/cases/conformance/salsa/b") +>func9 : () => void >function () { } : () => void var multipleDeclarationAlias6 = exports = module.exports = {}; ->multipleDeclarationAlias6 : {} ->exports = module.exports = {} : {} +>multipleDeclarationAlias6 : typeof import("tests/cases/conformance/salsa/b") +>exports = module.exports = {} : typeof import("tests/cases/conformance/salsa/b") +>exports : typeof import("tests/cases/conformance/salsa/b") +>module.exports = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } >exports : typeof import("tests/cases/conformance/salsa/b") ->module.exports = {} : {} ->module.exports : any ->module : any ->exports : any >{} : {} multipleDeclarationAlias6.func10 = function () { }; >multipleDeclarationAlias6.func10 = function () { } : () => void ->multipleDeclarationAlias6.func10 : any ->multipleDeclarationAlias6 : {} ->func10 : any +>multipleDeclarationAlias6.func10 : () => void +>multipleDeclarationAlias6 : typeof import("tests/cases/conformance/salsa/b") +>func10 : () => void >function () { } : () => void exports = module.exports = someOtherVariable = {}; ->exports = module.exports = someOtherVariable = {} : {} +>exports = module.exports = someOtherVariable = {} : typeof import("tests/cases/conformance/salsa/b") +>exports : typeof import("tests/cases/conformance/salsa/b") +>module.exports = someOtherVariable = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } >exports : typeof import("tests/cases/conformance/salsa/b") ->module.exports = someOtherVariable = {} : {} ->module.exports : any ->module : any ->exports : any >someOtherVariable = {} : {} >someOtherVariable : any >{} : {} @@ -259,20 +259,20 @@ exports.func11 = function () { }; module.exports.func12 = function () { }; >module.exports.func12 = function () { } : () => void ->module.exports.func12 : any ->module.exports : any ->module : any ->exports : any ->func12 : any +>module.exports.func12 : () => void +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") +>func12 : () => void >function () { } : () => void exports = module.exports = someOtherVariable = {}; ->exports = module.exports = someOtherVariable = {} : {} +>exports = module.exports = someOtherVariable = {} : typeof import("tests/cases/conformance/salsa/b") +>exports : typeof import("tests/cases/conformance/salsa/b") +>module.exports = someOtherVariable = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } >exports : typeof import("tests/cases/conformance/salsa/b") ->module.exports = someOtherVariable = {} : {} ->module.exports : any ->module : any ->exports : any >someOtherVariable = {} : {} >someOtherVariable : any >{} : {} @@ -286,20 +286,20 @@ exports.func11 = function () { }; module.exports.func12 = function () { }; >module.exports.func12 = function () { } : () => void ->module.exports.func12 : any ->module.exports : any ->module : any ->exports : any ->func12 : any +>module.exports.func12 : () => void +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") +>func12 : () => void >function () { } : () => void exports = module.exports = {}; ->exports = module.exports = {} : {} +>exports = module.exports = {} : typeof import("tests/cases/conformance/salsa/b") +>exports : typeof import("tests/cases/conformance/salsa/b") +>module.exports = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } >exports : typeof import("tests/cases/conformance/salsa/b") ->module.exports = {} : {} ->module.exports : any ->module : any ->exports : any >{} : {} exports.func13 = function () { }; @@ -311,20 +311,20 @@ exports.func13 = function () { }; module.exports.func14 = function () { }; >module.exports.func14 = function () { } : () => void ->module.exports.func14 : any ->module.exports : any ->module : any ->exports : any ->func14 : any +>module.exports.func14 : () => void +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") +>func14 : () => void >function () { } : () => void exports = module.exports = {}; ->exports = module.exports = {} : {} +>exports = module.exports = {} : typeof import("tests/cases/conformance/salsa/b") +>exports : typeof import("tests/cases/conformance/salsa/b") +>module.exports = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } >exports : typeof import("tests/cases/conformance/salsa/b") ->module.exports = {} : {} ->module.exports : any ->module : any ->exports : any >{} : {} exports.func15 = function () { }; @@ -336,18 +336,18 @@ exports.func15 = function () { }; module.exports.func16 = function () { }; >module.exports.func16 = function () { } : () => void ->module.exports.func16 : any ->module.exports : any ->module : any ->exports : any ->func16 : any +>module.exports.func16 : () => void +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") +>func16 : () => void >function () { } : () => void module.exports = exports = {}; ->module.exports = exports = {} : {} ->module.exports : any ->module : any ->exports : any +>module.exports = exports = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") >exports = {} : {} >exports : typeof import("tests/cases/conformance/salsa/b") >{} : {} @@ -361,18 +361,18 @@ exports.func17 = function () { }; module.exports.func18 = function () { }; >module.exports.func18 = function () { } : () => void ->module.exports.func18 : any ->module.exports : any ->module : any ->exports : any ->func18 : any +>module.exports.func18 : () => void +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") +>func18 : () => void >function () { } : () => void module.exports = {}; ->module.exports = {} : {} ->module.exports : any ->module : any ->exports : any +>module.exports = {} : typeof import("tests/cases/conformance/salsa/b") +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") >{} : {} exports.func19 = function () { }; @@ -384,11 +384,11 @@ exports.func19 = function () { }; module.exports.func20 = function () { }; >module.exports.func20 = function () { } : () => void ->module.exports.func20 : any ->module.exports : any ->module : any ->exports : any ->func20 : any +>module.exports.func20 : () => void +>module.exports : typeof import("tests/cases/conformance/salsa/b") +>module : { "tests/cases/conformance/salsa/b": typeof import("tests/cases/conformance/salsa/b"); } +>exports : typeof import("tests/cases/conformance/salsa/b") +>func20 : () => void >function () { } : () => void diff --git a/tests/baselines/reference/moduleExportAlias2.symbols b/tests/baselines/reference/moduleExportAlias2.symbols index 52e089050b171..f6ebc315313d7 100644 --- a/tests/baselines/reference/moduleExportAlias2.symbols +++ b/tests/baselines/reference/moduleExportAlias2.symbols @@ -31,13 +31,13 @@ declare var module: { exports: any }; /// exports = module.exports = C >exports : Symbol("tests/cases/conformance/salsa/semver", Decl(semver.js, 0, 0)) ->module.exports : Symbol(exports, Decl(node.d.ts, 2, 21)) +>module.exports : Symbol("tests/cases/conformance/salsa/semver", Decl(semver.js, 0, 0)) >module : Symbol(export=, Decl(semver.js, 1, 9)) >exports : Symbol(export=, Decl(semver.js, 1, 9)) >C : Symbol(C, Decl(semver.js, 2, 22)) exports.f = n => n + 1 ->exports.f : Symbol(f, Decl(semver.js, 1, 28)) +>exports.f : Symbol(f) >exports : Symbol(f, Decl(semver.js, 1, 28)) >f : Symbol(f, Decl(semver.js, 1, 28)) >n : Symbol(n, Decl(semver.js, 2, 11)) diff --git a/tests/baselines/reference/moduleExportAlias2.types b/tests/baselines/reference/moduleExportAlias2.types index c76c2c33c4553..65f245a6f4f32 100644 --- a/tests/baselines/reference/moduleExportAlias2.types +++ b/tests/baselines/reference/moduleExportAlias2.types @@ -35,17 +35,17 @@ declare var module: { exports: any }; /// exports = module.exports = C >exports = module.exports = C : typeof C ->exports : typeof import("tests/cases/conformance/salsa/semver") +>exports : typeof C >module.exports = C : typeof C ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports : typeof C +>module : { "tests/cases/conformance/salsa/semver": typeof C; } +>exports : typeof C >C : typeof C exports.f = n => n + 1 >exports.f = n => n + 1 : (n: any) => any >exports.f : (n: any) => any ->exports : typeof import("tests/cases/conformance/salsa/semver") +>exports : typeof C >f : (n: any) => any >n => n + 1 : (n: any) => any >n : any diff --git a/tests/baselines/reference/moduleExportAlias3.symbols b/tests/baselines/reference/moduleExportAlias3.symbols index 740c3004d105a..5b68b27e606c1 100644 --- a/tests/baselines/reference/moduleExportAlias3.symbols +++ b/tests/baselines/reference/moduleExportAlias3.symbols @@ -4,6 +4,7 @@ class C { >C : Symbol(C, Decl(bug24062.js, 0, 0)) } module.exports = { +>module.exports : Symbol("tests/cases/conformance/salsa/bug24062", Decl(bug24062.js, 0, 0)) >module : Symbol(export=, Decl(bug24062.js, 2, 1)) >exports : Symbol(export=, Decl(bug24062.js, 2, 1)) diff --git a/tests/baselines/reference/moduleExportAlias3.types b/tests/baselines/reference/moduleExportAlias3.types index 872eb3ef76efd..23994aeca175f 100644 --- a/tests/baselines/reference/moduleExportAlias3.types +++ b/tests/baselines/reference/moduleExportAlias3.types @@ -5,9 +5,9 @@ class C { } module.exports = { >module.exports = { C} : { [x: string]: any; C: typeof C; } ->module.exports : any ->module : any ->exports : any +>module.exports : { [x: string]: any; C: typeof C; } +>module : { "tests/cases/conformance/salsa/bug24062": { [x: string]: any; C: typeof C; }; } +>exports : { [x: string]: any; C: typeof C; } >{ C} : { [x: string]: any; C: typeof C; } C diff --git a/tests/baselines/reference/moduleExportAlias4.symbols b/tests/baselines/reference/moduleExportAlias4.symbols index 859d3eeb0edfd..1d0cf0ce2bc81 100644 --- a/tests/baselines/reference/moduleExportAlias4.symbols +++ b/tests/baselines/reference/moduleExportAlias4.symbols @@ -6,13 +6,16 @@ var wat = require('./bug24024') >'./bug24024' : Symbol("tests/cases/conformance/salsa/bug24024", Decl(bug24024.js, 0, 0)) module.exports = class C {} +>module.exports : Symbol("tests/cases/conformance/salsa/bug24024", Decl(bug24024.js, 0, 0)) >module : Symbol(export=, Decl(bug24024.js, 1, 31)) >exports : Symbol(export=, Decl(bug24024.js, 1, 31)) >C : Symbol(C, Decl(bug24024.js, 2, 16)) module.exports.D = class D { } +>module.exports.D : Symbol(D) >module.exports : Symbol(D, Decl(bug24024.js, 2, 27)) ->module : Symbol(module) +>module : Symbol(module, Decl(bug24024.js, 1, 31), Decl(bug24024.js, 2, 27)) +>exports : Symbol("tests/cases/conformance/salsa/bug24024", Decl(bug24024.js, 0, 0)) >D : Symbol(D, Decl(bug24024.js, 2, 27)) >D : Symbol(D, Decl(bug24024.js, 3, 18)) diff --git a/tests/baselines/reference/moduleExportAlias4.types b/tests/baselines/reference/moduleExportAlias4.types index 33a7aac2cb468..744252781400b 100644 --- a/tests/baselines/reference/moduleExportAlias4.types +++ b/tests/baselines/reference/moduleExportAlias4.types @@ -8,19 +8,19 @@ var wat = require('./bug24024') module.exports = class C {} >module.exports = class C {} : typeof C ->module.exports : any ->module : any ->exports : any +>module.exports : typeof C +>module : { "tests/cases/conformance/salsa/bug24024": typeof C; } +>exports : typeof C >class C {} : typeof C >C : typeof C module.exports.D = class D { } >module.exports.D = class D { } : typeof D ->module.exports.D : any ->module.exports : any ->module : any ->exports : any ->D : any +>module.exports.D : typeof D +>module.exports : typeof C +>module : { "tests/cases/conformance/salsa/bug24024": typeof C; } +>exports : typeof C +>D : typeof D >class D { } : typeof D >D : typeof D diff --git a/tests/baselines/reference/moduleExportAlias5.symbols b/tests/baselines/reference/moduleExportAlias5.symbols index f856e9ae32ce8..cc9cd7212f471 100644 --- a/tests/baselines/reference/moduleExportAlias5.symbols +++ b/tests/baselines/reference/moduleExportAlias5.symbols @@ -5,6 +5,7 @@ const webpack = function (){ } exports = module.exports = webpack; >exports : Symbol("tests/cases/conformance/salsa/bug24754", Decl(bug24754.js, 0, 0)) +>module.exports : Symbol("tests/cases/conformance/salsa/bug24754", Decl(bug24754.js, 0, 0)) >module : Symbol(export=, Decl(bug24754.js, 3, 9)) >exports : Symbol(export=, Decl(bug24754.js, 3, 9)) >webpack : Symbol(webpack, Decl(bug24754.js, 1, 5)) diff --git a/tests/baselines/reference/moduleExportAlias5.types b/tests/baselines/reference/moduleExportAlias5.types index 47a5cb3ddfaad..b334331c639cd 100644 --- a/tests/baselines/reference/moduleExportAlias5.types +++ b/tests/baselines/reference/moduleExportAlias5.types @@ -5,18 +5,18 @@ const webpack = function (){ >function (){} : { (): void; WebpackOptionsDefaulter: number; } } exports = module.exports = webpack; ->exports = module.exports = webpack : { (): void; WebpackOptionsDefaulter: number; } ->exports : typeof import("tests/cases/conformance/salsa/bug24754") ->module.exports = webpack : { (): void; WebpackOptionsDefaulter: number; } ->module.exports : any ->module : any ->exports : any +>exports = module.exports = webpack : { (): void; WebpackOptionsDefaulter: number; version: number; } +>exports : { (): void; WebpackOptionsDefaulter: number; version: number; } +>module.exports = webpack : { (): void; WebpackOptionsDefaulter: number; version: number; } +>module.exports : { (): void; WebpackOptionsDefaulter: number; version: number; } +>module : { "tests/cases/conformance/salsa/bug24754": { (): void; WebpackOptionsDefaulter: number; version: number; }; } +>exports : { (): void; WebpackOptionsDefaulter: number; version: number; } >webpack : { (): void; WebpackOptionsDefaulter: number; } exports.version = 1001; >exports.version = 1001 : 1001 >exports.version : number ->exports : typeof import("tests/cases/conformance/salsa/bug24754") +>exports : { (): void; WebpackOptionsDefaulter: number; version: number; } >version : number >1001 : 1001 diff --git a/tests/baselines/reference/moduleExportAssignment.symbols b/tests/baselines/reference/moduleExportAssignment.symbols new file mode 100644 index 0000000000000..259f1cb99f880 --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment.symbols @@ -0,0 +1,68 @@ +=== tests/cases/conformance/salsa/use.js === +var npmlog = require('./npmlog') +>npmlog : Symbol(npmlog, Decl(use.js, 0, 3)) +>require : Symbol(require) +>'./npmlog' : Symbol("tests/cases/conformance/salsa/npmlog", Decl(npmlog.js, 0, 0)) + +npmlog.x +>npmlog.x : Symbol(x, Decl(npmlog.js, 7, 23)) +>npmlog : Symbol(npmlog, Decl(use.js, 0, 3)) +>x : Symbol(x, Decl(npmlog.js, 7, 23)) + +npmlog.on +>npmlog.on : Symbol(EE.on, Decl(npmlog.js, 0, 10)) +>npmlog : Symbol(npmlog, Decl(use.js, 0, 3)) +>on : Symbol(EE.on, Decl(npmlog.js, 0, 10)) + +=== tests/cases/conformance/salsa/npmlog.js === +class EE { +>EE : Symbol(EE, Decl(npmlog.js, 0, 0)) + + /** @param {string} s */ + on(s) { } +>on : Symbol(EE.on, Decl(npmlog.js, 0, 10)) +>s : Symbol(s, Decl(npmlog.js, 2, 7)) +} +var npmlog = module.exports = new EE() +>npmlog : Symbol(npmlog, Decl(npmlog.js, 4, 3)) +>module.exports : Symbol("tests/cases/conformance/salsa/npmlog", Decl(npmlog.js, 0, 0)) +>module : Symbol(npmlog, Decl(npmlog.js, 4, 12)) +>exports : Symbol(npmlog, Decl(npmlog.js, 4, 12)) +>EE : Symbol(EE, Decl(npmlog.js, 0, 0)) + +npmlog.on('hi') // both references should see EE.on +>npmlog.on : Symbol(EE.on, Decl(npmlog.js, 0, 10)) +>npmlog : Symbol(npmlog, Decl(npmlog.js, 4, 3)) +>on : Symbol(EE.on, Decl(npmlog.js, 0, 10)) + +module.exports.on('hi') // here too +>module.exports.on : Symbol(EE.on, Decl(npmlog.js, 0, 10)) +>module.exports : Symbol("tests/cases/conformance/salsa/npmlog", Decl(npmlog.js, 0, 0)) +>module : Symbol(module, Decl(npmlog.js, 4, 12), Decl(npmlog.js, 6, 15), Decl(npmlog.js, 9, 12), Decl(npmlog.js, 11, 8)) +>exports : Symbol("tests/cases/conformance/salsa/npmlog", Decl(npmlog.js, 0, 0)) +>on : Symbol(EE.on, Decl(npmlog.js, 0, 10)) + +npmlog.x = 1 +>npmlog.x : Symbol(x, Decl(npmlog.js, 7, 23)) +>npmlog : Symbol(npmlog, Decl(npmlog.js, 4, 3)) +>x : Symbol(x, Decl(npmlog.js, 7, 23)) + +module.exports.y = 2 +>module.exports.y : Symbol(y, Decl(npmlog.js, 9, 12)) +>module.exports : Symbol(y, Decl(npmlog.js, 9, 12)) +>module : Symbol(module, Decl(npmlog.js, 4, 12), Decl(npmlog.js, 6, 15), Decl(npmlog.js, 9, 12), Decl(npmlog.js, 11, 8)) +>exports : Symbol("tests/cases/conformance/salsa/npmlog", Decl(npmlog.js, 0, 0)) +>y : Symbol(y, Decl(npmlog.js, 9, 12)) + +npmlog.y +>npmlog.y : Symbol(y, Decl(npmlog.js, 9, 12)) +>npmlog : Symbol(npmlog, Decl(npmlog.js, 4, 3)) +>y : Symbol(y, Decl(npmlog.js, 9, 12)) + +module.exports.x +>module.exports.x : Symbol(x, Decl(npmlog.js, 7, 23)) +>module.exports : Symbol("tests/cases/conformance/salsa/npmlog", Decl(npmlog.js, 0, 0)) +>module : Symbol(module, Decl(npmlog.js, 4, 12), Decl(npmlog.js, 6, 15), Decl(npmlog.js, 9, 12), Decl(npmlog.js, 11, 8)) +>exports : Symbol("tests/cases/conformance/salsa/npmlog", Decl(npmlog.js, 0, 0)) +>x : Symbol(x, Decl(npmlog.js, 7, 23)) + diff --git a/tests/baselines/reference/moduleExportAssignment.types b/tests/baselines/reference/moduleExportAssignment.types new file mode 100644 index 0000000000000..a1606ef7c45ef --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment.types @@ -0,0 +1,79 @@ +=== tests/cases/conformance/salsa/use.js === +var npmlog = require('./npmlog') +>npmlog : typeof EE +>require('./npmlog') : typeof EE +>require : any +>'./npmlog' : "./npmlog" + +npmlog.x +>npmlog.x : number +>npmlog : typeof EE +>x : number + +npmlog.on +>npmlog.on : (s: string) => void +>npmlog : typeof EE +>on : (s: string) => void + +=== tests/cases/conformance/salsa/npmlog.js === +class EE { +>EE : EE + + /** @param {string} s */ + on(s) { } +>on : (s: string) => void +>s : string +} +var npmlog = module.exports = new EE() +>npmlog : typeof EE +>module.exports = new EE() : typeof EE +>module.exports : typeof EE +>module : { "tests/cases/conformance/salsa/npmlog": typeof EE; } +>exports : typeof EE +>new EE() : EE +>EE : typeof EE + +npmlog.on('hi') // both references should see EE.on +>npmlog.on('hi') : void +>npmlog.on : (s: string) => void +>npmlog : typeof EE +>on : (s: string) => void +>'hi' : "hi" + +module.exports.on('hi') // here too +>module.exports.on('hi') : void +>module.exports.on : (s: string) => void +>module.exports : typeof EE +>module : { "tests/cases/conformance/salsa/npmlog": typeof EE; } +>exports : typeof EE +>on : (s: string) => void +>'hi' : "hi" + +npmlog.x = 1 +>npmlog.x = 1 : 1 +>npmlog.x : number +>npmlog : typeof EE +>x : number +>1 : 1 + +module.exports.y = 2 +>module.exports.y = 2 : 2 +>module.exports.y : number +>module.exports : typeof EE +>module : { "tests/cases/conformance/salsa/npmlog": typeof EE; } +>exports : typeof EE +>y : number +>2 : 2 + +npmlog.y +>npmlog.y : number +>npmlog : typeof EE +>y : number + +module.exports.x +>module.exports.x : number +>module.exports : typeof EE +>module : { "tests/cases/conformance/salsa/npmlog": typeof EE; } +>exports : typeof EE +>x : number + diff --git a/tests/baselines/reference/moduleExportAssignment2.symbols b/tests/baselines/reference/moduleExportAssignment2.symbols new file mode 100644 index 0000000000000..192ecd6a180e3 --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment2.symbols @@ -0,0 +1,27 @@ +=== tests/cases/conformance/salsa/npm.js === +var npm = module.exports = function (tree) { +>npm : Symbol(npm, Decl(npm.js, 0, 3)) +>module.exports : Symbol("tests/cases/conformance/salsa/npm", Decl(npm.js, 0, 0)) +>module : Symbol(npm, Decl(npm.js, 0, 9)) +>exports : Symbol(npm, Decl(npm.js, 0, 9)) +>tree : Symbol(tree, Decl(npm.js, 0, 37)) +} +module.exports.asReadInstalled = function (tree) { +>module.exports.asReadInstalled : Symbol(asReadInstalled, Decl(npm.js, 1, 1)) +>module.exports : Symbol(asReadInstalled, Decl(npm.js, 1, 1)) +>module : Symbol(module, Decl(npm.js, 0, 9), Decl(npm.js, 1, 1)) +>exports : Symbol("tests/cases/conformance/salsa/npm", Decl(npm.js, 0, 0)) +>asReadInstalled : Symbol(asReadInstalled, Decl(npm.js, 1, 1)) +>tree : Symbol(tree, Decl(npm.js, 2, 43)) + + npm(tree) // both references should be callable +>npm : Symbol(npm, Decl(npm.js, 0, 3)) +>tree : Symbol(tree, Decl(npm.js, 2, 43)) + + module.exports(tree) +>module.exports : Symbol("tests/cases/conformance/salsa/npm", Decl(npm.js, 0, 0)) +>module : Symbol(module, Decl(npm.js, 3, 13)) +>exports : Symbol("tests/cases/conformance/salsa/npm", Decl(npm.js, 0, 0)) +>tree : Symbol(tree, Decl(npm.js, 2, 43)) +} + diff --git a/tests/baselines/reference/moduleExportAssignment2.types b/tests/baselines/reference/moduleExportAssignment2.types new file mode 100644 index 0000000000000..1bc1dcb58dc6f --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment2.types @@ -0,0 +1,33 @@ +=== tests/cases/conformance/salsa/npm.js === +var npm = module.exports = function (tree) { +>npm : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>module.exports = function (tree) {} : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>module.exports : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>module : { "tests/cases/conformance/salsa/npm": { (tree: any): void; asReadInstalled: (tree: any) => void; }; } +>exports : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>function (tree) {} : (tree: any) => void +>tree : any +} +module.exports.asReadInstalled = function (tree) { +>module.exports.asReadInstalled = function (tree) { npm(tree) // both references should be callable module.exports(tree)} : (tree: any) => void +>module.exports.asReadInstalled : (tree: any) => void +>module.exports : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>module : { "tests/cases/conformance/salsa/npm": { (tree: any): void; asReadInstalled: (tree: any) => void; }; } +>exports : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>asReadInstalled : (tree: any) => void +>function (tree) { npm(tree) // both references should be callable module.exports(tree)} : (tree: any) => void +>tree : any + + npm(tree) // both references should be callable +>npm(tree) : void +>npm : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>tree : any + + module.exports(tree) +>module.exports(tree) : void +>module.exports : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>module : { "tests/cases/conformance/salsa/npm": { (tree: any): void; asReadInstalled: (tree: any) => void; }; } +>exports : { (tree: any): void; asReadInstalled: (tree: any) => void; } +>tree : any +} + diff --git a/tests/baselines/reference/moduleExportAssignment3.symbols b/tests/baselines/reference/moduleExportAssignment3.symbols new file mode 100644 index 0000000000000..48a8dc841f6a8 --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment3.symbols @@ -0,0 +1,21 @@ +=== tests/cases/conformance/salsa/npm.js === +var mod = require('./mod') +>mod : Symbol(mod, Decl(npm.js, 0, 3)) +>require : Symbol(require) +>'./mod' : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) + +mod() // should be callable from here too +>mod : Symbol(mod, Decl(npm.js, 0, 3)) + +=== tests/cases/conformance/salsa/mod.js === +module.exports = function x() { } +>module.exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) +>module : Symbol(export=, Decl(mod.js, 0, 0)) +>exports : Symbol(export=, Decl(mod.js, 0, 0)) +>x : Symbol(x, Decl(mod.js, 0, 16)) + +module.exports() // should be callable +>module.exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) +>module : Symbol(module, Decl(mod.js, 0, 0), Decl(mod.js, 0, 33)) +>exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) + diff --git a/tests/baselines/reference/moduleExportAssignment3.types b/tests/baselines/reference/moduleExportAssignment3.types new file mode 100644 index 0000000000000..649beaa4ee4de --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment3.types @@ -0,0 +1,26 @@ +=== tests/cases/conformance/salsa/npm.js === +var mod = require('./mod') +>mod : () => void +>require('./mod') : () => void +>require : any +>'./mod' : "./mod" + +mod() // should be callable from here too +>mod() : void +>mod : () => void + +=== tests/cases/conformance/salsa/mod.js === +module.exports = function x() { } +>module.exports = function x() { } : () => void +>module.exports : () => void +>module : { "tests/cases/conformance/salsa/mod": () => void; } +>exports : () => void +>function x() { } : () => void +>x : () => void + +module.exports() // should be callable +>module.exports() : void +>module.exports : () => void +>module : { "tests/cases/conformance/salsa/mod": () => void; } +>exports : () => void + diff --git a/tests/baselines/reference/moduleExportAssignment4.symbols b/tests/baselines/reference/moduleExportAssignment4.symbols new file mode 100644 index 0000000000000..530b452c200f0 --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment4.symbols @@ -0,0 +1,13 @@ +=== tests/cases/conformance/salsa/async.js === +exports.default = { m: 1, a: 1 } +>exports : Symbol(default, Decl(async.js, 0, 0)) +>default : Symbol(default, Decl(async.js, 0, 0)) +>m : Symbol(m, Decl(async.js, 0, 19)) +>a : Symbol(a, Decl(async.js, 0, 25)) + +module.exports = exports['default']; +>module.exports : Symbol("tests/cases/conformance/salsa/async", Decl(async.js, 0, 0)) +>module : Symbol(export=, Decl(async.js, 0, 32)) +>exports : Symbol(export=, Decl(async.js, 0, 32)) +>exports : Symbol("tests/cases/conformance/salsa/async", Decl(async.js, 0, 0)) + diff --git a/tests/baselines/reference/moduleExportAssignment4.types b/tests/baselines/reference/moduleExportAssignment4.types new file mode 100644 index 0000000000000..56e0e6463813c --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment4.types @@ -0,0 +1,21 @@ +=== tests/cases/conformance/salsa/async.js === +exports.default = { m: 1, a: 1 } +>exports.default = { m: 1, a: 1 } : { [x: string]: any; m: number; a: number; } +>exports.default : any +>exports : any +>default : any +>{ m: 1, a: 1 } : { [x: string]: any; m: number; a: number; } +>m : number +>1 : 1 +>a : number +>1 : 1 + +module.exports = exports['default']; +>module.exports = exports['default'] : any +>module.exports : any +>module : { "tests/cases/conformance/salsa/async": any; } +>exports : any +>exports['default'] : any +>exports : any +>'default' : "default" + diff --git a/tests/baselines/reference/moduleExportAssignment5.symbols b/tests/baselines/reference/moduleExportAssignment5.symbols new file mode 100644 index 0000000000000..d05a51e52fc42 --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment5.symbols @@ -0,0 +1,33 @@ +=== tests/cases/conformance/salsa/axios.js === +class Axios { +>Axios : Symbol(Axios, Decl(axios.js, 0, 0)) + + constructor() { + } + m() { } +>m : Symbol(Axios.m, Decl(axios.js, 2, 5)) +} +var axios = new Axios(); +>axios : Symbol(axios, Decl(axios.js, 5, 3)) +>Axios : Symbol(Axios, Decl(axios.js, 0, 0)) + +// none of the 3 references should have a use-before-def error +axios.m() +>axios.m : Symbol(Axios.m, Decl(axios.js, 2, 5)) +>axios : Symbol(axios, Decl(axios.js, 5, 3)) +>m : Symbol(Axios.m, Decl(axios.js, 2, 5)) + +module.exports = axios; +>module.exports : Symbol("tests/cases/conformance/salsa/axios", Decl(axios.js, 0, 0)) +>module : Symbol(export=, Decl(axios.js, 7, 9)) +>exports : Symbol(export=, Decl(axios.js, 7, 9)) +>axios : Symbol(axios, Decl(axios.js, 5, 3)) + +module.exports.default = axios; +>module.exports.default : Symbol(default, Decl(axios.js, 8, 23)) +>module.exports : Symbol(default, Decl(axios.js, 8, 23)) +>module : Symbol(module, Decl(axios.js, 7, 9), Decl(axios.js, 8, 23)) +>exports : Symbol("tests/cases/conformance/salsa/axios", Decl(axios.js, 0, 0)) +>default : Symbol(default, Decl(axios.js, 8, 23)) +>axios : Symbol(axios, Decl(axios.js, 5, 3)) + diff --git a/tests/baselines/reference/moduleExportAssignment5.types b/tests/baselines/reference/moduleExportAssignment5.types new file mode 100644 index 0000000000000..646cedfb4c4d8 --- /dev/null +++ b/tests/baselines/reference/moduleExportAssignment5.types @@ -0,0 +1,37 @@ +=== tests/cases/conformance/salsa/axios.js === +class Axios { +>Axios : Axios + + constructor() { + } + m() { } +>m : () => void +} +var axios = new Axios(); +>axios : Axios +>new Axios() : Axios +>Axios : typeof Axios + +// none of the 3 references should have a use-before-def error +axios.m() +>axios.m() : void +>axios.m : () => void +>axios : Axios +>m : () => void + +module.exports = axios; +>module.exports = axios : typeof Axios +>module.exports : typeof Axios +>module : { "tests/cases/conformance/salsa/axios": typeof Axios; } +>exports : typeof Axios +>axios : Axios + +module.exports.default = axios; +>module.exports.default = axios : Axios +>module.exports.default : Axios +>module.exports : typeof Axios +>module : { "tests/cases/conformance/salsa/axios": typeof Axios; } +>exports : typeof Axios +>default : Axios +>axios : Axios + diff --git a/tests/baselines/reference/moduleExportNestedNamespaces.symbols b/tests/baselines/reference/moduleExportNestedNamespaces.symbols index 566221b3a5629..f1c4d4ad981e2 100644 --- a/tests/baselines/reference/moduleExportNestedNamespaces.symbols +++ b/tests/baselines/reference/moduleExportNestedNamespaces.symbols @@ -1,21 +1,30 @@ === tests/cases/conformance/salsa/mod.js === module.exports.n = {}; +>module.exports.n : Symbol(n, Decl(mod.js, 0, 0), Decl(mod.js, 1, 15)) >module.exports : Symbol(n, Decl(mod.js, 0, 0), Decl(mod.js, 1, 15)) ->module : Symbol(module) +>module : Symbol(module, Decl(mod.js, 0, 0), Decl(mod.js, 0, 22), Decl(mod.js, 3, 1)) +>exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) >n : Symbol(n, Decl(mod.js, 0, 0), Decl(mod.js, 1, 15)) module.exports.n.K = function C() { +>module.exports.n.K : Symbol(n.K, Decl(mod.js, 0, 22)) >module.exports.n : Symbol(n.K, Decl(mod.js, 0, 22)) ->module : Symbol(module) +>module.exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) +>module : Symbol(module, Decl(mod.js, 0, 0), Decl(mod.js, 0, 22), Decl(mod.js, 3, 1)) +>exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) +>n : Symbol(n, Decl(mod.js, 0, 0), Decl(mod.js, 1, 15)) >K : Symbol(n.K, Decl(mod.js, 0, 22)) >C : Symbol(C, Decl(mod.js, 1, 20)) this.x = 10; +>this : Symbol(n, Decl(mod.js, 0, 0), Decl(mod.js, 1, 15)) >x : Symbol(C.x, Decl(mod.js, 1, 35)) } module.exports.Classic = class { +>module.exports.Classic : Symbol(Classic, Decl(mod.js, 3, 1)) >module.exports : Symbol(Classic, Decl(mod.js, 3, 1)) ->module : Symbol(module) +>module : Symbol(module, Decl(mod.js, 0, 0), Decl(mod.js, 0, 22), Decl(mod.js, 3, 1)) +>exports : Symbol("tests/cases/conformance/salsa/mod", Decl(mod.js, 0, 0)) >Classic : Symbol(Classic, Decl(mod.js, 3, 1)) constructor() { diff --git a/tests/baselines/reference/moduleExportNestedNamespaces.types b/tests/baselines/reference/moduleExportNestedNamespaces.types index def26bac423c7..0267a4a4f9709 100644 --- a/tests/baselines/reference/moduleExportNestedNamespaces.types +++ b/tests/baselines/reference/moduleExportNestedNamespaces.types @@ -1,39 +1,39 @@ === tests/cases/conformance/salsa/mod.js === module.exports.n = {}; ->module.exports.n = {} : any ->module.exports.n : any ->module.exports : any ->module : any ->exports : any ->n : any +>module.exports.n = {} : typeof n +>module.exports.n : typeof n +>module.exports : typeof import("tests/cases/conformance/salsa/mod") +>module : { "tests/cases/conformance/salsa/mod": typeof import("tests/cases/conformance/salsa/mod"); } +>exports : typeof import("tests/cases/conformance/salsa/mod") +>n : typeof n >{} : { [x: string]: any; } module.exports.n.K = function C() { >module.exports.n.K = function C() { this.x = 10;} : typeof C ->module.exports.n.K : any ->module.exports.n : any ->module.exports : any ->module : any ->exports : any ->n : any ->K : any +>module.exports.n.K : typeof C +>module.exports.n : typeof n +>module.exports : typeof import("tests/cases/conformance/salsa/mod") +>module : { "tests/cases/conformance/salsa/mod": typeof import("tests/cases/conformance/salsa/mod"); } +>exports : typeof import("tests/cases/conformance/salsa/mod") +>n : typeof n +>K : typeof C >function C() { this.x = 10;} : typeof C >C : typeof C this.x = 10; >this.x = 10 : 10 >this.x : any ->this : any +>this : typeof n >x : any >10 : 10 } module.exports.Classic = class { >module.exports.Classic = class { constructor() { this.p = 1 }} : typeof Classic ->module.exports.Classic : any ->module.exports : any ->module : any ->exports : any ->Classic : any +>module.exports.Classic : typeof Classic +>module.exports : typeof import("tests/cases/conformance/salsa/mod") +>module : { "tests/cases/conformance/salsa/mod": typeof import("tests/cases/conformance/salsa/mod"); } +>exports : typeof import("tests/cases/conformance/salsa/mod") +>Classic : typeof Classic >class { constructor() { this.p = 1 }} : typeof Classic constructor() { diff --git a/tests/baselines/reference/moduleExportPropertyAssignmentDefault.symbols b/tests/baselines/reference/moduleExportPropertyAssignmentDefault.symbols new file mode 100644 index 0000000000000..32d5aa0784a1e --- /dev/null +++ b/tests/baselines/reference/moduleExportPropertyAssignmentDefault.symbols @@ -0,0 +1,18 @@ +=== tests/cases/conformance/salsa/axios.js === +var axios = {} +>axios : Symbol(axios, Decl(axios.js, 0, 3)) + +module.exports = axios // both assignments should be ok +>module.exports : Symbol("tests/cases/conformance/salsa/axios", Decl(axios.js, 0, 0)) +>module : Symbol(export=, Decl(axios.js, 0, 14)) +>exports : Symbol(export=, Decl(axios.js, 0, 14)) +>axios : Symbol(axios, Decl(axios.js, 0, 3)) + +module.exports.default = axios +>module.exports.default : Symbol(default) +>module.exports : Symbol(default, Decl(axios.js, 1, 22)) +>module : Symbol(module, Decl(axios.js, 0, 14), Decl(axios.js, 1, 22)) +>exports : Symbol("tests/cases/conformance/salsa/axios", Decl(axios.js, 0, 0)) +>default : Symbol(default, Decl(axios.js, 1, 22)) +>axios : Symbol(axios, Decl(axios.js, 0, 3)) + diff --git a/tests/baselines/reference/moduleExportPropertyAssignmentDefault.types b/tests/baselines/reference/moduleExportPropertyAssignmentDefault.types new file mode 100644 index 0000000000000..a65961e4daa1d --- /dev/null +++ b/tests/baselines/reference/moduleExportPropertyAssignmentDefault.types @@ -0,0 +1,21 @@ +=== tests/cases/conformance/salsa/axios.js === +var axios = {} +>axios : { [x: string]: any; default: { [x: string]: any; default: any; }; } +>{} : { [x: string]: any; } + +module.exports = axios // both assignments should be ok +>module.exports = axios : { [x: string]: any; default: any; } +>module.exports : { [x: string]: any; default: any; } +>module : { "tests/cases/conformance/salsa/axios": { [x: string]: any; default: any; }; } +>exports : { [x: string]: any; default: any; } +>axios : { [x: string]: any; default: { [x: string]: any; default: any; }; } + +module.exports.default = axios +>module.exports.default = axios : { [x: string]: any; default: { [x: string]: any; default: any; }; } +>module.exports.default : { [x: string]: any; default: any; } +>module.exports : { [x: string]: any; default: any; } +>module : { "tests/cases/conformance/salsa/axios": { [x: string]: any; default: any; }; } +>exports : { [x: string]: any; default: any; } +>default : { [x: string]: any; default: any; } +>axios : { [x: string]: any; default: { [x: string]: any; default: any; }; } + diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment.symbols b/tests/baselines/reference/moduleExportWithExportPropertyAssignment.symbols index c5120a80571e3..d11a1b0d1a646 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment.symbols +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment.symbols @@ -25,15 +25,16 @@ declare function require(name: string): any; === tests/cases/conformance/salsa/mod1.js === /// module.exports = function () { } ->module.exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module.exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 0, 0)) >exports : Symbol(export=, Decl(mod1.js, 0, 0)) /** @param {number} a */ module.exports.f = function (a) { } +>module.exports.f : Symbol(f, Decl(mod1.js, 1, 32)) >module.exports : Symbol(f, Decl(mod1.js, 1, 32)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 1, 32)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >f : Symbol(f, Decl(mod1.js, 1, 32)) >a : Symbol(a, Decl(mod1.js, 3, 29)) diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment.types b/tests/baselines/reference/moduleExportWithExportPropertyAssignment.types index b7170842c1f39..c608ae0a91f9e 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment.types +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment.types @@ -28,20 +28,20 @@ declare function require(name: string): any; === tests/cases/conformance/salsa/mod1.js === /// module.exports = function () { } ->module.exports = function () { } : () => void ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports = function () { } : { (): void; f: (a: number) => void; } +>module.exports : { (): void; f: (a: number) => void; } +>module : { "tests/cases/conformance/salsa/mod1": { (): void; f: (a: number) => void; }; } +>exports : { (): void; f: (a: number) => void; } >function () { } : () => void /** @param {number} a */ module.exports.f = function (a) { } >module.exports.f = function (a) { } : (a: number) => void ->module.exports.f : any ->module.exports : any ->module : { exports: any; } ->exports : any ->f : any +>module.exports.f : (a: number) => void +>module.exports : { (): void; f: (a: number) => void; } +>module : { "tests/cases/conformance/salsa/mod1": { (): void; f: (a: number) => void; }; } +>exports : { (): void; f: (a: number) => void; } +>f : (a: number) => void >function (a) { } : (a: number) => void >a : number diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.errors.txt b/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.errors.txt index 66cb517a25be7..4b0e72b999543 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.errors.txt +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.errors.txt @@ -1,4 +1,5 @@ tests/cases/conformance/salsa/a.js(4,6): error TS2339: Property 'f' does not exist on type 'number'. +tests/cases/conformance/salsa/mod1.js(3,16): error TS2339: Property 'f' does not exist on type 'number'. ==== tests/cases/conformance/salsa/a.js (1 errors) ==== @@ -12,8 +13,10 @@ tests/cases/conformance/salsa/a.js(4,6): error TS2339: Property 'f' does not exi ==== tests/cases/conformance/salsa/requires.d.ts (0 errors) ==== declare var module: { exports: any }; declare function require(name: string): any; -==== tests/cases/conformance/salsa/mod1.js (0 errors) ==== +==== tests/cases/conformance/salsa/mod1.js (1 errors) ==== /// module.exports = 1 module.exports.f = function () { } + ~ +!!! error TS2339: Property 'f' does not exist on type 'number'. \ No newline at end of file diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.symbols b/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.symbols index 0806042409683..9ea285cef15a4 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.symbols +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.symbols @@ -25,13 +25,13 @@ declare function require(name: string): any; === tests/cases/conformance/salsa/mod1.js === /// module.exports = 1 ->module.exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module.exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 0, 0)) >exports : Symbol(export=, Decl(mod1.js, 0, 0)) module.exports.f = function () { } >module.exports : Symbol(f, Decl(mod1.js, 1, 18)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 1, 18)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >f : Symbol(f, Decl(mod1.js, 1, 18)) diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.types b/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.types index 8af94a05fa5c6..3e10c04bc6909 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.types +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment2.types @@ -31,18 +31,18 @@ declare function require(name: string): any; === tests/cases/conformance/salsa/mod1.js === /// module.exports = 1 ->module.exports = 1 : 1 ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports = 1 : number +>module.exports : number +>module : { "tests/cases/conformance/salsa/mod1": number; } +>exports : number >1 : 1 module.exports.f = function () { } >module.exports.f = function () { } : () => void >module.exports.f : any ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports : number +>module : { "tests/cases/conformance/salsa/mod1": number; } +>exports : number >f : any >function () { } : () => void diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.symbols b/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.symbols index 4f14c045d6462..750ee93cf0e3e 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.symbols +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.symbols @@ -41,13 +41,14 @@ declare function require(name: string): any; === tests/cases/conformance/salsa/mod1.js === /// module.exports.bothBefore = 'string' +>module.exports.bothBefore : Symbol(bothBefore) >module.exports : Symbol(bothBefore, Decl(mod1.js, 0, 0)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 1, 36), Decl(mod1.js, 6, 1), Decl(mod1.js, 7, 35)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >bothBefore : Symbol(bothBefore, Decl(mod1.js, 0, 0)) module.exports = { ->module.exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module.exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 1, 36)) >exports : Symbol(export=, Decl(mod1.js, 1, 36)) @@ -61,14 +62,16 @@ module.exports = { >bothAfter : Symbol(bothAfter, Decl(mod1.js, 4, 18)) } module.exports.bothAfter = 'string' +>module.exports.bothAfter : Symbol(bothAfter) >module.exports : Symbol(bothAfter, Decl(mod1.js, 6, 1)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 1, 36), Decl(mod1.js, 6, 1), Decl(mod1.js, 7, 35)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >bothAfter : Symbol(bothAfter, Decl(mod1.js, 6, 1)) module.exports.justProperty = 'string' +>module.exports.justProperty : Symbol(justProperty, Decl(mod1.js, 7, 35)) >module.exports : Symbol(justProperty, Decl(mod1.js, 7, 35)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 1, 36), Decl(mod1.js, 6, 1), Decl(mod1.js, 7, 35)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >justProperty : Symbol(justProperty, Decl(mod1.js, 7, 35)) diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.types b/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.types index 4d14bf647fd2c..71b7dbe7089c7 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.types +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment3.types @@ -50,18 +50,18 @@ declare function require(name: string): any; /// module.exports.bothBefore = 'string' >module.exports.bothBefore = 'string' : "string" ->module.exports.bothBefore : any ->module.exports : any ->module : { exports: any; } ->exports : any ->bothBefore : any +>module.exports.bothBefore : string | number +>module.exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>module : { "tests/cases/conformance/salsa/mod1": { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; }; } +>exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>bothBefore : string | number >'string' : "string" module.exports = { ->module.exports = { justExport: 1, bothBefore: 2, bothAfter: 3,} : { [x: string]: any; justExport: number; bothBefore: number; bothAfter: number; } ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports = { justExport: 1, bothBefore: 2, bothAfter: 3,} : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>module.exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>module : { "tests/cases/conformance/salsa/mod1": { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; }; } +>exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } >{ justExport: 1, bothBefore: 2, bothAfter: 3,} : { [x: string]: any; justExport: number; bothBefore: number; bothAfter: number; } justExport: 1, @@ -78,19 +78,19 @@ module.exports = { } module.exports.bothAfter = 'string' >module.exports.bothAfter = 'string' : "string" ->module.exports.bothAfter : any ->module.exports : any ->module : { exports: any; } ->exports : any ->bothAfter : any +>module.exports.bothAfter : string | number +>module.exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>module : { "tests/cases/conformance/salsa/mod1": { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; }; } +>exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>bothAfter : string | number >'string' : "string" module.exports.justProperty = 'string' >module.exports.justProperty = 'string' : "string" ->module.exports.justProperty : any ->module.exports : any ->module : { exports: any; } ->exports : any ->justProperty : any +>module.exports.justProperty : string +>module.exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>module : { "tests/cases/conformance/salsa/mod1": { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; }; } +>exports : { [x: string]: any; justExport: number; bothBefore: string | number; bothAfter: string | number; justProperty: string; } +>justProperty : string >'string' : "string" diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.symbols b/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.symbols index 400885f4bd9cc..71be64164bc19 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.symbols +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.symbols @@ -41,9 +41,10 @@ declare function require(name: string): any; === tests/cases/conformance/salsa/mod1.js === /// module.exports.bothBefore = 'string' +>module.exports.bothBefore : Symbol(bothBefore) >module.exports : Symbol(A.bothBefore, Decl(mod1.js, 2, 16), Decl(mod1.js, 0, 0)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 4, 15), Decl(mod1.js, 8, 1), Decl(mod1.js, 9, 35)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >bothBefore : Symbol(A.bothBefore, Decl(mod1.js, 2, 16), Decl(mod1.js, 0, 0)) A.justExport = 4 @@ -52,17 +53,17 @@ A.justExport = 4 >justExport : Symbol(A.justExport, Decl(mod1.js, 1, 36)) A.bothBefore = 2 ->A.bothBefore : Symbol(A.bothBefore, Decl(mod1.js, 2, 16)) +>A.bothBefore : Symbol(A.bothBefore, Decl(mod1.js, 2, 16), Decl(mod1.js, 0, 0)) >A : Symbol(A, Decl(mod1.js, 5, 18)) ->bothBefore : Symbol(A.bothBefore, Decl(mod1.js, 2, 16)) +>bothBefore : Symbol(A.bothBefore, Decl(mod1.js, 2, 16), Decl(mod1.js, 0, 0)) A.bothAfter = 3 ->A.bothAfter : Symbol(A.bothAfter, Decl(mod1.js, 3, 16)) +>A.bothAfter : Symbol(A.bothAfter, Decl(mod1.js, 3, 16), Decl(mod1.js, 8, 1)) >A : Symbol(A, Decl(mod1.js, 5, 18)) ->bothAfter : Symbol(A.bothAfter, Decl(mod1.js, 3, 16)) +>bothAfter : Symbol(A.bothAfter, Decl(mod1.js, 3, 16), Decl(mod1.js, 8, 1)) module.exports = A ->module.exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module.exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 4, 15)) >exports : Symbol(export=, Decl(mod1.js, 4, 15)) >A : Symbol(A, Decl(mod1.js, 5, 18)) @@ -74,14 +75,16 @@ function A() { >p : Symbol(A.p, Decl(mod1.js, 6, 14)) } module.exports.bothAfter = 'string' +>module.exports.bothAfter : Symbol(bothAfter) >module.exports : Symbol(A.bothAfter, Decl(mod1.js, 3, 16), Decl(mod1.js, 8, 1)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 4, 15), Decl(mod1.js, 8, 1), Decl(mod1.js, 9, 35)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >bothAfter : Symbol(A.bothAfter, Decl(mod1.js, 3, 16), Decl(mod1.js, 8, 1)) module.exports.justProperty = 'string' +>module.exports.justProperty : Symbol(justProperty) >module.exports : Symbol(justProperty, Decl(mod1.js, 9, 35)) ->module : Symbol(module, Decl(requires.d.ts, 0, 11)) ->exports : Symbol(exports, Decl(requires.d.ts, 0, 21)) +>module : Symbol(module, Decl(mod1.js, 0, 0), Decl(mod1.js, 4, 15), Decl(mod1.js, 8, 1), Decl(mod1.js, 9, 35)) +>exports : Symbol("tests/cases/conformance/salsa/mod1", Decl(mod1.js, 0, 0)) >justProperty : Symbol(justProperty, Decl(mod1.js, 9, 35)) diff --git a/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.types b/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.types index f339118bf05ac..8c55a664fc2e9 100644 --- a/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.types +++ b/tests/baselines/reference/moduleExportWithExportPropertyAssignment4.types @@ -50,11 +50,11 @@ declare function require(name: string): any; /// module.exports.bothBefore = 'string' >module.exports.bothBefore = 'string' : "string" ->module.exports.bothBefore : any ->module.exports : any ->module : { exports: any; } ->exports : any ->bothBefore : any +>module.exports.bothBefore : string | number +>module.exports : typeof A +>module : { "tests/cases/conformance/salsa/mod1": typeof A; } +>exports : typeof A +>bothBefore : string | number >'string' : "string" A.justExport = 4 @@ -66,23 +66,23 @@ A.justExport = 4 A.bothBefore = 2 >A.bothBefore = 2 : 2 ->A.bothBefore : number +>A.bothBefore : string | number >A : typeof A ->bothBefore : number +>bothBefore : string | number >2 : 2 A.bothAfter = 3 >A.bothAfter = 3 : 3 ->A.bothAfter : number +>A.bothAfter : string | number >A : typeof A ->bothAfter : number +>bothAfter : string | number >3 : 3 module.exports = A >module.exports = A : typeof A ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports : typeof A +>module : { "tests/cases/conformance/salsa/mod1": typeof A; } +>exports : typeof A >A : typeof A function A() { @@ -97,19 +97,19 @@ function A() { } module.exports.bothAfter = 'string' >module.exports.bothAfter = 'string' : "string" ->module.exports.bothAfter : any ->module.exports : any ->module : { exports: any; } ->exports : any ->bothAfter : any +>module.exports.bothAfter : string | number +>module.exports : typeof A +>module : { "tests/cases/conformance/salsa/mod1": typeof A; } +>exports : typeof A +>bothAfter : string | number >'string' : "string" module.exports.justProperty = 'string' >module.exports.justProperty = 'string' : "string" ->module.exports.justProperty : any ->module.exports : any ->module : { exports: any; } ->exports : any ->justProperty : any +>module.exports.justProperty : string +>module.exports : typeof A +>module : { "tests/cases/conformance/salsa/mod1": typeof A; } +>exports : typeof A +>justProperty : string >'string' : "string" diff --git a/tests/baselines/reference/paramTagTypeResolution.symbols b/tests/baselines/reference/paramTagTypeResolution.symbols index 1584e2fcb95c6..0622abf2c41b9 100644 --- a/tests/baselines/reference/paramTagTypeResolution.symbols +++ b/tests/baselines/reference/paramTagTypeResolution.symbols @@ -14,6 +14,7 @@ f(1, n => { }) * @param {(t: T) => void} k */ module.exports = function (x, k) { return k(x) } +>module.exports : Symbol("tests/cases/conformance/jsdoc/first", Decl(first.js, 0, 0)) >module : Symbol(export=, Decl(first.js, 0, 0)) >exports : Symbol(export=, Decl(first.js, 0, 0)) >x : Symbol(x, Decl(first.js, 4, 27)) diff --git a/tests/baselines/reference/paramTagTypeResolution.types b/tests/baselines/reference/paramTagTypeResolution.types index daf7749c6bb84..56533fb7d65b2 100644 --- a/tests/baselines/reference/paramTagTypeResolution.types +++ b/tests/baselines/reference/paramTagTypeResolution.types @@ -19,9 +19,9 @@ f(1, n => { }) */ module.exports = function (x, k) { return k(x) } >module.exports = function (x, k) { return k(x) } : (x: T, k: (t: T) => void) => void ->module.exports : any ->module : any ->exports : any +>module.exports : (x: T, k: (t: T) => void) => void +>module : { "tests/cases/conformance/jsdoc/first": (x: T, k: (t: T) => void) => void; } +>exports : (x: T, k: (t: T) => void) => void >function (x, k) { return k(x) } : (x: T, k: (t: T) => void) => void >x : T >k : (t: T) => void diff --git a/tests/baselines/reference/typeFromPropertyAssignment17.symbols b/tests/baselines/reference/typeFromPropertyAssignment17.symbols index cbb5324cab07f..6708c25796e64 100644 --- a/tests/baselines/reference/typeFromPropertyAssignment17.symbols +++ b/tests/baselines/reference/typeFromPropertyAssignment17.symbols @@ -38,6 +38,7 @@ declare var module: any; === tests/cases/conformance/salsa/minimatch.js === /// module.exports = minimatch +>module.exports : Symbol("tests/cases/conformance/salsa/minimatch", Decl(minimatch.js, 0, 0)) >module : Symbol(export=, Decl(minimatch.js, 0, 0)) >exports : Symbol(export=, Decl(minimatch.js, 0, 0)) >minimatch : Symbol(minimatch, Decl(minimatch.js, 6, 1)) diff --git a/tests/baselines/reference/typeFromPropertyAssignment17.types b/tests/baselines/reference/typeFromPropertyAssignment17.types index f325d89c494ad..448880f4c89a7 100644 --- a/tests/baselines/reference/typeFromPropertyAssignment17.types +++ b/tests/baselines/reference/typeFromPropertyAssignment17.types @@ -44,9 +44,9 @@ declare var module: any; /// module.exports = minimatch >module.exports = minimatch : { (): void; M: typeof M; filter: () => void; } ->module.exports : any ->module : any ->exports : any +>module.exports : { (): void; M: typeof M; filter: () => void; } +>module : { "tests/cases/conformance/salsa/minimatch": { (): void; M: typeof M; filter: () => void; }; } +>exports : { (): void; M: typeof M; filter: () => void; } >minimatch : { (): void; M: typeof M; filter: () => void; } minimatch.M = M diff --git a/tests/baselines/reference/typeFromPropertyAssignment19.symbols b/tests/baselines/reference/typeFromPropertyAssignment19.symbols index 4752034a0aa57..39361e90c5f4c 100644 --- a/tests/baselines/reference/typeFromPropertyAssignment19.symbols +++ b/tests/baselines/reference/typeFromPropertyAssignment19.symbols @@ -22,6 +22,7 @@ declare var module: any; /// exports = module.exports = C >exports : Symbol("tests/cases/conformance/salsa/semver", Decl(semver.js, 0, 0)) +>module.exports : Symbol("tests/cases/conformance/salsa/semver", Decl(semver.js, 0, 0)) >module : Symbol(export=, Decl(semver.js, 1, 9)) >exports : Symbol(export=, Decl(semver.js, 1, 9)) >C : Symbol(C, Decl(semver.js, 2, 16), Decl(semver.js, 1, 28)) diff --git a/tests/baselines/reference/typeFromPropertyAssignment19.types b/tests/baselines/reference/typeFromPropertyAssignment19.types index b0200fc231109..87c76be3099ea 100644 --- a/tests/baselines/reference/typeFromPropertyAssignment19.types +++ b/tests/baselines/reference/typeFromPropertyAssignment19.types @@ -25,11 +25,11 @@ declare var module: any; /// exports = module.exports = C >exports = module.exports = C : typeof C ->exports : typeof import("tests/cases/conformance/salsa/semver") +>exports : typeof C >module.exports = C : typeof C ->module.exports : any ->module : any ->exports : any +>module.exports : typeof C +>module : { "tests/cases/conformance/salsa/semver": typeof C; } +>exports : typeof C >C : typeof C C.f = n => n + 1 diff --git a/tests/baselines/reference/typedefCrossModule.symbols b/tests/baselines/reference/typedefCrossModule.symbols index 2ba91903ba3ad..6c16284a557fc 100644 --- a/tests/baselines/reference/typedefCrossModule.symbols +++ b/tests/baselines/reference/typedefCrossModule.symbols @@ -9,7 +9,7 @@ declare var module: { exports: any}; /** @typedef {{ type: "b", y: 1 }} B */ /** @typedef {A | B} Both */ module.exports = C ->module.exports : Symbol(exports, Decl(commonjs.d.ts, 0, 21)) +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 0, 0)) >exports : Symbol(export=, Decl(mod1.js, 0, 0)) >C : Symbol(C, Decl(mod1.js, 4, 18)) diff --git a/tests/baselines/reference/typedefCrossModule.types b/tests/baselines/reference/typedefCrossModule.types index 665fa4989918b..c7719e96bb40e 100644 --- a/tests/baselines/reference/typedefCrossModule.types +++ b/tests/baselines/reference/typedefCrossModule.types @@ -10,9 +10,9 @@ declare var module: { exports: any}; /** @typedef {A | B} Both */ module.exports = C >module.exports = C : typeof C ->module.exports : any ->module : { exports: any; } ->exports : any +>module.exports : typeof C +>module : { "tests/cases/conformance/jsdoc/mod1": typeof C; } +>exports : typeof C >C : typeof C function C() { diff --git a/tests/baselines/reference/typedefCrossModule2.symbols b/tests/baselines/reference/typedefCrossModule2.symbols index b2143e14aa4fb..5e080e66c0308 100644 --- a/tests/baselines/reference/typedefCrossModule2.symbols +++ b/tests/baselines/reference/typedefCrossModule2.symbols @@ -33,6 +33,7 @@ exports.Bar = class { } /** @typedef {number} Baz */ module.exports = { +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 6, 23), Decl(mod1.js, 19, 17)) >exports : Symbol(export=, Decl(mod1.js, 6, 23), Decl(mod1.js, 19, 17)) @@ -54,6 +55,7 @@ exports.Quid = 2; /** @typedef {number} Quack */ module.exports = { +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod1", Decl(mod1.js, 0, 0)) >module : Symbol(export=, Decl(mod1.js, 6, 23), Decl(mod1.js, 19, 17)) >exports : Symbol(export=, Decl(mod1.js, 6, 23), Decl(mod1.js, 19, 17)) diff --git a/tests/baselines/reference/typedefCrossModule2.types b/tests/baselines/reference/typedefCrossModule2.types index 67e4b7a4e890e..27b5933b311db 100644 --- a/tests/baselines/reference/typedefCrossModule2.types +++ b/tests/baselines/reference/typedefCrossModule2.types @@ -31,16 +31,16 @@ class Foo { } // should error exports.Bar = class { } >exports.Bar = class { } : typeof Bar >exports.Bar : typeof Bar ->exports : typeof import("tests/cases/conformance/jsdoc/mod1") +>exports : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } >Bar : typeof Bar >class { } : typeof Bar /** @typedef {number} Baz */ module.exports = { ->module.exports = { Baz: class { }} : { [x: string]: any; Baz: typeof Baz; } ->module.exports : any ->module : any ->exports : any +>module.exports = { Baz: class { }} : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } +>module.exports : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } +>module : { "tests/cases/conformance/jsdoc/mod1": { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; }; } +>exports : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } >{ Baz: class { }} : { [x: string]: any; Baz: typeof Baz; } Baz: class { } @@ -59,16 +59,16 @@ var Qux = 2; exports.Quid = 2; >exports.Quid = 2 : 2 >exports.Quid : any ->exports : typeof import("tests/cases/conformance/jsdoc/mod1") +>exports : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } >Quid : any >2 : 2 /** @typedef {number} Quack */ module.exports = { ->module.exports = { Quack: 2} : { [x: string]: any; Quack: number; } ->module.exports : any ->module : any ->exports : any +>module.exports = { Quack: 2} : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } +>module.exports : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } +>module : { "tests/cases/conformance/jsdoc/mod1": { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; }; } +>exports : { [x: string]: any; Baz: any; Bar: typeof Bar; Quid: any; } | { [x: string]: any; Quack: any; Bar: typeof Bar; Quid: any; } >{ Quack: 2} : { [x: string]: any; Quack: number; } Quack: 2 diff --git a/tests/baselines/reference/typedefCrossModule3.symbols b/tests/baselines/reference/typedefCrossModule3.symbols index b41b278b0c3b9..e4085c79bf15d 100644 --- a/tests/baselines/reference/typedefCrossModule3.symbols +++ b/tests/baselines/reference/typedefCrossModule3.symbols @@ -4,11 +4,12 @@ const ns = {}; >ns : Symbol(ns, Decl(mod2.js, 1, 5), Decl(mod2.js, 1, 14)) ns.Foo = class {} ->ns.Foo : Symbol(ns.Foo, Decl(mod2.js, 1, 14)) +>ns.Foo : Symbol(Foo, Decl(mod2.js, 1, 14), Decl(mod2.js, 0, 4)) >ns : Symbol(ns, Decl(mod2.js, 1, 5), Decl(mod2.js, 1, 14)) ->Foo : Symbol(ns.Foo, Decl(mod2.js, 1, 14)) +>Foo : Symbol(Foo, Decl(mod2.js, 1, 14), Decl(mod2.js, 0, 4)) module.exports = ns; +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod2", Decl(mod2.js, 0, 0)) >module : Symbol(export=, Decl(mod2.js, 2, 17)) >exports : Symbol(export=, Decl(mod2.js, 2, 17)) >ns : Symbol(ns, Decl(mod2.js, 1, 5), Decl(mod2.js, 1, 14)) diff --git a/tests/baselines/reference/typedefCrossModule3.types b/tests/baselines/reference/typedefCrossModule3.types index b9722719895d4..3685895022056 100644 --- a/tests/baselines/reference/typedefCrossModule3.types +++ b/tests/baselines/reference/typedefCrossModule3.types @@ -13,9 +13,9 @@ ns.Foo = class {} module.exports = ns; >module.exports = ns : typeof ns ->module.exports : any ->module : any ->exports : any +>module.exports : typeof ns +>module : { "tests/cases/conformance/jsdoc/mod2": typeof ns; } +>exports : typeof ns >ns : typeof ns diff --git a/tests/baselines/reference/typedefCrossModule4.symbols b/tests/baselines/reference/typedefCrossModule4.symbols index aa478df301a9c..bc68e509d776a 100644 --- a/tests/baselines/reference/typedefCrossModule4.symbols +++ b/tests/baselines/reference/typedefCrossModule4.symbols @@ -4,6 +4,7 @@ class Bar { } >Bar : Symbol(Bar, Decl(mod3.js, 0, 0)) module.exports = { Foo: Bar }; +>module.exports : Symbol("tests/cases/conformance/jsdoc/mod3", Decl(mod3.js, 0, 0)) >module : Symbol(export=, Decl(mod3.js, 1, 13)) >exports : Symbol(export=, Decl(mod3.js, 1, 13)) >Foo : Symbol(Foo, Decl(mod3.js, 2, 18)) diff --git a/tests/baselines/reference/typedefCrossModule4.types b/tests/baselines/reference/typedefCrossModule4.types index a0d14942ef3b5..479e247327363 100644 --- a/tests/baselines/reference/typedefCrossModule4.types +++ b/tests/baselines/reference/typedefCrossModule4.types @@ -4,10 +4,10 @@ class Bar { } >Bar : Bar module.exports = { Foo: Bar }; ->module.exports = { Foo: Bar } : { [x: string]: any; Foo: typeof Bar; } ->module.exports : any ->module : any ->exports : any +>module.exports = { Foo: Bar } : { [x: string]: any; Foo: any; } +>module.exports : { [x: string]: any; Foo: any; } +>module : { "tests/cases/conformance/jsdoc/mod3": { [x: string]: any; Foo: any; }; } +>exports : { [x: string]: any; Foo: any; } >{ Foo: Bar } : { [x: string]: any; Foo: typeof Bar; } >Foo : typeof Bar >Bar : typeof Bar diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log index b805c3a0515b7..09d621aa9aae3 100644 --- a/tests/baselines/reference/user/adonis-framework.log +++ b/tests/baselines/reference/user/adonis-framework.log @@ -65,6 +65,15 @@ node_modules/adonis-framework/src/File/index.js(273,5): error TS2322: Type 'bool Type '""' is not assignable to type 'boolean'. node_modules/adonis-framework/src/Helpers/index.js(105,3): error TS2322: Type 'null' is not assignable to type 'string'. node_modules/adonis-framework/src/Helpers/index.js(106,3): error TS2322: Type 'null' is not assignable to type 'string'. +node_modules/adonis-framework/src/Helpers/index.js(164,10): error TS2554: Expected 3 arguments, but got 2. +node_modules/adonis-framework/src/Helpers/index.js(178,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +node_modules/adonis-framework/src/Helpers/index.js(224,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +node_modules/adonis-framework/src/Helpers/index.js(240,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. +node_modules/adonis-framework/src/Helpers/index.js(256,45): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. node_modules/adonis-framework/src/Helpers/index.js(330,23): error TS2532: Object is possibly 'undefined'. node_modules/adonis-framework/src/Middleware/index.js(13,21): error TS2307: Cannot find module 'adonis-fold'. node_modules/adonis-framework/src/Middleware/index.js(92,19): error TS2538: Type 'undefined' cannot be used as an index type. @@ -107,6 +116,9 @@ node_modules/adonis-framework/src/Route/helpers.js(54,21): error TS8024: JSDoc ' node_modules/adonis-framework/src/Route/helpers.js(131,21): error TS8024: JSDoc '@param' tag has name 'format', but there is no parameter with that name. node_modules/adonis-framework/src/Route/index.js(30,5): error TS2322: Type 'null' is not assignable to type 'string'. node_modules/adonis-framework/src/Route/index.js(58,3): error TS2322: Type 'null' is not assignable to type 'string'. +node_modules/adonis-framework/src/Route/index.js(101,21): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'. +node_modules/adonis-framework/src/Route/index.js(259,21): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'string'. +node_modules/adonis-framework/src/Route/index.js(280,21): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'string'. node_modules/adonis-framework/src/Route/index.js(321,13): error TS2304: Cannot find name 'Mixed'. node_modules/adonis-framework/src/Route/index.js(321,20): error TS8029: JSDoc '@param' tag has name 'keys', but there is no parameter with that name. It would match 'arguments' if it had an array type. node_modules/adonis-framework/src/Route/index.js(354,20): error TS2694: Namespace 'Route' has no exported member 'Group'. diff --git a/tests/baselines/reference/user/assert.log b/tests/baselines/reference/user/assert.log index d2498d0949a87..37a2c42e4d60e 100644 --- a/tests/baselines/reference/user/assert.log +++ b/tests/baselines/reference/user/assert.log @@ -1,38 +1,14 @@ Exit Code: 1 Standard output: -node_modules/assert/assert.js(123,8): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'. node_modules/assert/assert.js(124,8): error TS2540: Cannot assign to 'name' because it is a constant or a read-only property. -node_modules/assert/assert.js(125,8): error TS2339: Property 'actual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(126,8): error TS2339: Property 'expected' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(127,8): error TS2339: Property 'operator' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(129,10): error TS2339: Property 'message' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(130,10): error TS2339: Property 'generatedMessage' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(132,10): error TS2339: Property 'message' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(133,10): error TS2339: Property 'generatedMessage' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(154,12): error TS2339: Property 'stack' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(160,22): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(195,20): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(205,8): error TS2339: Property 'fail' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(215,55): error TS2339: Property 'ok' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(217,8): error TS2339: Property 'ok' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(223,8): error TS2339: Property 'equal' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(224,72): error TS2339: Property 'equal' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(230,8): error TS2339: Property 'notEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(232,50): error TS2339: Property 'notEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(239,8): error TS2339: Property 'deepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(241,57): error TS2339: Property 'deepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(245,8): error TS2339: Property 'deepStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(247,63): error TS2339: Property 'deepStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(366,8): error TS2339: Property 'notDeepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(368,60): error TS2339: Property 'notDeepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(372,8): error TS2339: Property 'notDeepStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(383,8): error TS2339: Property 'strictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(385,51): error TS2339: Property 'strictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(392,8): error TS2339: Property 'notStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(394,51): error TS2339: Property 'notStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(473,8): error TS2339: Property 'throws' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(478,8): error TS2339: Property 'doesNotThrow' does not exist on type '(value: any, message: any) => void'. -node_modules/assert/assert.js(482,8): error TS2339: Property 'ifError' does not exist on type '(value: any, message: any) => void'. +node_modules/assert/assert.js(125,8): error TS2339: Property 'actual' does not exist on type 'typeof ok'. +node_modules/assert/assert.js(126,8): error TS2339: Property 'expected' does not exist on type 'typeof ok'. +node_modules/assert/assert.js(127,8): error TS2339: Property 'operator' does not exist on type 'typeof ok'. +node_modules/assert/assert.js(129,10): error TS2339: Property 'message' does not exist on type 'typeof ok'. +node_modules/assert/assert.js(130,10): error TS2339: Property 'generatedMessage' does not exist on type 'typeof ok'. +node_modules/assert/assert.js(132,10): error TS2339: Property 'message' does not exist on type 'typeof ok'. +node_modules/assert/assert.js(133,10): error TS2339: Property 'generatedMessage' does not exist on type 'typeof ok'. +node_modules/assert/assert.js(154,12): error TS2339: Property 'stack' does not exist on type 'typeof ok'. node_modules/assert/test.js(25,5): error TS2367: This condition will always return 'false' since the types 'string | undefined' and 'boolean' have no overlap. node_modules/assert/test.js(39,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'? node_modules/assert/test.js(55,5): error TS2552: Cannot find name 'test'. Did you mean 'tests'? diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log index 4343200c0499a..7b78dfd4e0e46 100644 --- a/tests/baselines/reference/user/chrome-devtools-frontend.log +++ b/tests/baselines/reference/user/chrome-devtools-frontend.log @@ -761,39 +761,6 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20039,15): error TS2339: Property 'runLighthouseForConnection' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20046,8): error TS2339: Property 'getDefaultCategories' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20050,8): error TS2339: Property 'listenForStatus' does not exist on type 'Window'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20178,8): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20179,6): error TS2540: Cannot assign to 'name' because it is a constant or a read-only property. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20180,6): error TS2339: Property 'actual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20181,6): error TS2339: Property 'expected' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20182,6): error TS2339: Property 'operator' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20184,6): error TS2339: Property 'message' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20185,6): error TS2339: Property 'generatedMessage' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20187,6): error TS2339: Property 'message' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20188,6): error TS2339: Property 'generatedMessage' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20209,6): error TS2339: Property 'stack' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20215,22): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20250,18): error TS2339: Property 'AssertionError' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20260,8): error TS2339: Property 'fail' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20270,47): error TS2339: Property 'ok' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20272,8): error TS2339: Property 'ok' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20278,8): error TS2339: Property 'equal' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20279,62): error TS2339: Property 'equal' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20285,8): error TS2339: Property 'notEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20287,42): error TS2339: Property 'notEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20294,8): error TS2339: Property 'deepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20296,49): error TS2339: Property 'deepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20300,8): error TS2339: Property 'deepStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20302,55): error TS2339: Property 'deepStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20421,8): error TS2339: Property 'notDeepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20423,52): error TS2339: Property 'notDeepEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20427,8): error TS2339: Property 'notDeepStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20438,8): error TS2339: Property 'strictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20440,43): error TS2339: Property 'strictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20447,8): error TS2339: Property 'notStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20449,43): error TS2339: Property 'notStrictEqual' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20528,8): error TS2339: Property 'throws' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20533,8): error TS2339: Property 'doesNotThrow' does not exist on type '(value: any, message: any) => void'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20537,8): error TS2339: Property 'ifError' does not exist on type '(value: any, message: any) => void'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20785,6): error TS2339: Property 'callback' does not exist on type 'Zlib'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20896,6): error TS2339: Property 'onerror' does not exist on type 'Zlib'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(20987,8): error TS2350: Only a void function can be called with the 'new' keyword. @@ -1798,11 +1765,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51981,33): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(51987,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52034,11): error TS2304: Cannot find name 'WebInspector'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52066,10): error TS2339: Property 'children' does not exist on type 'never'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52070,23): error TS2339: Property 'children' does not exist on type 'never'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52074,23): error TS2339: Property 'children' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52076,18): error TS2304: Cannot find name 'WebInspector'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52076,72): error TS2339: Property 'totalTime' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52097,8): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52105,31): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(52106,32): error TS2304: Cannot find name 'WebInspector'. @@ -2677,7 +2640,6 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58187,1): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58231,13): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58278,16): error TS2304: Cannot find name 'WebInspector'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58296,43): error TS2339: Property 'peekLast' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58309,20): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58322,34): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58343,17): error TS2304: Cannot find name 'WebInspector'. @@ -2702,7 +2664,6 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58426,88): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58434,17): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58451,4): error TS2304: Cannot find name 'WebInspector'. -node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58462,33): error TS2339: Property 'mergeOrdered' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58462,60): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58476,18): error TS2304: Cannot find name 'WebInspector'. node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(58491,25): error TS2339: Property 'peekLast' does not exist on type 'any[]'. @@ -3386,8 +3347,6 @@ node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2858,32): error node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(2858,49): error TS2339: Property 'right' does not exist on type 'never'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(3034,25): error TS2339: Property 'xRel' does not exist on type 'Pos'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(4840,5): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type. -node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(5634,9): error TS2322: Type 'BranchChunk' is not assignable to type '{ [x: string]: any; chunkSize: () => any; removeInner: typeof removeInner; collapse: (lines: any) => void; insertInner: (at: any, lines: any, height: any) => void; maybeSpill: () => void; iterN: (at: any, n: any, op: any) => boolean; }'. - Property 'chunkSize' is missing in type 'BranchChunk'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(5675,35): error TS2339: Property 'line' does not exist on type 'LineWidget'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(5675,61): error TS2339: Property 'line' does not exist on type 'LineWidget'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(5693,57): error TS2339: Property 'line' does not exist on type 'LineWidget'. @@ -3446,8 +3405,6 @@ node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(7827,32): error node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(7827,41): error TS2339: Property 'textRendering' does not exist on type 'CSSStyleDeclaration'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(7828,15): error TS2339: Property 'lineDiv' does not exist on type 'Display'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(7895,25): error TS2362: The left-hand side of an arithmetic operation must be of type 'any', 'number' or an enum type. -node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(8259,62): error TS2339: Property 'state' does not exist on type 'any[] | Token'. - Property 'state' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(8658,17): error TS2339: Property 'outside' does not exist on type 'Pos'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(8659,54): error TS2339: Property 'hitSide' does not exist on type 'Pos'. node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(8680,19): error TS2339: Property 'div' does not exist on type 'ContentEditableInput'. @@ -3770,7 +3727,7 @@ node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(27,15): error TS2339: Property 'runtime' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(39,2): error TS1131: Property or signature expected. node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(40,17): error TS2300: Duplicate identifier 'Options'. -node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(40,17): error TS2339: Property 'Options' does not exist on type '{ (): void; prototype: { [x: string]: any; }; renderPromise(object: any, options?: any): Promise; }'. +node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(40,17): error TS2339: Property 'Options' does not exist on type '{ (): void; prototype: { [x: string]: any; render(object: any, options: any): Promise; }; renderPromise(object: any, options?: any): Promise; }'. node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(63,15): error TS2339: Property 'runtime' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(81,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/ModuleExtensionInterfaces.js(105,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. @@ -3783,10 +3740,12 @@ node_modules/chrome-devtools-frontend/front_end/common/Object.js(119,8): error T node_modules/chrome-devtools-frontend/front_end/common/Object.js(122,76): error TS2694: Namespace 'Common' has no exported member 'Event'. node_modules/chrome-devtools-frontend/front_end/common/Object.js(124,15): error TS2339: Property '_listenerCallbackTuple' does not exist on type 'typeof Object'. node_modules/chrome-devtools-frontend/front_end/common/Object.js(132,129): error TS2694: Namespace 'Common' has no exported member 'Event'. -node_modules/chrome-devtools-frontend/front_end/common/Object.js(134,20): error TS2339: Property 'EventDescriptor' does not exist on type '{ (): void; removeEventListeners(eventList: any[]): void; prototype: { [x: string]: any; }; }'. +node_modules/chrome-devtools-frontend/front_end/common/Object.js(134,20): error TS2339: Property 'EventDescriptor' does not exist on type '{ (): void; removeEventListeners(eventList: any[]): void; prototype: { [x: string]: any; addEventListener(eventType: symbol, listener: (arg0: any) => any, thisObject?: any): any; once(eventType: symbol): Promise<...>; removeEventListener(eventType: symbol, listener: (arg0: any) => any, thisObject?: any): void; hasEv...'. node_modules/chrome-devtools-frontend/front_end/common/Object.js(137,39): error TS2694: Namespace 'Common.EventTarget' has no exported member 'EventDescriptor'. +node_modules/chrome-devtools-frontend/front_end/common/Object.js(151,31): error TS2694: Namespace 'Common' has no exported member 'Event'. node_modules/chrome-devtools-frontend/front_end/common/Object.js(153,35): error TS2694: Namespace 'Common.EventTarget' has no exported member 'EventDescriptor'. 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(165,31): error TS2694: Namespace 'Common' has no exported member 'Event'. 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/ParsedURL.js(122,26): error TS2339: Property '_urlRegexInstance' does not exist on type 'typeof ParsedURL'. @@ -4601,10 +4560,10 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(190,48 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, any[]]', but here has type 'CoverageInfo'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(192,11): error TS2345: Argument of type 'CSSStyleSheetHeader' is not assignable to parameter of type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. Property '_cssModel' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. +node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(197,5): error TS2322: Type '[CSSStyleSheetHeader, any[]][]' is not assignable to type 'CoverageInfo[]'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(197,5): error TS2322: Type '[CSSStyleSheetHeader, any[]][]' is not assignable to type 'CoverageInfo[]'. Type '[CSSStyleSheetHeader, any[]]' is not assignable to type 'CoverageInfo'. Property '_contentProvider' is missing in type '[CSSStyleSheetHeader, any[]]'. -node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(197,5): error TS2322: Type '[CSSStyleSheetHeader, any[]][]' is not assignable to type 'CoverageInfo[]'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(201,31): error TS2694: Namespace 'Coverage' has no exported member 'RangeUseCount'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(202,32): error TS2694: Namespace 'Coverage' has no exported member 'CoverageSegment'. node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(210,23): error TS2339: Property 'peekLast' does not exist on type 'any[]'. @@ -4711,8 +4670,8 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(474,27): e node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(591,44): error TS2345: Argument of type 'NODE_TYPE' is not assignable to parameter of type 'DataGridNode'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(595,25): error TS2339: Property 'data' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(622,5): error TS2322: Type 'DataGridNode[]' is not assignable to type 'NODE_TYPE[]'. - Type 'DataGridNode' is not assignable to type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(622,5): error TS2322: Type 'DataGridNode[]' is not assignable to type 'NODE_TYPE[]'. + Type 'DataGridNode' is not assignable to type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(641,56): error TS2339: Property 'offsetWidth' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(648,37): error TS2339: Property 'offsetWidth' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(649,41): error TS2339: Property 'rows' does not exist on type 'Element'. @@ -4894,10 +4853,10 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(2008,1): e node_modules/chrome-devtools-frontend/front_end/data_grid/ShowMoreDataGridNode.js(109,14): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(9,1): error TS8022: JSDoc '@extends' is not attached to a class. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(11,40): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'. -node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(19,5): error TS2322: Type '(a: SortableDataGridNode, b: SortableDataGridNode) => number' is not assignable to type '(arg0: NODE_TYPE, arg1: NODE_TYPE) => number'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(19,5): error TS2322: Type '(a: SortableDataGridNode, b: SortableDataGridNode) => number' is not assignable to type '(arg0: NODE_TYPE, arg1: NODE_TYPE) => number'. Types of parameters 'a' and 'arg0' are incompatible. Type 'NODE_TYPE' is not assignable to type 'SortableDataGridNode'. +node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(19,5): error TS2322: Type '(a: SortableDataGridNode, b: SortableDataGridNode) => number' is not assignable to type '(arg0: NODE_TYPE, arg1: NODE_TYPE) => number'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(20,80): error TS2345: Argument of type 'SortableDataGridNode' is not assignable to parameter of type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(82,56): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'. node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(131,20): error TS2352: Type 'NODE_TYPE' cannot be converted to type 'SortableDataGridNode'. @@ -4932,10 +4891,10 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(25 node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(257,47): error TS2339: Property 'offsetHeight' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(272,1): error TS8022: JSDoc '@extends' is not attached to a class. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(320,22): error TS2352: Type 'NODE_TYPE' cannot be converted to type 'ViewportDataGridNode'. -node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(334,9): error TS2322: Type 'NODE_TYPE[][]' is not assignable to type 'ViewportDataGridNode[][]'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(334,9): error TS2322: Type 'NODE_TYPE[][]' is not assignable to type 'ViewportDataGridNode[][]'. Type 'NODE_TYPE[]' is not assignable to type 'ViewportDataGridNode[]'. Type 'NODE_TYPE' is not assignable to type 'ViewportDataGridNode'. +node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(334,9): error TS2322: Type 'NODE_TYPE[][]' is not assignable to type 'ViewportDataGridNode[][]'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(363,15): error TS2339: Property 'parent' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(372,11): error TS2339: Property 'remove' does not exist on type 'NODE_TYPE'. node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(373,11): error TS2339: Property 'parent' does not exist on type 'NODE_TYPE'. @@ -5366,10 +5325,10 @@ node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(3 node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(65,22): error TS2694: Namespace 'Common' has no exported member 'Event'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(73,22): error TS2694: Namespace 'Common' has no exported member 'Event'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(84,22): error TS2694: Namespace 'Common' has no exported member 'Event'. +node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(122,5): error TS2322: Type 'Promise>' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(122,5): error TS2322: Type 'Promise>' is not assignable to type 'Promise'. Type 'Map' is not assignable to type 'ComputedStyle'. Property 'node' is missing in type 'Map'. -node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(122,5): error TS2322: Type 'Promise>' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(48,36): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(51,9): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleWidget.js(52,49): error TS2555: Expected at least 2 arguments, but got 1. @@ -5431,8 +5390,8 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(58,40) node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(90,32): error TS2339: Property 'addEventListener' does not exist on type 'typeof extensionServer'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(98,57): error TS2339: Property 'runtime' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(116,5): error TS2322: Type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. - Property 'appendApplicableItems' is missing in type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(116,5): error TS2322: Type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. + Property 'appendApplicableItems' is missing in type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(159,24): error TS2339: Property 'remove' does not exist on type 'ElementsTreeOutline[]'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(180,12): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(181,12): error TS2339: Property 'createChild' does not exist on type 'Element'. @@ -6083,9 +6042,9 @@ node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeToolbar.js(3 node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeToolbar.js(316,20): error TS2367: This condition will always return 'false' since the types '{ [x: string]: any; None: string; Responsive: string; Device: string; }' and 'string' have no overlap. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeToolbar.js(338,5): error TS2322: Type 'ToolbarItem' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarItem' is not assignable to type '{ [x: string]: any; item(): any & any; }'. + Property 'item' is missing in type 'ToolbarItem'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeToolbar.js(338,5): error TS2322: Type 'ToolbarItem' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarItem' is not assignable to type '{ [x: string]: any; item(): any & any; }'. - Property 'item' is missing in type 'ToolbarItem'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeToolbar.js(346,9): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; None: string; Responsive: string; Device: string; }'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeToolbar.js(351,25): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; None: string; Responsive: string; Device: string; }'. node_modules/chrome-devtools-frontend/front_end/emulation/DeviceModeToolbar.js(392,9): error TS2555: Expected at least 2 arguments, but got 1. @@ -7321,9 +7280,9 @@ node_modules/chrome-devtools-frontend/front_end/main/Main.js(194,32): error TS25 node_modules/chrome-devtools-frontend/front_end/main/Main.js(195,32): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/main/Main.js(204,5): error TS2322: Type 'CSSWorkspaceBinding' is not assignable to type '{ [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; } & { [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; }'. Type 'CSSWorkspaceBinding' is not assignable to type '{ [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; }'. + Property '_workspace' does not exist on type '{ [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; }'. node_modules/chrome-devtools-frontend/front_end/main/Main.js(204,5): error TS2322: Type 'CSSWorkspaceBinding' is not assignable to type '{ [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; } & { [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; }'. Type 'CSSWorkspaceBinding' is not assignable to type '{ [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; }'. - Property '_workspace' does not exist on type '{ [x: string]: any; rawLocationToUILocation(rawLocation: CSSLocation): UILocation; uiLocationToRawLocations(uiLocation: UILocation): CSSLocation[]; }'. node_modules/chrome-devtools-frontend/front_end/main/Main.js(208,5): error TS2322: Type 'ExtensionServer' is not assignable to type 'typeof extensionServer'. Property '_extensionAPITestHook' is missing in type 'ExtensionServer'. node_modules/chrome-devtools-frontend/front_end/main/Main.js(208,5): error TS2322: Type 'ExtensionServer' is not assignable to type 'typeof extensionServer'. @@ -8809,7 +8768,7 @@ node_modules/chrome-devtools-frontend/front_end/product_registry/ProductRegistry node_modules/chrome-devtools-frontend/front_end/product_registry/ProductRegistry.js(28,41): error TS2694: Namespace 'ProductRegistry.Registry' has no exported member 'ProductEntry'. node_modules/chrome-devtools-frontend/front_end/product_registry/ProductRegistry.js(34,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/product_registry/ProductRegistry.js(55,41): error TS2694: Namespace 'ProductRegistry.Registry' has no exported member 'ProductEntry'. -node_modules/chrome-devtools-frontend/front_end/product_registry/ProductRegistry.js(72,26): error TS2339: Property 'ProductEntry' does not exist on type '{ (): void; prototype: { [x: string]: any; }; }'. +node_modules/chrome-devtools-frontend/front_end/product_registry/ProductRegistry.js(72,26): error TS2339: Property 'ProductEntry' does not exist on type '{ (): void; prototype: { [x: string]: any; nameForUrl: (parsedUrl: ParsedURL) => string; entryForUrl: (parsedUrl: ParsedURL) => any; typeForUrl: (parsedUrl: ParsedURL) => number; }; }'. node_modules/chrome-devtools-frontend/front_end/product_registry_impl/ProductRegistryData.js(1488,1): error TS2345: Argument of type '({ "hash": string; "prefixes": { "": { "product": number; "type": number; }; }; } | { "hash": string; "prefixes": { "*": { "product": number; "type": number; }; }; } | { "hash": string; "prefixes": { "": { "product": number; }; }; } | { "hash": string; "prefixes": { ...; }; } | ... 35 more ... | { ...; })[]' is not assignable to parameter of type '{ hash: string; prefixes: { [x: string]: { product: number; type: number; }; }; }[]'. Type '{ "hash": string; "prefixes": { "": { "product": number; "type": number; }; }; } | { "hash": string; "prefixes": { "*": { "product": number; "type": number; }; }; } | { "hash": string; "prefixes": { "": { "product": number; }; }; } | { "hash": string; "prefixes": { ...; }; } | ... 35 more ... | { ...; }' is not assignable to type '{ hash: string; prefixes: { [x: string]: { product: number; type: number; }; }; }'. Type '{ "hash": string; "prefixes": { "": { "product": number; }; }; }' is not assignable to type '{ hash: string; prefixes: { [x: string]: { product: number; type: number; }; }; }'. @@ -8822,9 +8781,9 @@ node_modules/chrome-devtools-frontend/front_end/product_registry_impl/ProductReg node_modules/chrome-devtools-frontend/front_end/product_registry_impl/ProductRegistryImpl.js(103,67): error TS2694: Namespace 'ProductRegistry.Registry' has no exported member 'ProductEntry'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(68,9): error TS2322: Type 'BottomUpProfileDataGridNode' is not assignable to type '{ [x: string]: any; formatValue(value: number, node: any & any): string; formatPercent(value: number, node: any & any): string; linkifyNode(node: any & any): Element; } & { [x: string]: any; formatValue(value: number, node: any & any): string; formatPercent(value: number, node: any & any): string; linkifyNode(node: ...'. Type 'BottomUpProfileDataGridNode' is not assignable to type '{ [x: string]: any; formatValue(value: number, node: any & any): string; formatPercent(value: number, node: any & any): string; linkifyNode(node: any & any): Element; }'. - Property 'formatValue' is missing in type 'BottomUpProfileDataGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(68,9): error TS2322: Type 'BottomUpProfileDataGridNode' is not assignable to type '{ [x: string]: any; formatValue(value: number, node: any & any): string; formatPercent(value: number, node: any & any): string; linkifyNode(node: any & any): Element; } & { [x: string]: any; formatValue(value: number, node: any & any): string; formatPercent(value: number, node: any & any): string; linkifyNode(node: ...'. Type 'BottomUpProfileDataGridNode' is not assignable to type '{ [x: string]: any; formatValue(value: number, node: any & any): string; formatPercent(value: number, node: any & any): string; linkifyNode(node: any & any): Element; }'. + Property 'formatValue' is missing in type 'BottomUpProfileDataGridNode'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(196,26): error TS2339: Property 'UID' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(197,23): error TS2339: Property 'UID' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/profiler/BottomUpProfileDataGrid.js(212,68): error TS2339: Property 'UID' does not exist on type 'ProfileNode'. @@ -8854,9 +8813,9 @@ node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(40,21 Property '_profileView' does not exist on type '{ [x: string]: any; formatValue(value: number, node: any & any): string; formatPercent(value: number, node: any & any): string; linkifyNode(node: any & any): Element; }'. node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(61,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(63,16): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(73,5): error TS2322: Type 'CPUFlameChartDataProvider' is not assignable to type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(73,5): error TS2322: Type 'CPUFlameChartDataProvider' is not assignable to type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. Property '_cpuProfile' does not exist on type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. +node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(73,5): error TS2322: Type 'CPUFlameChartDataProvider' is not assignable to type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(82,43): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(85,29): error TS2339: Property 'instance' does not exist on type 'typeof CPUProfileType'. node_modules/chrome-devtools-frontend/front_end/profiler/CPUProfileView.js(115,30): error TS2555: Expected at least 2 arguments, but got 1. @@ -8888,8 +8847,8 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(20,2 node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(31,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(33,16): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(43,5): error TS2322: Type 'HeapFlameChartDataProvider' is not assignable to type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. - Property '_profile' does not exist on type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(43,5): error TS2322: Type 'HeapFlameChartDataProvider' is not assignable to type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. + Property '_profile' does not exist on type '{ [x: string]: any; minimumBoundary(): number; totalTime(): number; formatValue(value: number, precision?: number): string; maxStackDepth(): number; timelineData(): TimelineData; prepareHighlightedEntryInfo(entryIndex: number): Element; ... 6 more ...; textColor(entryIndex: number): string; }'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(52,52): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(54,38): error TS2339: Property 'instance' does not exist on type 'typeof SamplingHeapProfileType'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapProfileView.js(82,30): error TS2555: Expected at least 2 arguments, but got 1. @@ -9038,32 +8997,31 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.j node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(580,12): error TS2339: Property 'style' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(581,10): error TS2339: Property 'heapSnapshotNode' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(602,75): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(682,3): error TS2416: Property 'createProvider' in type 'HeapSnapshotObjectNode' is not assignable to the same property in base type 'HeapSnapshotGenericObjectNode'. - Type '() => HeapSnapshotProviderProxy' is not assignable to type '() => { [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(682,3): error TS2416: Property 'createProvider' in type 'HeapSnapshotObjectNode' is not assignable to the same property in base type 'HeapSnapshotGenericObjectNode'. Type '() => HeapSnapshotProviderProxy' is not assignable to type '() => { [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. Type 'HeapSnapshotProviderProxy' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. Property '_worker' does not exist on type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. +node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(682,3): error TS2416: Property 'createProvider' in type 'HeapSnapshotObjectNode' is not assignable to the same property in base type 'HeapSnapshotGenericObjectNode'. + Type '() => HeapSnapshotProviderProxy' is not assignable to type '() => { [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(871,36): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(874,34): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(892,3): error TS2416: Property 'createProvider' in type 'HeapSnapshotInstanceNode' is not assignable to the same property in base type 'HeapSnapshotGenericObjectNode'. Type '() => HeapSnapshotProviderProxy' is not assignable to type '() => { [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. - Type 'HeapSnapshotProviderProxy' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(892,3): error TS2416: Property 'createProvider' in type 'HeapSnapshotInstanceNode' is not assignable to the same property in base type 'HeapSnapshotGenericObjectNode'. Type '() => HeapSnapshotProviderProxy' is not assignable to type '() => { [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. + Type 'HeapSnapshotProviderProxy' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(966,23): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'. 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(980,3): error TS2416: Property 'createProvider' in type 'HeapSnapshotConstructorNode' is not assignable to the same property in base type 'HeapSnapshotGridNode'. Type '() => HeapSnapshotProviderProxy' is not assignable to type '() => { [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. - Type 'HeapSnapshotProviderProxy' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(980,3): error TS2416: Property 'createProvider' in type 'HeapSnapshotConstructorNode' is not assignable to the same property in base type 'HeapSnapshotGridNode'. Type '() => HeapSnapshotProviderProxy' is not assignable to type '() => { [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. + Type 'HeapSnapshotProviderProxy' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. 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(1000,20): error TS2352: Type 'DataGridNode' cannot be converted to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }'. Type 'DataGridNode' is not comparable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. Property 'dispose' is missing in type 'DataGridNode'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1001,5): error TS2322: Type '(this | ({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }))[]' is not assignable to type '({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; })[]'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1001,5): error TS2322: Type '(this | ({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }))[]' is not assignable to type '({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; })[]'. Type 'this | ({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; })' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }'. Type 'this' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }'. @@ -9072,6 +9030,7 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.j Type 'this' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. Type 'HeapSnapshotConstructorNode' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'. Property 'nodePosition' is missing in type 'HeapSnapshotConstructorNode'. +node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotGridNodes.js(1001,5): error TS2322: Type '(this | ({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }))[]' is not assignable to type '({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise; isEmpty(): Promise; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; })[]'. 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(1140,22): error TS2339: Property 'pushAll' does not exist on type 'any[]'. @@ -9154,12 +9113,12 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(254 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 not assignable to type 'ToolbarInput'. Property '_prompt' is missing in type 'ToolbarText'. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(257,5): error TS2322: Type '(ToolbarComboBox | ToolbarInput)[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(257,5): error TS2322: Type '(ToolbarComboBox | ToolbarInput)[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. Type 'ToolbarComboBox | ToolbarInput' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarComboBox' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarComboBox' is not assignable to type '{ [x: string]: any; item(): any & any; }'. Property 'item' is missing in type 'ToolbarComboBox'. +node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(257,5): error TS2322: Type '(ToolbarComboBox | ToolbarInput)[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. 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(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'. @@ -9193,9 +9152,9 @@ node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(100 node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1011,12): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1015,12): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1038,26): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1042,5): error TS2322: Type 'ProfileHeader' is not assignable to type 'HeapProfileHeader'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1042,5): error TS2322: Type 'ProfileHeader' is not assignable to type 'HeapProfileHeader'. Property '_heapProfilerModel' is missing in type 'ProfileHeader'. +node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1042,5): error TS2322: Type 'ProfileHeader' is not assignable to type 'HeapProfileHeader'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1050,22): error TS2694: Namespace 'Common' has no exported member 'Event'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1056,33): error TS2339: Property 'transferChunk' does not exist on type 'ProfileHeader'. node_modules/chrome-devtools-frontend/front_end/profiler/HeapSnapshotView.js(1060,22): error TS2694: Namespace 'Common' has no exported member 'Event'. @@ -9355,12 +9314,12 @@ node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(84,17): Type '(string | Element)[][]' is not assignable to type '[any, any][]'. Type '(string | Element)[]' is not assignable to type '[any, any]'. Property '0' is missing in type '(string | Element)[]'. +node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(127,5): error TS2322: Type '(ToolbarButton | ToolbarComboBox)[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(127,5): error TS2322: Type '(ToolbarButton | ToolbarComboBox)[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. Type 'ToolbarButton | ToolbarComboBox' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarButton' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarButton' is not assignable to type '{ [x: string]: any; item(): any & any; }'. Property 'item' is missing in type 'ToolbarButton'. -node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(127,5): error TS2322: Type '(ToolbarButton | ToolbarComboBox)[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(136,59): error TS2339: Property 'profile' does not exist on type 'ProfileView'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(136,78): error TS2339: Property 'adjustedTotal' does not exist on type 'ProfileView'. node_modules/chrome-devtools-frontend/front_end/profiler/ProfileView.js(147,59): error TS2339: Property 'profile' does not exist on type 'ProfileView'. @@ -9462,9 +9421,9 @@ node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(168 node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(170,24): error TS2345: Argument of type 'S' is not assignable to parameter of type 'T'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(194,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(201,2): error TS1131: Property or signature expected. -node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(205,38): error TS2339: Property 'Params' does not exist on type '{ (): void; prototype: { [x: string]: any; }; }'. +node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(205,38): error TS2339: Property 'Params' does not exist on type '{ (): void; prototype: { [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }; }'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(208,61): error TS2694: Namespace 'Protocol.InspectorBackend.Connection' has no exported member 'Params'. -node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(210,38): error TS2339: Property 'Factory' does not exist on type '{ (): void; prototype: { [x: string]: any; }; }'. +node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(210,38): error TS2339: Property 'Factory' does not exist on type '{ (): void; prototype: { [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }; }'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(217,53): error TS2694: Namespace 'Protocol.InspectorBackend.Connection' has no exported member 'Factory'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(229,36): error TS2339: Property 'deprecatedRunAfterPendingDispatches' does not exist on type 'typeof InspectorBackend'. node_modules/chrome-devtools-frontend/front_end/protocol/InspectorBackend.js(230,33): error TS2339: Property 'deprecatedRunAfterPendingDispatches' does not exist on type 'typeof InspectorBackend'. @@ -10384,9 +10343,9 @@ node_modules/chrome-devtools-frontend/front_end/sdk/EmulationModel.js(65,5): err node_modules/chrome-devtools-frontend/front_end/sdk/EmulationModel.js(65,5): error TS2322: Type 'OverlayModel' is not assignable to type '{ [x: string]: any; highlightDOMNode(node: DOMNode, config: any, backendNodeId?: any, objectId?: any): void; setInspectMode(mode: any, config: any): Promise; highlightFrame(frameId: any): void; } & { ...; }'. Type 'OverlayModel' is not assignable to type '{ [x: string]: any; highlightDOMNode(node: DOMNode, config: any, backendNodeId?: any, objectId?: any): void; setInspectMode(mode: any, config: any): Promise; highlightFrame(frameId: any): void; }'. Property '_domModel' does not exist on type '{ [x: string]: any; highlightDOMNode(node: DOMNode, config: any, backendNodeId?: any, objectId?: any): void; setInspectMode(mode: any, config: any): Promise; highlightFrame(frameId: any): void; }'. -node_modules/chrome-devtools-frontend/front_end/sdk/EmulationModel.js(148,5): error TS2322: Type '{ [x: string]: any; enabled: boolean; configuration: string; }' is not assignable to type '{ [x: string]: any; enabled: boolean; configuration: string; scriptId: string; }'. node_modules/chrome-devtools-frontend/front_end/sdk/EmulationModel.js(148,5): error TS2322: Type '{ [x: string]: any; enabled: boolean; configuration: string; }' is not assignable to type '{ [x: string]: any; enabled: boolean; configuration: string; scriptId: string; }'. Property 'scriptId' is missing in type '{ [x: string]: any; enabled: boolean; configuration: string; }'. +node_modules/chrome-devtools-frontend/front_end/sdk/EmulationModel.js(148,5): error TS2322: Type '{ [x: string]: any; enabled: boolean; configuration: string; }' is not assignable to type '{ [x: string]: any; enabled: boolean; configuration: string; scriptId: string; }'. node_modules/chrome-devtools-frontend/front_end/sdk/FilmStripModel.js(77,30): error TS2339: Property 'upperBound' does not exist on type 'Frame[]'. node_modules/chrome-devtools-frontend/front_end/sdk/HeapProfilerModel.js(10,12): error TS2339: Property 'registerHeapProfilerDispatcher' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/HeapProfilerModel.js(12,38): error TS2339: Property 'heapProfilerAgent' does not exist on type 'Target'. @@ -10664,11 +10623,11 @@ node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(12,26): node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(80,10): error TS2339: Property 'depth' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(86,26): error TS2339: Property 'depth' does not exist on type 'ProfileNode'. node_modules/chrome-devtools-frontend/front_end/sdk/ProfileTreeModel.js(93,15): error TS2339: Property 'depth' does not exist on type 'ProfileNode'. +node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(45,5): error TS2322: Type 'LocalJSONObject' is not assignable to type 'RemoteObject'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(45,5): error TS2322: Type 'LocalJSONObject' is not assignable to type 'RemoteObject'. Types of property 'callFunctionJSON' are incompatible. Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(45,5): error TS2322: Type 'LocalJSONObject' is not assignable to type 'RemoteObject'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(73,42): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(73,73): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(87,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -10724,15 +10683,15 @@ node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1153,31): er node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1176,31): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1179,3): error TS2416: Property 'callFunctionJSON' in type 'LocalJSONObject' is not assignable to the same property in base type 'RemoteObject'. Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. - Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1179,3): error TS2416: Property 'callFunctionJSON' in type 'LocalJSONObject' is not assignable to the same property in base type 'RemoteObject'. Type '(functionDeclaration: (this: any) => any, args: any[], callback: (arg0: any) => any) => void' is not assignable to type '(functionDeclaration: (this: any, ...arg1: any[]) => T, args: any[], callback: (arg0: T) => any) => void'. + Types of parameters 'functionDeclaration' and 'functionDeclaration' are incompatible. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1234,21): error TS2694: Namespace 'SDK' has no exported member 'CallFunctionResult'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1265,21): error TS2694: Namespace 'SDK' has no exported member 'CallFunctionResult'. +node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1325,5): error TS2322: Type 'Promise<{ properties: RemoteObjectProperty[]; internalProperties: RemoteObjectProperty[]; }>' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1325,5): error TS2322: Type 'Promise<{ properties: RemoteObjectProperty[]; internalProperties: RemoteObjectProperty[]; }>' is not assignable to type 'Promise'. Type '{ properties: RemoteObjectProperty[]; internalProperties: RemoteObjectProperty[]; }' is not assignable to type 'RemoteObject'. Property 'customPreview' is missing in type '{ properties: RemoteObjectProperty[]; internalProperties: RemoteObjectProperty[]; }'. -node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1325,5): error TS2322: Type 'Promise<{ properties: RemoteObjectProperty[]; internalProperties: RemoteObjectProperty[]; }>' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1345,43): error TS2694: Namespace 'SDK.DebuggerModel' has no exported member 'FunctionDetails'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1352,45): error TS2694: Namespace 'SDK.DebuggerModel' has no exported member 'FunctionDetails'. node_modules/chrome-devtools-frontend/front_end/sdk/RemoteObject.js(1363,35): error TS2694: Namespace 'SDK.DebuggerModel' has no exported member 'FunctionDetails'. @@ -10859,8 +10818,8 @@ node_modules/chrome-devtools-frontend/front_end/sdk/ScreenCaptureModel.js(160,24 node_modules/chrome-devtools-frontend/front_end/sdk/Script.js(39,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. node_modules/chrome-devtools-frontend/front_end/sdk/Script.js(143,52): error TS2339: Property 'debuggerAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/Script.js(159,5): error TS2322: Type 'StaticContentProvider' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. - Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/sdk/Script.js(159,5): error TS2322: Type 'StaticContentProvider' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. + Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/sdk/Script.js(174,43): error TS2339: Property 'debuggerAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/Script.js(190,33): error TS2694: Namespace 'Protocol' has no exported member 'Error'. node_modules/chrome-devtools-frontend/front_end/sdk/Script.js(190,50): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'. @@ -10924,8 +10883,8 @@ node_modules/chrome-devtools-frontend/front_end/sdk/SourceMap.js(198,25): error node_modules/chrome-devtools-frontend/front_end/sdk/SourceMap.js(200,27): error TS2339: Property '_base64Map' does not exist on type 'typeof TextSourceMap'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMap.js(272,30): error TS2339: Property 'keysArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMap.js(284,7): error TS2322: Type 'StaticContentProvider' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. - Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMap.js(284,7): error TS2322: Type 'StaticContentProvider' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. + Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMap.js(285,5): error TS2322: Type 'CompilerSourceMappingContentProvider' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. Property '_sourceURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMap.js(285,5): error TS2322: Type 'CompilerSourceMappingContentProvider' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. @@ -10950,8 +10909,8 @@ node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(146,40): node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(157,56): error TS2345: Argument of type 'TextSourceMap' is not assignable to parameter of type '{ [x: string]: any; compiledURL(): string; url(): string; sourceURLs(): string[]; sourceContentProvider(sourceURL: string, contentType: ResourceType): { [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...>; requestContent(): Promise<...>; searchInContent(query: string, ...'. Property '_json' does not exist on type '{ [x: string]: any; compiledURL(): string; url(): string; sourceURLs(): string[]; sourceContentProvider(sourceURL: string, contentType: ResourceType): { [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...>; requestContent(): Promise<...>; searchInContent(query: string, ...'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(159,36): error TS2352: Type 'TextSourceMap' cannot be converted to type '{ [x: string]: any; compiledURL(): string; url(): string; sourceURLs(): string[]; sourceContentProvider(sourceURL: string, contentType: ResourceType): { [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...>; requestContent(): Promise<...>; searchInContent(query: string, ...'. - Property '_json' does not exist on type '{ [x: string]: any; compiledURL(): string; url(): string; sourceURLs(): string[]; sourceContentProvider(sourceURL: string, contentType: ResourceType): { [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...>; requestContent(): Promise<...>; searchInContent(query: string, ...'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(159,36): error TS2352: Type 'TextSourceMap' cannot be converted to type '{ [x: string]: any; compiledURL(): string; url(): string; sourceURLs(): string[]; sourceContentProvider(sourceURL: string, contentType: ResourceType): { [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...>; requestContent(): Promise<...>; searchInContent(query: string, ...'. + Property '_json' does not exist on type '{ [x: string]: any; compiledURL(): string; url(): string; sourceURLs(): string[]; sourceContentProvider(sourceURL: string, contentType: ResourceType): { [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...>; requestContent(): Promise<...>; searchInContent(query: string, ...'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(163,12): error TS2339: Property 'catchException' does not exist on type 'Promise'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(173,56): error TS2339: Property 'get' does not exist on type 'Multimap'. node_modules/chrome-devtools-frontend/front_end/sdk/SourceMapManager.js(174,42): error TS2339: Property 'deleteAll' does not exist on type 'Multimap'. @@ -11005,15 +10964,15 @@ node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(333,36): er node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(347,36): error TS2345: Argument of type 'number' is not assignable to parameter of type '{ [x: string]: any; WindowDocked: number; WindowUndocked: number; ScriptsBreakpointSet: number; TimelineStarted: number; ProfilesCPUProfileTaken: number; ProfilesHeapProfileTaken: number; AuditsStarted: number; ... 23 more ...; ShowedThirdPartyBadges: number; }'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(351,35): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(356,52): error TS2694: Namespace 'Protocol.InspectorBackend.Connection' has no exported member 'Params'. -node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(364,7): error TS2322: Type 'WebSocketConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(364,7): error TS2322: Type 'WebSocketConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. Property '_socket' does not exist on type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. +node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(364,7): error TS2322: Type 'WebSocketConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(366,7): error TS2322: Type 'StubConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. - Property '_onMessage' does not exist on type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(366,7): error TS2322: Type 'StubConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. -node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(368,7): error TS2322: Type 'MainConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. Property '_onMessage' does not exist on type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(368,7): error TS2322: Type 'MainConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. +node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(368,7): error TS2322: Type 'MainConnection' is not assignable to type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. + Property '_onMessage' does not exist on type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise; }'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(401,38): error TS2339: Property 'targetAgent' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(406,18): error TS2339: Property 'registerTargetDispatcher' does not exist on type 'Target'. node_modules/chrome-devtools-frontend/front_end/sdk/TargetManager.js(424,22): error TS2694: Namespace 'Common' has no exported member 'Event'. @@ -11042,10 +11001,10 @@ node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(133,42): err node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(179,34): error TS2694: Namespace 'SDK.TracingManager' has no exported member 'EventPayload'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(250,47): error TS2339: Property 'id' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(254,37): error TS2339: Property 'id' does not exist on type 'Event'. -node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(283,5): error TS2322: Type 'NamedObject[]' is not assignable to type 'Process[]'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(283,5): error TS2322: Type 'NamedObject[]' is not assignable to type 'Process[]'. Type 'NamedObject' is not assignable to type 'Process'. Property '_threads' is missing in type 'NamedObject'. +node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(283,5): error TS2322: Type 'NamedObject[]' is not assignable to type 'Process[]'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(283,65): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(305,23): error TS2339: Property 'stableSort' does not exist on type 'Event[]'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(308,49): error TS2345: Argument of type '{ [x: string]: any; Begin: string; End: string; Complete: string; Instant: string; AsyncBegin: string; AsyncStepInto: string; AsyncStepPast: string; AsyncEnd: string; NestableAsyncBegin: string; NestableAsyncEnd: string; ... 9 more ...; DeleteObject: string; }' is not assignable to parameter of type 'string'. @@ -11074,10 +11033,10 @@ node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(647,34): err node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(733,9): error TS2367: This condition will always return 'false' since the types '{ [x: string]: any; Begin: string; End: string; Complete: string; Instant: string; AsyncBegin: string; AsyncStepInto: string; AsyncStepPast: string; AsyncEnd: string; NestableAsyncBegin: string; NestableAsyncEnd: string; ... 9 more ...; DeleteObject: string; }' and 'string' have no overlap. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(733,60): error TS2367: This condition will always return 'false' since the types '{ [x: string]: any; Begin: string; End: string; Complete: string; Instant: string; AsyncBegin: string; AsyncStepInto: string; AsyncStepPast: string; AsyncEnd: string; NestableAsyncBegin: string; NestableAsyncEnd: string; ... 9 more ...; DeleteObject: string; }' and 'string' have no overlap. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(859,34): error TS2694: Namespace 'SDK.TracingManager' has no exported member 'EventPayload'. +node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(870,5): error TS2322: Type 'NamedObject[]' is not assignable to type 'Thread[]'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(870,5): error TS2322: Type 'NamedObject[]' is not assignable to type 'Thread[]'. Type 'NamedObject' is not assignable to type 'Thread'. Property '_process' is missing in type 'NamedObject'. -node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(870,5): error TS2322: Type 'NamedObject[]' is not assignable to type 'Thread[]'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(870,61): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(888,23): error TS2339: Property 'stableSort' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/sdk/TracingModel.js(889,18): error TS2339: Property 'stableSort' does not exist on type 'any[]'. @@ -11308,9 +11267,9 @@ node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(5 Type 'ScriptSnippetModel' is not assignable to type '{ [x: string]: any; rawLocationToUILocation(rawLocation: Location): UILocation; uiLocationToRawLocation(uiSourceCode: UISourceCode, lineNumber: number, columnNumber: number): Location; }'. Property '_workspace' does not exist on type '{ [x: string]: any; rawLocationToUILocation(rawLocation: Location): UILocation; uiLocationToRawLocation(uiSourceCode: UISourceCode, lineNumber: number, columnNumber: number): Location; }'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(70,35): error TS2339: Property 'remove' does not exist on type 'Map'. -node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(113,5): error TS2322: Type 'SnippetsProject' is not assignable to type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boolean; displayName(): string; requestMetadata(uiSourceCode: UISourceCode): Promise; ... 17 more ...; uiSourceCodes(): UISourceCode[]; }'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(113,5): error TS2322: Type 'SnippetsProject' is not assignable to type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boolean; displayName(): string; requestMetadata(uiSourceCode: UISourceCode): Promise; ... 17 more ...; uiSourceCodes(): UISourceCode[]; }'. Property '_model' does not exist on type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boolean; displayName(): string; requestMetadata(uiSourceCode: UISourceCode): Promise; ... 17 more ...; uiSourceCodes(): UISourceCode[]; }'. +node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(113,5): error TS2322: Type 'SnippetsProject' is not assignable to type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boolean; displayName(): string; requestMetadata(uiSourceCode: UISourceCode): Promise; ... 17 more ...; uiSourceCodes(): UISourceCode[]; }'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(136,63): error TS2345: Argument of type 'SnippetContentProvider' is not assignable to parameter of type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. Property '_snippet' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise; requestContent(): Promise; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'. node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(146,22): error TS2694: Namespace 'Common' has no exported member 'Event'. @@ -11327,11 +11286,11 @@ node_modules/chrome-devtools-frontend/front_end/snippets/ScriptSnippetModel.js(5 node_modules/chrome-devtools-frontend/front_end/snippets/SnippetStorage.js(62,27): error TS2339: Property 'valuesArray' does not exist on type 'Map'. node_modules/chrome-devtools-frontend/front_end/snippets/SnippetsQuickOpen.js(30,12): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(38,11): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(52,5): error TS2322: Type 'ToolbarText[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(52,5): error TS2322: Type 'ToolbarText[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. Type 'ToolbarText' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarText' is not assignable to type '{ [x: string]: any; item(): any & any; }'. Property 'item' is missing in type 'ToolbarText'. +node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(52,5): error TS2322: Type 'ToolbarText[]' is not assignable to type '({ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; })[]'. node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(62,16): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'. node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(78,21): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/source_frame/FontView.js(79,19): error TS2339: Property 'createTextChild' does not exist on type 'Element'. @@ -12688,10 +12647,10 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.j node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(204,36): error TS2339: Property '_overviewIndex' does not exist on type 'TimelineCategory'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(246,68): error TS2339: Property 'peekLast' does not exist on type 'any[]'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(248,81): error TS2339: Property '_overviewIndex' does not exist on type 'TimelineCategory'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(384,7): error TS2322: Type 'Promise HTMLImageElement>' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(384,7): error TS2322: Type 'Promise HTMLImageElement>' is not assignable to type 'Promise'. Type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to type 'HTMLImageElement'. Property 'align' is missing in type 'new (width?: number, height?: number) => HTMLImageElement'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(384,7): error TS2322: Type 'Promise HTMLImageElement>' is not assignable to type 'Promise'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(457,17): error TS2339: Property 'createChild' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(483,24): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(524,28): error TS2339: Property 'peekLast' does not exist on type 'TimelineFrame[]'. @@ -12913,9 +12872,9 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(206,42 Property 'item' is missing in type 'ToolbarSettingCheckbox'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(207,5): error TS2322: Type 'ToolbarSettingCheckbox' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarSettingCheckbox' is not assignable to type '{ [x: string]: any; item(): any & any; }'. + Property 'item' is missing in type 'ToolbarSettingCheckbox'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(207,5): error TS2322: Type 'ToolbarSettingCheckbox' is not assignable to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarSettingCheckbox' is not assignable to type '{ [x: string]: any; item(): any & any; }'. - Property 'item' is missing in type 'ToolbarSettingCheckbox'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(212,42): error TS2345: Argument of type 'ToolbarToggle' is not assignable to parameter of type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarToggle' is not assignable to type '{ [x: string]: any; item(): any & any; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelinePanel.js(213,42): error TS2345: Argument of type 'ToolbarToggle' is not assignable to parameter of type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. @@ -13033,9 +12992,9 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(136 Property 'item' is missing in type 'ToolbarInput'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(162,76): error TS2339: Property 'value' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(173,52): error TS2555: Expected at least 2 arguments, but got 1. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(280,5): error TS2322: Type 'TopDownRootNode' is not assignable to type 'Node'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(280,5): error TS2322: Type 'TopDownRootNode' is not assignable to type 'Node'. Property 'id' is missing in type 'TopDownRootNode'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(280,5): error TS2322: Type 'TopDownRootNode' is not assignable to type 'Node'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(286,40): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(289,38): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(290,39): error TS2555: Expected at least 2 arguments, but got 1. @@ -13051,15 +13010,15 @@ node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(696 node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(698,14): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(712,24): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(717,9): error TS2322: Type '{ name: string; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. - Property 'icon' is missing in type '{ name: string; color: string; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(717,9): error TS2322: Type '{ name: string; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. -node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(727,9): error TS2322: Type '{ name: string; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. Property 'icon' is missing in type '{ name: string; color: string; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(727,9): error TS2322: Type '{ name: string; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. +node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(727,9): error TS2322: Type '{ name: string; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. + Property 'icon' is missing in type '{ name: string; color: string; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(731,13): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(733,9): error TS2322: Type '{ name: any; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. - Property 'icon' is missing in type '{ name: any; color: string; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(733,9): error TS2322: Type '{ name: any; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. + Property 'icon' is missing in type '{ name: any; color: string; }'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(743,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'name' must be of type 'any', but here has type 'string'. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(753,91): error TS2555: Expected at least 2 arguments, but got 1. node_modules/chrome-devtools-frontend/front_end/timeline/TimelineTreeView.js(754,9): error TS2322: Type '{ name: any; color: string; }' is not assignable to type '{ name: string; color: string; icon: Element; }'. @@ -13861,11 +13820,11 @@ node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(69,40): erro node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(80,24): error TS2694: Namespace 'Common' has no exported member 'Event'. node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(92,51): error TS2339: Property 'runtime' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(116,7): error TS2322: Type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. - Property 'appendApplicableItems' is missing in type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(116,7): error TS2322: Type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. -node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(118,7): error TS2322: Type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. Property 'appendApplicableItems' is missing in type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(118,7): error TS2322: Type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. +node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(118,7): error TS2322: Type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. + Property 'appendApplicableItems' is missing in type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(247,73): error TS2339: Property 'altKey' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(247,89): error TS2339: Property 'shiftKey' does not exist on type 'Event'. node_modules/chrome-devtools-frontend/front_end/ui/InspectorView.js(254,17): error TS2339: Property 'keyCode' does not exist on type 'Event'. @@ -14260,7 +14219,7 @@ node_modules/chrome-devtools-frontend/front_end/ui/TextEditor.js(70,18): error T node_modules/chrome-devtools-frontend/front_end/ui/TextEditor.js(79,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/TextEditor.js(91,2): error TS1131: Property or signature expected. node_modules/chrome-devtools-frontend/front_end/ui/TextEditor.js(101,15): error TS2300: Duplicate identifier 'Options'. -node_modules/chrome-devtools-frontend/front_end/ui/TextEditor.js(101,15): error TS2339: Property 'Options' does not exist on type '{ (): void; prototype: { [x: string]: any; }; Events: { [x: string]: any; TextChanged: symbol; }; }'. +node_modules/chrome-devtools-frontend/front_end/ui/TextEditor.js(101,15): error TS2339: Property 'Options' does not exist on type '{ (): void; prototype: { [x: string]: any; widget(): Widget; fullRange(): TextRange; selection(): TextRange; setSelection(selection: TextRange): void; text(textRange?: TextRange): string; ... 6 more ...; tokenAtTextPosition(lineNumber: number, columnNumber: number): { ...; }; }; Events: { ...; }; }'. node_modules/chrome-devtools-frontend/front_end/ui/TextEditor.js(105,2): error TS1131: Property or signature expected. node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(52,74): error TS2694: Namespace 'UI.SuggestBox' has no exported member 'Suggestions'. node_modules/chrome-devtools-frontend/front_end/ui/TextPrompt.js(113,39): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'. @@ -14314,14 +14273,14 @@ node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(318,56): error TS2 node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(328,27): error TS2339: Property 'runtime' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(343,36): error TS2352: Type 'ToolbarSeparator' cannot be converted to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarSeparator' is not comparable to type '{ [x: string]: any; item(): any & any; }'. + Property 'item' is missing in type 'ToolbarSeparator'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(343,36): error TS2352: Type 'ToolbarSeparator' cannot be converted to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarSeparator' is not comparable to type '{ [x: string]: any; item(): any & any; }'. - Property 'item' is missing in type 'ToolbarSeparator'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(346,17): error TS2352: Type 'ToolbarToggle' cannot be converted to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarToggle' is not comparable to type '{ [x: string]: any; item(): any & any; }'. - Property 'item' is missing in type 'ToolbarToggle'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(346,17): error TS2352: Type 'ToolbarToggle' cannot be converted to type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'. Type 'ToolbarToggle' is not comparable to type '{ [x: string]: any; item(): any & any; }'. + Property 'item' is missing in type 'ToolbarToggle'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(405,53): error TS2339: Property '_toolbar' does not exist on type 'ToolbarItem'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(405,70): error TS2339: Property '_toolbar' does not exist on type 'ToolbarItem'. node_modules/chrome-devtools-frontend/front_end/ui/Toolbar.js(412,18): error TS2339: Property 'disabled' does not exist on type 'Element'. @@ -14552,11 +14511,11 @@ node_modules/chrome-devtools-frontend/front_end/ui/View.js(361,25): error TS2538 node_modules/chrome-devtools-frontend/front_end/ui/View.js(371,23): error TS2339: Property 'showView' does not exist on type '_Location'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(383,35): error TS2339: Property 'runtime' does not exist on type 'Window'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(401,5): error TS2322: Type '_TabbedLocation' is not assignable to type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. - Property '_tabbedPane' does not exist on type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(401,5): error TS2322: Type '_TabbedLocation' is not assignable to type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. + Property '_tabbedPane' does not exist on type '{ [x: string]: any; tabbedPane(): TabbedPane; enableMoreTabsButton(): void; }'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(411,5): error TS2322: Type '_StackLocation' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. - Property '_vbox' does not exist on type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(411,5): error TS2322: Type '_StackLocation' is not assignable to type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. + Property '_vbox' does not exist on type '{ [x: string]: any; appendApplicableItems(locationName: string): void; appendView(view: { [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boolean; toolbarItems(): Promise<...>; widget(): Promise<...>; disposeView(): void; }, insertBefore?: { ...; }): void; showView(view: {...'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(440,18): error TS2339: Property 'tabIndex' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(454,38): error TS2339: Property 'hasFocus' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/View.js(456,18): error TS2538: Type 'symbol' cannot be used as an index type. @@ -14618,13 +14577,13 @@ node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(498,39): error TS23 node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(513,25): error TS2339: Property 'hasFocus' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(593,55): error TS2339: Property 'removeChildren' does not exist on type 'Element'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(693,51): error TS2339: Property 'deepActiveElement' does not exist on type 'Document'. -node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(713,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(newChild: T) => T'. +node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(713,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(newChild: T) => T'. Type 'Node' is not assignable to type 'T'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(715,14): error TS2339: Property '__widget' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(726,1): error TS2322: Type '(child: Node, anchor: Node) => Node' is not assignable to type '(newChild: T, refChild: Node) => T'. +node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(726,1): error TS2322: Type '(child: Node, anchor: Node) => Node' is not assignable to type '(newChild: T, refChild: Node) => T'. Type 'Node' is not assignable to type 'T'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(728,14): error TS2339: Property '__widget' does not exist on type 'Node'. -node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(738,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(oldChild: T) => T'. +node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(738,1): error TS2322: Type '(child: Node) => Node' is not assignable to type '(oldChild: T) => T'. Type 'Node' is not assignable to type 'T'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(740,14): error TS2339: Property '__widgetCounter' does not exist on type 'Node'. node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(740,40): error TS2339: Property '__widget' does not exist on type 'Node'. diff --git a/tests/baselines/reference/user/create-react-app.log b/tests/baselines/reference/user/create-react-app.log index 5d1ed36ddd2d9..f7b4aa0a7aea4 100644 --- a/tests/baselines/reference/user/create-react-app.log +++ b/tests/baselines/reference/user/create-react-app.log @@ -48,7 +48,6 @@ packages/react-dev-utils/__tests__/ignoredFiles.test.js(40,3): error TS2304: Can packages/react-dev-utils/__tests__/ignoredFiles.test.js(46,5): error TS2304: Cannot find name 'expect'. packages/react-dev-utils/__tests__/ignoredFiles.test.js(49,3): error TS2304: Cannot find name 'it'. packages/react-dev-utils/__tests__/ignoredFiles.test.js(53,5): error TS2304: Cannot find name 'expect'. -packages/react-dev-utils/browsersHelper.js(9,30): error TS2307: Cannot find module 'browserslist'. packages/react-dev-utils/browsersHelper.js(13,23): error TS2307: Cannot find module 'pkg-up'. packages/react-dev-utils/browsersHelper.js(61,36): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. packages/react-dev-utils/browsersHelper.js(97,25): error TS2538: Type 'undefined' cannot be used as an index type. diff --git a/tests/baselines/reference/user/debug.log b/tests/baselines/reference/user/debug.log index f9263715d1acb..0b6076a45c992 100644 --- a/tests/baselines/reference/user/debug.log +++ b/tests/baselines/reference/user/debug.log @@ -7,26 +7,23 @@ node_modules/debug/src/browser.js(48,47): error TS2339: Property 'process' does node_modules/debug/src/browser.js(48,65): error TS2339: Property 'process' does not exist on type 'Window'. node_modules/debug/src/browser.js(59,139): error TS2551: Property 'WebkitAppearance' does not exist on type 'CSSStyleDeclaration'. Did you mean 'webkitAppearance'? node_modules/debug/src/browser.js(61,73): error TS2339: Property 'firebug' does not exist on type 'Console'. -node_modules/debug/src/browser.js(73,9): error TS2551: Property 'formatters' does not exist on type 'typeof import("/debug/node_modules/debug/src/browser")'. Did you mean 'formatArgs'? -node_modules/debug/src/browser.js(96,21): error TS2339: Property 'humanize' does not exist on type 'typeof import("/debug/node_modules/debug/src/browser")'. -node_modules/debug/src/browser.js(178,9): error TS2339: Property 'enable' does not exist on type 'typeof import("/debug/node_modules/debug/src/browser")'. node_modules/debug/src/browser.js(187,13): error TS2304: Cannot find name 'LocalStorage'. node_modules/debug/src/debug.js(25,1): error TS2323: Cannot redeclare exported variable 'names'. node_modules/debug/src/debug.js(26,1): error TS2323: Cannot redeclare exported variable 'skips'. node_modules/debug/src/debug.js(46,13): error TS2407: The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type 'string'. node_modules/debug/src/debug.js(47,57): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -node_modules/debug/src/debug.js(51,18): error TS2339: Property 'colors' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. -node_modules/debug/src/debug.js(51,50): error TS2339: Property 'colors' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. +node_modules/debug/src/debug.js(51,18): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. +node_modules/debug/src/debug.js(51,50): error TS2339: Property 'colors' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. node_modules/debug/src/debug.js(75,10): error TS2339: Property 'diff' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: number; destroy: () => boolean; }'. node_modules/debug/src/debug.js(76,10): error TS2339: Property 'prev' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: number; destroy: () => boolean; }'. node_modules/debug/src/debug.js(77,10): error TS2339: Property 'curr' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: number; destroy: () => boolean; }'. -node_modules/debug/src/debug.js(112,13): error TS2551: Property 'formatArgs' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. Did you mean 'formatters'? +node_modules/debug/src/debug.js(112,13): error TS2551: Property 'formatArgs' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. Did you mean 'formatters'? node_modules/debug/src/debug.js(114,23): error TS2339: Property 'log' does not exist on type '{ (...args: any[]): void; namespace: string; enabled: boolean; useColors: any; color: number; destroy: () => boolean; }'. -node_modules/debug/src/debug.js(114,38): error TS2339: Property 'log' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. -node_modules/debug/src/debug.js(120,29): error TS2339: Property 'useColors' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. -node_modules/debug/src/debug.js(125,37): error TS2339: Property 'init' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. -node_modules/debug/src/debug.js(126,13): error TS2339: Property 'init' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. -node_modules/debug/src/debug.js(153,11): error TS2339: Property 'save' does not exist on type 'typeof import("/debug/node_modules/debug/src/debug")'. +node_modules/debug/src/debug.js(114,38): error TS2339: Property 'log' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. +node_modules/debug/src/debug.js(120,29): error TS2339: Property 'useColors' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. +node_modules/debug/src/debug.js(125,37): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. +node_modules/debug/src/debug.js(126,13): error TS2339: Property 'init' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. +node_modules/debug/src/debug.js(153,11): error TS2339: Property 'save' does not exist on type '{ (namespace: string): Function; debug: typeof createDebug; names: any[]; skips: any[]; coerce: (val: any) => any; disable: () => void; enable: (namespaces: string) => void; enabled: (name: string) => boolean; humanize: any; instances: any[]; formatters: { ...; }; }'. node_modules/debug/src/debug.js(155,3): error TS2323: Cannot redeclare exported variable 'names'. node_modules/debug/src/debug.js(156,3): error TS2323: Cannot redeclare exported variable 'skips'. node_modules/debug/src/debug.js(217,12): error TS2304: Cannot find name 'Mixed'. @@ -44,13 +41,9 @@ node_modules/debug/src/node.js(62,28): error TS2322: Type 'null' is not assignab node_modules/debug/src/node.js(63,8): error TS2322: Type 'number' is not assignable to type 'string | undefined'. node_modules/debug/src/node.js(75,35): error TS2339: Property 'colors' does not exist on type 'never'. node_modules/debug/src/node.js(76,33): error TS2339: Property 'fd' does not exist on type 'WriteStream'. -node_modules/debug/src/node.js(83,9): error TS2551: Property 'formatters' does not exist on type 'typeof import("/debug/node_modules/debug/src/node")'. Did you mean 'formatArgs'? -node_modules/debug/src/node.js(95,9): error TS2551: Property 'formatters' does not exist on type 'typeof import("/debug/node_modules/debug/src/node")'. Did you mean 'formatArgs'? -node_modules/debug/src/node.js(116,42): error TS2339: Property 'humanize' does not exist on type 'typeof import("/debug/node_modules/debug/src/node")'. node_modules/debug/src/node.js(123,27): error TS2339: Property 'hideDate' does not exist on type '{}'. node_modules/debug/src/node.js(163,3): error TS2322: Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. -node_modules/debug/src/node.js(186,9): error TS2339: Property 'enable' does not exist on type 'typeof import("/debug/node_modules/debug/src/node")'. diff --git a/tests/baselines/reference/user/lodash.log b/tests/baselines/reference/user/lodash.log index 3c69568671b83..e887959e289ac 100644 --- a/tests/baselines/reference/user/lodash.log +++ b/tests/baselines/reference/user/lodash.log @@ -74,7 +74,7 @@ node_modules/lodash/_baseUniq.js(33,33): error TS2554: Expected 0 arguments, but node_modules/lodash/_baseUniq.js(39,5): error TS2322: Type 'SetCache' is not assignable to type 'any[]'. node_modules/lodash/_baseUniq.js(62,15): error TS2554: Expected 2 arguments, but got 3. node_modules/lodash/_cloneArrayBuffer.js(11,16): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature. -node_modules/lodash/_cloneBuffer.js(4,69): error TS2339: Property 'nodeType' does not exist on type 'typeof import("/lodash/node_modules/lodash/_cloneBuffer")'. +node_modules/lodash/_cloneBuffer.js(4,69): error TS2339: Property 'nodeType' does not exist on type '{}'. node_modules/lodash/_cloneBuffer.js(7,80): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'. node_modules/lodash/_copySymbols.js(13,29): error TS2554: Expected 0 arguments, but got 1. node_modules/lodash/_copySymbolsIn.js(13,29): error TS2554: Expected 0 arguments, but got 1. @@ -146,7 +146,6 @@ node_modules/lodash/_isLaziable.js(24,14): error TS2554: Expected 0 arguments, b node_modules/lodash/_memoizeCapped.js(22,22): error TS2339: Property 'cache' does not exist on type 'Function'. node_modules/lodash/_mergeData.js(60,26): error TS2554: Expected 4 arguments, but got 3. node_modules/lodash/_mergeData.js(67,26): error TS2554: Expected 4 arguments, but got 3. -node_modules/lodash/_nodeUtil.js(4,69): error TS2339: Property 'nodeType' does not exist on type 'typeof import("/lodash/node_modules/lodash/_nodeUtil")'. node_modules/lodash/_nodeUtil.js(7,80): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'. node_modules/lodash/_nodeUtil.js(13,47): error TS2339: Property 'process' does not exist on type 'boolean | Global'. Property 'process' does not exist on type 'false'. @@ -327,7 +326,6 @@ node_modules/lodash/fp.js(2,18): error TS2554: Expected 3-4 arguments, but got 2 node_modules/lodash/includes.js(24,10): error TS1003: Identifier expected. node_modules/lodash/includes.js(24,10): error TS8024: JSDoc '@param' tag has name '', but there is no parameter with that name. node_modules/lodash/intersectionBy.js(41,32): error TS2554: Expected 0-1 arguments, but got 2. -node_modules/lodash/isBuffer.js(5,69): error TS2339: Property 'nodeType' does not exist on type 'typeof import("/lodash/node_modules/lodash/isBuffer")'. node_modules/lodash/isBuffer.js(8,80): error TS2339: Property 'nodeType' does not exist on type 'NodeModule'. node_modules/lodash/isEqual.js(32,10): error TS2554: Expected 3-5 arguments, but got 2. node_modules/lodash/isEqualWith.js(38,59): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'boolean'. diff --git a/tests/baselines/reference/user/npm.log b/tests/baselines/reference/user/npm.log index f2fafa1c44fef..acd2917af407b 100644 --- a/tests/baselines/reference/user/npm.log +++ b/tests/baselines/reference/user/npm.log @@ -2,116 +2,116 @@ Exit Code: 1 Standard output: node_modules/npm/bin/npm-cli.js(6,13): error TS2551: Property 'echo' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; Quit(exitCode?: number | undefined): number; ... 12 more ...; Sleep(intTime: number): void; }'. Did you mean 'Echo'? node_modules/npm/bin/npm-cli.js(13,13): error TS2551: Property 'quit' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; Quit(exitCode?: number | undefined): number; ... 12 more ...; Sleep(intTime: number): void; }'. Did you mean 'Quit'? -node_modules/npm/bin/npm-cli.js(47,7): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,11): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,21): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,35): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(48,49): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(52,21): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(57,9): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(59,9): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(62,35): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(67,25): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(68,9): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(68,26): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(69,9): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(75,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/bin/npm-cli.js(47,7): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(48,11): error TS2339: Property 'deref' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(48,21): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(48,35): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(48,49): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(52,21): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(57,9): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(59,9): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(62,35): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(67,25): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(68,9): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(68,26): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(69,9): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(75,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/bin/npm-cli.js(78,27): error TS2307: Cannot find module '../package.json'. -node_modules/npm/bin/npm-cli.js(85,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(86,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(121,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(121,22): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(121,35): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(125,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(126,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(127,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(128,13): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(132,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(134,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/bin/npm-cli.js(136,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/bin/npm-cli.js(85,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(86,32): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(121,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(121,22): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(121,35): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(125,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(126,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(127,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(128,13): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(132,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(134,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/bin/npm-cli.js(136,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/html/static/toc.js(3,40): error TS2531: Object is possibly 'null'. -node_modules/npm/lib/access.js(58,46): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/access.js(65,18): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/access.js(115,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(24,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(25,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(26,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(26,50): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(29,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(30,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(37,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(44,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(45,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(46,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/adduser.js(47,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/audit.js(29,23): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/audit.js(47,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/access.js(58,46): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/access.js(65,18): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/access.js(115,19): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(24,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(25,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(26,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(26,50): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(29,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(30,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(37,40): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(44,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(45,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(46,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/adduser.js(47,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/audit.js(29,23): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/audit.js(47,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/audit.js(49,9): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/audit.js(60,11): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/audit.js(65,11): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/audit.js(75,27): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. +node_modules/npm/lib/audit.js(75,27): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/audit.js(81,11): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/audit.js(88,61): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/audit.js(88,61): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/audit.js(89,10): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/audit.js(90,10): error TS2339: Property 'wrapped' does not exist on type 'Error'. -node_modules/npm/lib/auth/legacy.js(12,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/legacy.js(35,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/legacy.js(69,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/oauth.js(5,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/saml.js(5,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(7,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(20,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(28,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(44,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/auth/sso.js(54,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bin.js(14,15): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bin.js(20,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bin.js(21,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/bugs.js(30,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(38,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(42,31): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(85,17): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(89,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(90,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(95,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(101,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/build.js(106,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(16,34): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(49,30): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(69,35): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(70,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/cache.js(114,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/auth/legacy.js(12,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/legacy.js(35,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/legacy.js(69,33): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/oauth.js(5,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/saml.js(5,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/sso.js(7,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/sso.js(20,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/sso.js(28,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/sso.js(44,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/auth/sso.js(54,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/bin.js(14,15): error TS2339: Property 'bin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/bin.js(20,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/bin.js(21,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/bugs.js(30,32): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(38,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(42,31): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(85,17): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(89,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(90,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(95,32): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(101,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/build.js(106,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/cache.js(16,34): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/cache.js(49,30): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/cache.js(69,35): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/cache.js(70,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/cache.js(114,31): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/cache.js(116,22): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. node_modules/npm/lib/cache.js(117,34): error TS2532: Object is possibly 'undefined'. -node_modules/npm/lib/ci.js(13,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ci.js(14,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ci.js(15,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ci.js(27,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/ci.js(13,31): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ci.js(14,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ci.js(15,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ci.js(27,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/completion.js(26,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. node_modules/npm/lib/completion.js(30,24): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. node_modules/npm/lib/completion.js(51,7): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/completion.js(52,7): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/completion.js(129,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/completion.js(135,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/completion.js(247,23): error TS2339: Property 'fullList' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(11,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(12,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(13,20): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(14,20): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(15,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(18,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(20,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(22,11): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(23,11): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(24,11): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(25,11): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(26,11): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(27,11): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(28,11): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/bin-links.js(30,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/completion.js(129,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/completion.js(135,13): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/completion.js(247,23): error TS2339: Property 'fullList' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(11,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(12,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(13,20): error TS2339: Property 'globalBin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(14,20): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(15,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(18,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(20,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(22,11): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(23,11): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(24,11): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(25,11): error TS2339: Property 'root' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(26,11): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(27,11): error TS2339: Property 'bin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(28,11): error TS2339: Property 'globalBin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/bin-links.js(30,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config/core.js(17,1): error TS2323: Cannot redeclare exported variable 'loaded'. node_modules/npm/lib/config/core.js(18,1): error TS2323: Cannot redeclare exported variable 'rootConf'. node_modules/npm/lib/config/core.js(19,1): error TS2323: Cannot redeclare exported variable 'usingBuiltin'. @@ -147,99 +147,99 @@ node_modules/npm/lib/config/core.js(333,10): error TS2339: Property 'emit' does node_modules/npm/lib/config/core.js(409,29): error TS2345: Argument of type '(orig: string, esc: any, name: any) => string | undefined' is not assignable to parameter of type '(substring: string, ...args: any[]) => string'. Type 'string | undefined' is not assignable to type 'string'. Type 'undefined' is not assignable to type 'string'. -node_modules/npm/lib/config/gentle-fs.js(16,11): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(17,11): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(18,11): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(19,11): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(20,11): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(21,11): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(22,11): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(26,17): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/gentle-fs.js(27,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(16,11): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(17,11): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(18,11): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(19,11): error TS2339: Property 'root' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(20,11): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(21,11): error TS2339: Property 'bin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(22,11): error TS2339: Property 'globalBin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(26,17): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/gentle-fs.js(27,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config/get-credentials-by-uri.js(26,5): error TS2322: Type 'boolean' is not assignable to type 'undefined'. node_modules/npm/lib/config/get-credentials-by-uri.js(50,5): error TS2322: Type 'string' is not assignable to type 'undefined'. node_modules/npm/lib/config/get-credentials-by-uri.js(68,5): error TS2322: Type 'string' is not assignable to type 'undefined'. -node_modules/npm/lib/config/lifecycle.js(13,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(14,16): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(16,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(17,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(18,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(19,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(21,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(22,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(23,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(24,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(25,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/lifecycle.js(26,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(23,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(24,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(25,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(26,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(29,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(30,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(32,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(33,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(35,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(36,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(36,60): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(37,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(37,58): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(38,23): error TS2339: Property 'projectScope' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(39,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(39,49): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(40,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(41,16): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(42,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(44,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(45,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(46,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(47,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(49,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(50,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(51,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(53,16): error TS2339: Property 'modes' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(54,16): error TS2339: Property 'modes' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(55,16): error TS2339: Property 'modes' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(62,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(81,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(84,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(89,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(90,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config/pacote.js(110,60): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(74,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(83,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(84,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(85,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(87,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(93,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(13,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(14,16): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(16,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(17,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(18,29): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(19,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(21,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(22,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(23,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(24,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(25,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/lifecycle.js(26,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(23,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(24,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(25,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(26,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(29,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(30,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(32,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(33,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(35,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(36,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(36,60): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(37,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(37,58): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(38,23): error TS2339: Property 'projectScope' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(39,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(39,49): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(40,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(41,16): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(42,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(44,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(45,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(46,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(47,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(49,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(50,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(51,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(53,16): error TS2339: Property 'modes' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(54,16): error TS2339: Property 'modes' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(55,16): error TS2339: Property 'modes' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(62,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(81,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(84,31): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(89,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(90,38): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config/pacote.js(110,60): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(74,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(83,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(84,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(85,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(87,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(93,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(105,37): error TS2339: Property 'defaults' does not exist on type 'typeof import("/npm/node_modules/npm/lib/config/core")'. node_modules/npm/lib/config.js(107,28): error TS2339: Property 'defaults' does not exist on type 'typeof import("/npm/node_modules/npm/lib/config/core")'. -node_modules/npm/lib/config.js(135,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(136,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(137,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(156,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(158,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(159,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(167,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(186,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(187,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(210,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(223,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(225,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(238,52): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(241,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(245,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(245,75): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(248,47): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(248,79): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/config.js(251,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/config.js(135,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(136,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(137,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(156,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(158,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(159,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(167,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(186,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(187,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(210,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(223,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(225,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(238,52): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(241,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(245,45): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(245,75): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(248,47): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(248,79): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/config.js(251,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/config.js(267,26): error TS2339: Property 'defaults' does not exist on type 'typeof import("/npm/node_modules/npm/lib/config/core")'. -node_modules/npm/lib/config.js(273,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(35,32): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(37,11): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(38,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(39,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dedupe.js(39,46): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/config.js(273,29): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dedupe.js(35,32): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dedupe.js(37,11): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dedupe.js(38,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dedupe.js(39,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dedupe.js(39,46): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/dedupe.js(41,30): error TS2339: Property 'run' does not exist on type 'Deduper'. node_modules/npm/lib/dedupe.js(58,11): error TS2339: Property 'newTracker' does not exist on type 'Deduper'. node_modules/npm/lib/dedupe.js(58,27): error TS2339: Property 'progress' does not exist on type 'Deduper'. @@ -260,189 +260,189 @@ node_modules/npm/lib/dedupe.js(90,17): error TS2339: Property 'finishTracker' do node_modules/npm/lib/dedupe.js(91,29): error TS2339: Property 'differences' does not exist on type 'Deduper'. node_modules/npm/lib/dedupe.js(92,29): error TS2339: Property 'differences' does not exist on type 'Deduper'. node_modules/npm/lib/dedupe.js(92,47): error TS2339: Property 'todo' does not exist on type 'Deduper'. -node_modules/npm/lib/deprecate.js(15,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/deprecate.js(24,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/deprecate.js(44,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/deprecate.js(52,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(50,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(70,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(78,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(102,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(109,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(142,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/dist-tag.js(149,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/docs.js(40,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor/check-files-permission.js(11,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor/check-files-permission.js(11,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/deprecate.js(15,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/deprecate.js(24,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/deprecate.js(44,29): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/deprecate.js(52,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dist-tag.js(50,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dist-tag.js(70,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dist-tag.js(78,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dist-tag.js(102,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dist-tag.js(109,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dist-tag.js(142,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/dist-tag.js(149,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/docs.js(40,38): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor/check-files-permission.js(11,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor/check-files-permission.js(11,38): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/doctor/verify-cached-files.js(10,90): error TS2345: Argument of type '2' is not assignable to parameter of type '(string | number)[] | null | undefined'. node_modules/npm/lib/doctor.js(6,54): error TS2339: Property 'defaults' does not exist on type 'typeof import("/npm/node_modules/npm/lib/config/defaults")'. -node_modules/npm/lib/doctor.js(23,41): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(24,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(42,32): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(45,39): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(55,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(88,20): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(90,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/doctor.js(108,92): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/edit.js(18,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/edit.js(27,28): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/edit.js(32,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/explore.js(21,30): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/explore.js(37,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/fetch-package-metadata.js(34,50): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. +node_modules/npm/lib/doctor.js(23,41): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor.js(24,40): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor.js(42,32): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor.js(45,39): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor.js(55,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor.js(88,20): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor.js(90,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/doctor.js(108,92): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/edit.js(18,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/edit.js(27,28): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/edit.js(32,11): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/explore.js(21,30): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/explore.js(37,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/fetch-package-metadata.js(34,50): error TS2339: Property 'limit' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/fetch-package-metadata.js(52,9): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/fetch-package-metadata.js(70,18): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/fetch-package-metadata.js(75,20): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/get.js(8,22): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/get.js(11,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help-search.js(135,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help-search.js(175,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help-search.js(190,21): error TS2339: Property 'color' does not exist on type 'EventEmitter'. +node_modules/npm/lib/get.js(8,22): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/get.js(11,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help-search.js(135,16): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help-search.js(175,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help-search.js(190,21): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/help-search.js(197,16): error TS2454: Variable 'newOut' is used before being assigned. -node_modules/npm/lib/help-search.js(202,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(22,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(31,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(34,21): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(43,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(44,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(45,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(46,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(48,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(77,34): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(118,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(130,43): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/help-search.js(202,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(22,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(31,16): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(34,21): error TS2339: Property 'deref' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(43,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(44,11): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(45,11): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(46,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(48,16): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(77,34): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(118,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(130,43): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/help.js(146,7): error TS2322: Type '"cli"' is not assignable to type 'number'. node_modules/npm/lib/help.js(149,7): error TS2322: Type '"api"' is not assignable to type 'number'. node_modules/npm/lib/help.js(152,7): error TS2322: Type '"files"' is not assignable to type 'number'. node_modules/npm/lib/help.js(155,7): error TS2322: Type '"misc"' is not assignable to type 'number'. node_modules/npm/lib/help.js(160,55): error TS2345: Argument of type 'number' is not assignable to parameter of type 'string'. -node_modules/npm/lib/help.js(164,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(170,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(179,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(183,18): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(186,11): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(187,20): error TS2339: Property 'argv' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(196,26): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/help.js(197,22): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. +node_modules/npm/lib/help.js(164,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(170,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(179,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(183,18): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(186,11): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(187,20): error TS2339: Property 'argv' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(196,26): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/help.js(197,22): error TS2339: Property 'deref' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/help.js(199,14): error TS2345: Argument of type 'any[]' is not assignable to parameter of type 'never'. -node_modules/npm/lib/help.js(199,22): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/init.js(38,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/init.js(39,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/init.js(53,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/help.js(199,22): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/init.js(38,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/init.js(39,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/init.js(53,31): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/access-error.js(4,18): error TS2554: Expected 0-1 arguments, but got 2. -node_modules/npm/lib/install/action/build.js(10,50): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/extract.js(39,40): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/action/build.js(10,50): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/extract.js(39,40): error TS2339: Property 'limit' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/action/extract.js(81,9): error TS2322: Type 'string' is not assignable to type 'any[]'. -node_modules/npm/lib/install/action/global-install.js(9,37): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/global-install.js(10,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/global-install.js(14,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/global-link.js(7,7): error TS2339: Property 'link' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/refresh-package-json.js(31,43): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/remove.js(25,37): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/action/remove.js(25,51): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/actions.js(126,24): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/action/global-install.js(9,37): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/global-install.js(10,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/global-install.js(14,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/global-link.js(7,7): error TS2339: Property 'link' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/refresh-package-json.js(31,43): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/remove.js(25,37): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/action/remove.js(25,51): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/actions.js(126,24): error TS2339: Property 'limit' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/actions.js(168,16): error TS2345: Argument of type '"time"' is not assignable to parameter of type '"warning"'. node_modules/npm/lib/install/actions.js(171,16): error TS2345: Argument of type '"timeEnd"' is not assignable to parameter of type '"warning"'. node_modules/npm/lib/install/and-add-parent-to-errors.js(9,10): error TS2339: Property 'parent' does not exist on type 'Error'. -node_modules/npm/lib/install/audit.js(32,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(89,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(91,23): error TS2339: Property 'projectScope' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(100,20): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(101,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(109,20): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(110,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(172,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/audit.js(216,26): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/check-permissions.js(36,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/decompose-actions.js(47,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(253,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(309,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(310,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(401,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(402,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(402,64): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(403,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(404,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(409,54): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(459,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/audit.js(32,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(89,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(91,23): error TS2339: Property 'projectScope' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(100,20): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(101,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(109,20): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(110,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(172,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/audit.js(216,26): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/check-permissions.js(36,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/decompose-actions.js(47,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(253,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(309,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(310,29): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(401,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(402,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(402,64): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(403,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(404,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(409,54): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(459,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/deps.js(599,9): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/deps.js(814,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/deps.js(815,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(242,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(243,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(244,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(244,62): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(245,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(246,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/diff-trees.js(247,52): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/deps.js(814,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/deps.js(815,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/diff-trees.js(242,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/diff-trees.js(243,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/diff-trees.js(244,34): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/diff-trees.js(244,62): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/diff-trees.js(245,33): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/diff-trees.js(246,33): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/diff-trees.js(247,52): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/exists.js(20,21): error TS2339: Property 'F_OK' does not exist on type 'typeof import("fs")'. node_modules/npm/lib/install/flatten-tree.js(16,15): error TS2532: Object is possibly 'undefined'. node_modules/npm/lib/install/flatten-tree.js(18,16): error TS2532: Object is possibly 'undefined'. -node_modules/npm/lib/install/inflate-shrinkwrap.js(30,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/inflate-shrinkwrap.js(30,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/inflate-shrinkwrap.js(77,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/mutate-into-logical-tree.js(137,86): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/read-shrinkwrap.js(11,46): error TS2339: Property 'lockfileVersion' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(48,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(48,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(56,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(140,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(141,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(142,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(143,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(144,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(147,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(149,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/save.js(151,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(13,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(41,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(42,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(48,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install/validate-args.js(49,24): error TS2339: Property 'version' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/inflate-shrinkwrap.js(30,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/inflate-shrinkwrap.js(30,45): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/inflate-shrinkwrap.js(77,34): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/mutate-into-logical-tree.js(137,86): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/read-shrinkwrap.js(11,46): error TS2339: Property 'lockfileVersion' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(48,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(48,45): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(56,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(140,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(141,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(142,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(143,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(144,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(147,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(149,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/save.js(151,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/validate-args.js(13,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/validate-args.js(41,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/validate-args.js(42,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/validate-args.js(48,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install/validate-args.js(49,24): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/validate-args.js(60,10): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/install/validate-args.js(70,8): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/validate-tree.js(35,52): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/validate-tree.js(35,52): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/validate-tree.js(44,10): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/install/validate-tree.js(62,15): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/install/validate-tree.js(70,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install/validate-tree.js(70,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install/validate-tree.js(74,13): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/install/validate-tree.js(89,15): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/install/writable.js(22,21): error TS2339: Property 'W_OK' does not exist on type 'typeof import("fs")'. -node_modules/npm/lib/install.js(182,36): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(184,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(186,17): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(190,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(192,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(200,36): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(224,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(226,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(227,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(230,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(235,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(236,63): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(237,51): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(239,85): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(240,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(268,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(269,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(272,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install.js(182,36): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(184,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(186,17): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(190,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(192,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(200,36): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(224,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(226,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(227,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(230,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(235,34): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(236,63): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(237,51): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(239,85): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(240,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(268,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(269,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(272,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install.js(273,7): error TS2532: Object is possibly 'undefined'. node_modules/npm/lib/install.js(273,7): error TS2684: The 'this' context of type '((err: any, ...args: any[]) => any) | undefined' is not assignable to method's 'this' of type 'Function'. Type 'undefined' is not assignable to type 'Function'. node_modules/npm/lib/install.js(340,25): error TS2339: Property 'failing' does not exist on type 'Installer'. node_modules/npm/lib/install.js(369,18): error TS2345: Argument of type '"time"' is not assignable to parameter of type '"warning"'. node_modules/npm/lib/install.js(376,16): error TS2345: Argument of type '"timeEnd"' is not assignable to parameter of type '"warning"'. -node_modules/npm/lib/install.js(519,40): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install.js(519,40): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install.js(597,12): error TS2339: Property 'failing' does not exist on type 'Installer'. node_modules/npm/lib/install.js(614,12): error TS2339: Property 'failing' does not exist on type 'Installer'. node_modules/npm/lib/install.js(634,88): error TS2339: Property 'remove' does not exist on type 'Installer'. node_modules/npm/lib/install.js(643,12): error TS2339: Property 'failing' does not exist on type 'Installer'. node_modules/npm/lib/install.js(684,12): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/install.js(685,12): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/install.js(745,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install.js(745,32): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install.js(751,12): error TS2339: Property 'failing' does not exist on type 'Installer'. -node_modules/npm/lib/install.js(768,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(770,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install.js(768,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(770,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/install.js(771,14): error TS2554: Expected 0-1 arguments, but got 2. node_modules/npm/lib/install.js(890,26): error TS2345: Argument of type 'any' is not assignable to parameter of type 'never'. node_modules/npm/lib/install.js(897,26): error TS2345: Argument of type '{ [x: string]: any; action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. @@ -451,92 +451,92 @@ node_modules/npm/lib/install.js(901,27): error TS2345: Argument of type '{ [x: s node_modules/npm/lib/install.js(903,25): error TS2345: Argument of type '{ [x: string]: any; action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. node_modules/npm/lib/install.js(905,27): error TS2345: Argument of type '{ [x: string]: any; action: any; name: any; version: any; path: any; }' is not assignable to parameter of type 'never'. node_modules/npm/lib/install.js(948,8): error TS2454: Variable 'previousPath' is used before being assigned. -node_modules/npm/lib/install.js(985,53): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/install.js(1007,53): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(25,17): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. +node_modules/npm/lib/install.js(985,53): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/install.js(1007,53): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(25,17): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/link.js(39,9): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/link.js(40,9): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/link.js(45,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(54,15): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(67,30): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(68,31): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(70,35): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(78,49): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(84,33): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(93,15): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(104,20): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(118,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(127,39): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(137,26): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(151,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/link.js(45,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(54,15): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(67,30): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(68,31): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(70,35): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(78,49): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(84,33): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(93,15): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(104,20): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(118,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(127,39): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(137,26): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(151,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/link.js(151,80): error TS2454: Variable 'target' is used before being assigned. -node_modules/npm/lib/link.js(152,35): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(157,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/link.js(179,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(12,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(14,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(16,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(17,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(23,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/logout.js(28,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. +node_modules/npm/lib/link.js(152,35): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(157,11): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/link.js(179,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/logout.js(12,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/logout.js(14,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/logout.js(16,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/logout.js(17,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/logout.js(23,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/logout.js(28,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/logout.js(38,10): error TS2554: Expected 0-1 arguments, but got 3. -node_modules/npm/lib/ls.js(37,30): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(88,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(89,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(102,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(132,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(132,66): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(133,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(133,79): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(152,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(180,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(191,52): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(254,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/ls.js(37,30): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(88,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(89,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(102,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(132,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(132,66): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(133,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(133,79): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(152,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(180,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(191,52): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(254,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/ls.js(260,16): error TS2339: Property 'problems' does not exist on type 'string | { [x: string]: any; name: any; version: any; extraneous: boolean; problems: any; invalid: boolean; from: any; resolved: any; peerInvalid: boolean; dependencies: {}; } | { [x: string]: any; required: any; missing: boolean; } | { ...; }'. Property 'problems' does not exist on type 'string'. node_modules/npm/lib/ls.js(262,54): error TS2339: Property 'problems' does not exist on type 'string | { [x: string]: any; name: any; version: any; extraneous: boolean; problems: any; invalid: boolean; from: any; resolved: any; peerInvalid: boolean; dependencies: {}; } | { [x: string]: any; required: any; missing: boolean; } | { ...; }'. Property 'problems' does not exist on type 'string'. node_modules/npm/lib/ls.js(264,12): error TS2538: Type '{ [x: string]: any; name: any; version: any; extraneous: boolean; problems: any; invalid: boolean; from: any; resolved: any; peerInvalid: boolean; dependencies: {}; }' cannot be used as an index type. -node_modules/npm/lib/ls.js(357,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(362,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(365,15): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(374,17): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(398,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(407,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(417,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(423,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(430,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(436,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(444,13): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(471,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(507,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(521,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(522,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(528,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(538,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ls.js(544,56): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. +node_modules/npm/lib/ls.js(357,40): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(362,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(365,15): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(374,17): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(398,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(407,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(417,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(423,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(430,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(436,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(444,13): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(471,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(507,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(521,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(522,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(528,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(538,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ls.js(544,56): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/npm.js(5,13): error TS2551: Property 'echo' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; Quit(exitCode?: number | undefined): number; ... 12 more ...; Sleep(intTime: number): void; }'. Did you mean 'Echo'? node_modules/npm/lib/npm.js(12,13): error TS2551: Property 'quit' does not exist on type '{ Echo(s: any): void; StdErr: TextStreamWriter; StdOut: TextStreamWriter; Arguments: { length: number; Item(n: number): string; }; ScriptFullName: string; Quit(exitCode?: number | undefined): number; ... 12 more ...; Sleep(intTime: number): void; }'. Did you mean 'Quit'? node_modules/npm/lib/npm.js(30,14): error TS2345: Argument of type '"log"' is not assignable to parameter of type 'Signals'. -node_modules/npm/lib/npm.js(58,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(68,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(71,7): error TS2339: Property 'limit' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(77,7): error TS2339: Property 'lockfileVersion' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(79,7): error TS2339: Property 'rollbacks' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(85,9): error TS2339: Property 'name' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(86,9): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(91,9): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(104,18): error TS2339: Property 'fullList' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(112,31): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(119,19): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(121,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(124,11): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(156,35): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(183,7): error TS2339: Property 'deref' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(208,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(225,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(228,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(231,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/npm.js(58,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(68,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(71,7): error TS2339: Property 'limit' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(77,7): error TS2339: Property 'lockfileVersion' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(79,7): error TS2339: Property 'rollbacks' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(85,9): error TS2339: Property 'name' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(86,9): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(91,9): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(104,18): error TS2339: Property 'fullList' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(112,31): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(119,19): error TS2339: Property 'deref' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(121,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(124,11): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(156,35): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(183,7): error TS2339: Property 'deref' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(208,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(225,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(228,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(231,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/npm.js(234,19): error TS2345: Argument of type 'true' is not assignable to parameter of type 'string'. node_modules/npm/lib/npm.js(253,17): error TS2339: Property 'installPrefix' does not exist on type 'Process'. node_modules/npm/lib/npm.js(347,52): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. @@ -545,168 +545,168 @@ node_modules/npm/lib/npm.js(347,52): error TS2345: Argument of type 'PropertyDes node_modules/npm/lib/npm.js(350,51): error TS2345: Argument of type 'PropertyDescriptor | undefined' is not assignable to parameter of type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor & ThisType'. Type 'undefined' is not assignable to type 'PropertyDescriptor'. -node_modules/npm/lib/npm.js(377,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(377,47): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(377,66): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(380,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(390,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(390,50): error TS2339: Property 'globalBin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(391,33): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(399,21): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(408,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(408,50): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(409,33): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(418,33): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(419,33): error TS2339: Property 'globalPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(425,37): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(428,37): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(429,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(439,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(445,34): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/npm.js(460,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(36,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(71,30): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(74,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(74,49): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(85,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(87,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(100,17): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(129,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(141,11): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(182,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(199,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(227,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(227,66): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(228,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(228,73): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(230,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(231,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(231,41): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(245,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(250,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(253,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(262,10): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(336,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/outdated.js(339,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(26,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(41,44): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(45,17): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(61,44): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(65,17): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(78,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(81,15): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(114,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(117,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(201,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(204,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(223,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(226,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(246,37): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/owner.js(254,15): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(53,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(72,40): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(79,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(86,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(88,40): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(102,39): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(119,32): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(127,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(147,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(177,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/pack.js(299,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/npm.js(377,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(377,47): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(377,66): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(380,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(390,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(390,50): error TS2339: Property 'globalBin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(391,33): error TS2339: Property 'root' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(399,21): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(408,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(408,50): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(409,33): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(418,33): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(419,33): error TS2339: Property 'globalPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(425,37): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(428,37): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(429,38): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(439,33): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(445,34): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/npm.js(460,13): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(36,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(71,30): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(74,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(74,49): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(85,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(87,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(100,17): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(129,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(141,11): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(182,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(199,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(227,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(227,66): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(228,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(228,73): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(230,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(231,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(231,41): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(245,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(250,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(253,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(262,10): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(336,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/outdated.js(339,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(26,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(41,44): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(45,17): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(61,44): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(65,17): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(78,45): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(81,15): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(114,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(117,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(201,31): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(204,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(223,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(226,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(246,37): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/owner.js(254,15): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(53,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(72,40): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(79,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(86,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(88,40): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(102,39): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(119,32): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(127,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(147,36): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(177,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/pack.js(299,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/pack.js(300,20): error TS2345: Argument of type 'string' is not assignable to parameter of type 'never'. -node_modules/npm/lib/pack.js(300,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/pack.js(300,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/pack.js(335,17): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/pack.js(336,17): error TS2339: Property 'signal' does not exist on type 'Error'. -node_modules/npm/lib/pack.js(354,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ping.js(13,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ping.js(15,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/ping.js(17,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prefix.js(13,27): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prefix.js(14,44): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(80,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(81,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(82,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(83,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(85,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(249,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/profile.js(250,46): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prune.js(23,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/pack.js(354,36): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ping.js(13,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ping.js(15,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/ping.js(17,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/prefix.js(13,27): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/prefix.js(14,44): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/profile.js(80,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/profile.js(81,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/profile.js(82,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/profile.js(83,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/profile.js(85,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/profile.js(249,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/profile.js(250,46): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/prune.js(23,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/prune.js(24,33): error TS2339: Property 'run' does not exist on type 'Pruner'. node_modules/npm/lib/prune.js(36,17): error TS2339: Property 'progress' does not exist on type 'Pruner'. node_modules/npm/lib/prune.js(39,24): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. -node_modules/npm/lib/prune.js(41,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/prune.js(41,79): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/prune.js(41,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/prune.js(41,79): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/prune.js(53,17): error TS2339: Property 'args' does not exist on type 'Pruner'. node_modules/npm/lib/prune.js(53,43): error TS2339: Property 'args' does not exist on type 'Pruner'. node_modules/npm/lib/prune.js(58,22): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. node_modules/npm/lib/prune.js(61,32): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. node_modules/npm/lib/prune.js(62,27): error TS2339: Property 'idealTree' does not exist on type 'Pruner'. -node_modules/npm/lib/publish.js(45,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(53,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/publish.js(45,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(53,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/publish.js(68,11): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/publish.js(93,36): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(97,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(111,34): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(120,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(138,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(139,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(144,25): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(166,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(180,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(191,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(196,15): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/publish.js(213,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(20,26): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(21,21): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(26,24): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/rebuild.js(35,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/repo.js(35,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/root.js(13,27): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/root.js(14,44): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(26,30): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(34,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(34,49): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(35,22): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(46,26): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(56,20): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(66,28): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. +node_modules/npm/lib/publish.js(93,36): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(97,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(111,34): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(120,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(138,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(139,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(144,25): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(166,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(180,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(191,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(196,15): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/publish.js(213,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/rebuild.js(20,26): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/rebuild.js(21,21): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/rebuild.js(26,24): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/rebuild.js(35,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/repo.js(35,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/root.js(13,27): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/root.js(14,44): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(26,30): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(34,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(34,49): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(35,22): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(46,26): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(56,20): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(66,28): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/run-script.js(77,21): error TS2345: Argument of type 'string[]' is not assignable to parameter of type 'ConcatArray'. Types of property 'slice' are incompatible. Type '(start?: number | undefined, end?: number | undefined) => string[]' is not assignable to type '(start?: number | undefined, end?: number | undefined) => never[]'. Type 'string[]' is not assignable to type 'never[]'. Type 'string' is not assignable to type 'never'. -node_modules/npm/lib/run-script.js(94,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(99,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/run-script.js(148,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(33,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(36,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(146,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/all-package-metadata.js(239,20): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/esearch.js(15,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search/esearch.js(35,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. +node_modules/npm/lib/run-script.js(94,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(99,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/run-script.js(148,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/all-package-metadata.js(33,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/all-package-metadata.js(36,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/all-package-metadata.js(146,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/all-package-metadata.js(239,20): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/esearch.js(15,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search/esearch.js(35,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/search/format-package-stream.js(130,31): error TS2339: Property 'fd' does not exist on type 'WriteStream'. node_modules/npm/lib/search/format-package-stream.js(130,63): error TS2339: Property 'getWindowSize' does not exist on type 'WriteStream'. -node_modules/npm/lib/search.js(25,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(26,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(27,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(28,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(30,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(31,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(68,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(69,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(70,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(71,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(72,16): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(82,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/search.js(82,55): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/set.js(8,22): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/set.js(12,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(30,29): error TS2339: Property 'lockfileVersion' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(50,22): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(51,22): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(55,38): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/shrinkwrap.js(62,34): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. +node_modules/npm/lib/search.js(25,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(26,34): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(27,40): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(28,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(30,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(31,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(68,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(69,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(70,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(71,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(72,16): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(82,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/search.js(82,55): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/set.js(8,22): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/set.js(12,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/shrinkwrap.js(30,29): error TS2339: Property 'lockfileVersion' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/shrinkwrap.js(50,22): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/shrinkwrap.js(51,22): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/shrinkwrap.js(55,38): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/shrinkwrap.js(62,34): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/shrinkwrap.js(117,13): error TS2339: Property 'version' does not exist on type '{}'. node_modules/npm/lib/shrinkwrap.js(119,15): error TS2339: Property 'from' does not exist on type '{}'. node_modules/npm/lib/shrinkwrap.js(122,15): error TS2339: Property 'bundled' does not exist on type '{}'. @@ -720,127 +720,126 @@ node_modules/npm/lib/shrinkwrap.js(140,15): error TS2339: Property 'requires' do node_modules/npm/lib/shrinkwrap.js(143,17): error TS2339: Property 'requires' does not exist on type '{}'. node_modules/npm/lib/shrinkwrap.js(147,15): error TS2339: Property 'dependencies' does not exist on type '{}'. node_modules/npm/lib/shrinkwrap.js(148,30): error TS2339: Property 'dependencies' does not exist on type '{}'. -node_modules/npm/lib/star.js(24,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(25,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(26,21): error TS2339: Property 'command' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(29,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/star.js(36,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/stars.js(11,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/lib/star.js(24,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/star.js(25,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/star.js(26,21): error TS2339: Property 'command' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/star.js(29,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/star.js(36,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/stars.js(11,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/stars.js(17,18): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/stars.js(24,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/stars.js(31,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/substack.js(20,14): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/team.js(39,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/team.js(42,18): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(81,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(82,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(83,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(84,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(86,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(186,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/token.js(187,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(30,33): error TS2339: Property 'root' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(33,37): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(33,51): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(35,46): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(62,17): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(76,27): error TS2339: Property 'bin' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(96,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unbuild.js(99,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(27,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(31,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(32,32): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/uninstall.js(33,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. +node_modules/npm/lib/stars.js(24,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/stars.js(31,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/substack.js(20,14): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/team.js(39,33): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/team.js(42,18): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/token.js(81,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/token.js(82,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/token.js(83,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/token.js(84,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/token.js(86,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/token.js(186,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/token.js(187,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(30,33): error TS2339: Property 'root' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(33,37): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(33,51): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(35,46): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(62,17): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(76,27): error TS2339: Property 'bin' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(96,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unbuild.js(99,34): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/uninstall.js(27,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/uninstall.js(31,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/uninstall.js(32,32): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/uninstall.js(33,19): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/uninstall.js(40,42): error TS2339: Property 'run' does not exist on type 'Uninstaller'. -node_modules/npm/lib/uninstall.js(43,31): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. +node_modules/npm/lib/uninstall.js(43,31): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/uninstall.js(46,50): error TS2339: Property 'run' does not exist on type 'Uninstaller'. node_modules/npm/lib/uninstall.js(51,27): error TS2507: Type 'typeof Installer' is not a constructor function type. node_modules/npm/lib/uninstall.js(70,36): error TS2339: Property 'idealTree' does not exist on type 'Uninstaller'. -node_modules/npm/lib/unpublish.js(17,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(23,31): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(26,11): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(37,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(40,15): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(63,24): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(71,49): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(74,33): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(97,58): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/unpublish.js(97,70): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/update.js(10,41): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/update.js(17,25): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/update.js(25,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(9,19): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(12,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(16,23): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(22,21): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-deep.js(44,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(20,22): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(21,23): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(22,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(57,28): error TS2339: Property 'dir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(66,23): error TS2339: Property 'globalDir' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/completion/installed-shallow.js(79,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(12,21): error TS2339: Property 'rollbacks' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(23,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(29,16): error TS2339: Property 'version' does not exist on type 'EventEmitter'. +node_modules/npm/lib/unpublish.js(17,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(23,31): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(26,11): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(37,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(40,15): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(63,24): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(71,49): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(74,33): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(97,58): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/unpublish.js(97,70): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/update.js(10,41): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/update.js(17,25): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/update.js(25,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-deep.js(9,19): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-deep.js(12,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-deep.js(16,23): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-deep.js(22,21): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-deep.js(44,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-shallow.js(20,22): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-shallow.js(21,23): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-shallow.js(22,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-shallow.js(57,28): error TS2339: Property 'dir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-shallow.js(66,23): error TS2339: Property 'globalDir' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/completion/installed-shallow.js(79,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(12,21): error TS2339: Property 'rollbacks' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(23,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(29,16): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(33,12): error TS2345: Argument of type '"timing"' is not assignable to parameter of type 'Signals'. node_modules/npm/lib/utils/error-handler.js(38,16): error TS2345: Argument of type '"timeEnd"' is not assignable to parameter of type '"warning"'. -node_modules/npm/lib/utils/error-handler.js(40,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(40,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(43,39): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(68,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(68,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(83,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(83,41): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(98,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(98,40): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(105,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(146,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(146,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(40,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(40,32): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(43,39): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(68,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(68,32): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(83,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(83,41): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(98,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(98,40): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(105,13): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(146,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(146,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(166,14): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/utils/error-handler.js(167,16): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/utils/error-handler.js(168,8): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/utils/error-handler.js(186,40): error TS2345: Argument of type '{ (value: any, replacer?: ((key: string, value: any) => any) | undefined, space?: string | number | undefined): string; (value: any, replacer?: (string | number)[] | null | undefined, space?: string | ... 1 more ... | undefined): string; }' is not assignable to parameter of type '(value: string, index: number, array: string[]) => string'. Types of parameters 'replacer' and 'index' are incompatible. Type 'number' is not assignable to type '((key: string, value: any) => any) | undefined'. -node_modules/npm/lib/utils/error-handler.js(188,33): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-handler.js(205,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(188,33): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(205,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(208,18): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/utils/error-handler.js(216,18): error TS2339: Property 'errno' does not exist on type 'Error'. node_modules/npm/lib/utils/error-handler.js(216,42): error TS2339: Property 'errno' does not exist on type 'Error'. -node_modules/npm/lib/utils/error-handler.js(231,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/error-handler.js(231,34): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/error-handler.js(236,7): error TS2322: Type 'string' is not assignable to type 'any[]'. -node_modules/npm/lib/utils/error-message.js(77,37): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-message.js(300,24): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/error-message.js(301,25): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/git.js(9,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/error-message.js(77,37): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-message.js(300,24): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/error-message.js(301,25): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/git.js(9,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/is-windows-bash.js(3,53): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. Type 'undefined' is not assignable to type 'string'. -node_modules/npm/lib/utils/lifecycle-cmd.js(8,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(16,23): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(22,29): error TS2339: Property 'cache' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(27,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(28,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/locker.js(29,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/lifecycle-cmd.js(8,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/locker.js(16,23): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/locker.js(22,29): error TS2339: Property 'cache' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/locker.js(27,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/locker.js(28,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/locker.js(29,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/locker.js(65,15): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/lib/utils/map-to-registry.js(98,45): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics-launch.js(12,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics-launch.js(13,36): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics-launch.js(14,30): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(18,7): error TS2339: Property 'metricsProcess' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(23,11): error TS2339: Property 'metricsProcess' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(23,31): error TS2339: Property 'metricsProcess' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(31,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/map-to-registry.js(98,45): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics-launch.js(12,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics-launch.js(13,36): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics-launch.js(14,30): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics.js(18,7): error TS2339: Property 'metricsProcess' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics.js(23,11): error TS2339: Property 'metricsProcess' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics.js(23,31): error TS2339: Property 'metricsProcess' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics.js(31,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/metrics.js(34,26): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/lib/utils/metrics.js(61,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. -node_modules/npm/lib/utils/metrics.js(62,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(64,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/metrics.js(65,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/parse-json.js(7,11): error TS2339: Property 'noExceptions' does not exist on type '(content: any) => any'. +node_modules/npm/lib/utils/metrics.js(62,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics.js(64,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/metrics.js(65,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/perf.js(9,12): error TS2345: Argument of type '"time"' is not assignable to parameter of type 'Signals'. node_modules/npm/lib/utils/perf.js(10,12): error TS2345: Argument of type '"timeEnd"' is not assignable to parameter of type 'Signals'. -node_modules/npm/lib/utils/read-local-package.js(7,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/read-local-package.js(9,29): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/read-local-package.js(7,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/utils/read-local-package.js(9,29): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/spawn.js(26,8): error TS2339: Property 'file' does not exist on type 'Error'. node_modules/npm/lib/utils/spawn.js(34,10): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/utils/spawn.js(35,10): error TS2339: Property 'errno' does not exist on type 'Error'. @@ -850,47 +849,47 @@ node_modules/npm/lib/utils/spawn.js(44,10): error TS2339: Property 'stdin' does node_modules/npm/lib/utils/spawn.js(45,10): error TS2339: Property 'stdout' does not exist on type 'EventEmitter'. node_modules/npm/lib/utils/spawn.js(46,10): error TS2339: Property 'stderr' does not exist on type 'EventEmitter'. node_modules/npm/lib/utils/spawn.js(47,10): error TS2339: Property 'kill' does not exist on type 'EventEmitter'. -node_modules/npm/lib/utils/temp-filename.js(6,29): error TS2339: Property 'tmp' does not exist on type 'EventEmitter'. +node_modules/npm/lib/utils/temp-filename.js(6,29): error TS2339: Property 'tmp' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/utils/usage.js(8,21): error TS2345: Argument of type 'string' is not assignable to parameter of type 'ConcatArray'. -node_modules/npm/lib/version.js(24,27): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(82,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(97,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(104,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(116,35): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(160,19): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(201,15): error TS2339: Property 'version' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(206,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/lib/version.js(24,27): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(82,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(97,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(104,19): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(116,35): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(160,19): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(201,15): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(206,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/version.js(206,31): error TS2322: Type 'string' is not assignable to type '{ [x: string]: any; npm: any; }'. -node_modules/npm/lib/version.js(213,25): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(257,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(276,32): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(290,12): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(296,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(297,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(306,20): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(324,44): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/version.js(336,19): error TS2339: Property 'localPrefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(35,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(36,47): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(39,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(89,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(94,19): error TS2339: Property 'prefix' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(116,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(118,27): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(121,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(168,14): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(185,23): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(405,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(408,38): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(412,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(415,74): error TS2339: Property 'color' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(417,47): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(420,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/view.js(429,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/visnup.js(41,14): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/lib/whoami.js(15,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/whoami.js(18,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/lib/whoami.js(24,18): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. +node_modules/npm/lib/version.js(213,25): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(257,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(276,32): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(290,12): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(296,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(297,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(306,20): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(324,44): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/version.js(336,19): error TS2339: Property 'localPrefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(35,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(36,47): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(39,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(89,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(94,19): error TS2339: Property 'prefix' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(116,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(118,27): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(121,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(168,14): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(185,23): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(405,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(408,38): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(412,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(415,74): error TS2339: Property 'color' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(417,47): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(420,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/view.js(429,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/visnup.js(41,14): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/whoami.js(15,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/whoami.js(18,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/lib/whoami.js(24,18): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/lib/whoami.js(30,26): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/lib/whoami.js(45,12): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/scripts/index-build.js(20,13): error TS2531: Object is possibly 'null'. @@ -952,46 +951,46 @@ node_modules/npm/test/need-npm5-update/outdated-depth-deep.js(69,28): error TS23 Type 'number' is not assignable to type 'string'. node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(55,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(62,11): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(64,13): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(55,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(62,11): error TS2339: Property 'install' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-depth-integer.js(64,13): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(38,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(39,11): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(38,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-include-devdependencies.js(39,11): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/outdated-local.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/outdated-local.js(6,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/need-npm5-update/outdated-local.js(107,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-local.js(114,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-local.js(117,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-local.js(107,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-local.js(114,13): error TS2339: Property 'install' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-local.js(117,15): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/outdated-new-versions.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/need-npm5-update/outdated-new-versions.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/need-npm5-update/outdated-new-versions.js(42,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-new-versions.js(43,11): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-new-versions.js(42,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-new-versions.js(43,11): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/outdated-notarget.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/outdated-notarget.js(12,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/need-npm5-update/outdated-notarget.js(18,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-notarget.js(19,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-notarget.js(18,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-notarget.js(19,11): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/outdated-private.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/outdated-private.js(6,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/need-npm5-update/outdated-private.js(58,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-private.js(65,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/outdated-private.js(68,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-private.js(58,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-private.js(65,13): error TS2339: Property 'install' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/outdated-private.js(68,15): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/outdated-symlink.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/need-npm5-update/outdated-symlink.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/outdated-symlink.js(13,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(74,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(80,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(74,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/peer-deps-invalid.js(80,13): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(4,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(5,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/need-npm5-update/peer-deps-toplevel.js(8,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(50,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(54,11): error TS2339: Property 'install' does not exist on type 'EventEmitter'. +node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(50,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/need-npm5-update/peer-deps-without-package-json.js(54,11): error TS2339: Property 'install' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/need-npm5-update/rm-linked.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/shrinkwrap-complete-except-dev.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/need-npm5-update/shrinkwrap-complete-except-dev.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. @@ -1017,9 +1016,9 @@ node_modules/npm/test/tap/00-verify-ls-ok.js(2,20): error TS2307: Cannot find mo node_modules/npm/test/tap/00-verify-no-scoped.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/404-parent.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/404-parent.js(10,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/tap/404-parent.js(47,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/404-parent.js(50,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/404-parent.js(53,11): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/404-parent.js(47,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/404-parent.js(50,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/404-parent.js(53,11): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/404-private-registry-scoped.js(1,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/404-private-registry-scoped.js(6,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/404-private-registry.js(1,20): error TS2307: Cannot find module 'tap'. @@ -1029,20 +1028,20 @@ node_modules/npm/test/tap/access.js(7,20): error TS2307: Cannot find module 'tap node_modules/npm/test/tap/add-named-update-protocol-port.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/add-named-update-protocol-port.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/add-remote-git-file.js(10,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/add-remote-git-file.js(56,18): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(57,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(58,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(59,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-file.js(86,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/add-remote-git-file.js(56,18): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/add-remote-git-file.js(57,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/add-remote-git-file.js(58,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/add-remote-git-file.js(59,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/add-remote-git-file.js(86,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/add-remote-git-shrinkwrap.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/add-remote-git-shrinkwrap.js(104,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/add-remote-git-shrinkwrap.js(104,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/add-remote-git-submodule.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/add-remote-git-submodule.js(45,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-submodule.js(53,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git-submodule.js(87,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/add-remote-git-submodule.js(45,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/add-remote-git-submodule.js(53,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/add-remote-git-submodule.js(87,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/add-remote-git.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/add-remote-git.js(48,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/add-remote-git.js(71,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/add-remote-git.js(48,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/add-remote-git.js(71,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/adduser-always-auth.js(4,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/adduser-always-auth.js(6,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/adduser-legacy-auth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. @@ -1056,21 +1055,21 @@ node_modules/npm/test/tap/all-package-metadata-cache-stream-unit.js(9,21): error node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(9,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(11,21): error TS2307: Cannot find module 'tacks'. -node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(33,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/all-package-metadata-entry-stream-unit.js(33,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/all-package-metadata-update-stream-unit.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/all-package-metadata-update-stream-unit.js(9,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/tap/all-package-metadata-update-stream-unit.js(31,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/all-package-metadata-update-stream-unit.js(31,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(5,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(34,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(34,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(66,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(98,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/all-package-metadata-write-stream-unit.js(121,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/all-package-metadata.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/all-package-metadata.js(11,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/all-package-metadata.js(13,21): error TS2307: Cannot find module 'tacks'. -node_modules/npm/test/tap/all-package-metadata.js(36,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata.js(38,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/all-package-metadata.js(39,33): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/all-package-metadata.js(36,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/all-package-metadata.js(38,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/all-package-metadata.js(39,33): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/all-package-metadata.js(73,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/all-package-metadata.js(117,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/all-package-metadata.js(175,31): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. @@ -1096,17 +1095,17 @@ node_modules/npm/test/tap/bugs.js(4,18): error TS2307: Cannot find module 'npm-r node_modules/npm/test/tap/bugs.js(6,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/build-already-built.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/build-already-built.js(9,29): error TS2307: Cannot find module 'require-inject'. -node_modules/npm/test/tap/build-already-built.js(23,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/build-already-built.js(33,22): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/build-already-built.js(23,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/build-already-built.js(33,22): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/builtin-config.js(14,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/bundled-dependencies-nonarray.js(8,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/bundled-dependencies.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/bundled-dependencies.js(12,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/bundled-no-add-to-move.js(2,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/bundled-no-add-to-move.js(42,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/bundled-no-add-to-move.js(42,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/bundled-transitive-deps.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/bundled-transitive-deps.js(5,21): error TS2307: Cannot find module 'tacks'. -node_modules/npm/test/tap/bundled-transitive-deps.js(74,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/bundled-transitive-deps.js(74,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/cache-add-unpublished.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/cache-shasum-fork.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/cache-shasum-fork.js(8,20): error TS2307: Cannot find module 'tap'. @@ -1180,19 +1179,19 @@ node_modules/npm/test/tap/do-not-remove-other-bins.js(8,20): error TS2307: Canno node_modules/npm/test/tap/doctor.js(5,20): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/doctor.js(9,23): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/doctor.js(10,22): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/doctor.js(66,11): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/doctor.js(82,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/doctor.js(86,34): error TS2339: Property 'version' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/doctor.js(66,11): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/doctor.js(82,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/doctor.js(86,34): error TS2339: Property 'version' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/extraneous-dep-cycle-ls-ok.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/false-name.js(12,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'. node_modules/npm/test/tap/false-name.js(15,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/false-name.js(17,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/fetch-package-metadata.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/fetch-package-metadata.js(9,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/fetch-package-metadata.js(36,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/fetch-package-metadata.js(36,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/full-warning-messages.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/gently-rm-cmdshims.js(4,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/gently-rm-cmdshims.js(107,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/gently-rm-cmdshims.js(107,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/gently-rm-linked-module.js(6,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/gently-rm-linked-module.js(8,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/gently-rm-linked-module.js(12,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. @@ -1200,16 +1199,16 @@ node_modules/npm/test/tap/gently-rm-overeager.js(3,20): error TS2307: Cannot fin node_modules/npm/test/tap/gently-rm-symlinked-global-dir.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/get.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/get.js(6,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/tap/get.js(40,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(50,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(54,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(58,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(62,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(66,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(70,9): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(80,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(86,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/get.js(92,7): error TS2339: Property 'registry' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/get.js(40,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(50,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(54,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(58,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(62,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(66,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(70,9): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(80,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(86,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/get.js(92,7): error TS2339: Property 'registry' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/gist-short-shortcut-package.js(7,29): error TS2307: Cannot find module 'require-inject'. node_modules/npm/test/tap/gist-short-shortcut-package.js(9,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/gist-short-shortcut.js(7,29): error TS2307: Cannot find module 'require-inject'. @@ -1220,13 +1219,13 @@ node_modules/npm/test/tap/gist-shortcut.js(7,29): error TS2307: Cannot find modu node_modules/npm/test/tap/gist-shortcut.js(9,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/git-dependency-install-link.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/git-dependency-install-link.js(9,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/tap/git-dependency-install-link.js(125,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/git-dependency-install-link.js(125,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/git-npmignore.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/git-npmignore.js(12,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/git-prepare.js(8,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/git-prepare.js(9,20): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/git-prepare.js(19,21): error TS2307: Cannot find module 'tacks'. -node_modules/npm/test/tap/git-prepare.js(131,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/git-prepare.js(131,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/github-shortcut-package.js(7,29): error TS2307: Cannot find module 'require-inject'. node_modules/npm/test/tap/github-shortcut-package.js(9,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/github-shortcut.js(10,31): error TS2307: Cannot find module 'require-inject'. @@ -1242,17 +1241,17 @@ node_modules/npm/test/tap/ignore-install-link.js(6,20): error TS2307: Cannot fin node_modules/npm/test/tap/ignore-scripts.js(6,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/init-create.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/init-create.js(3,29): error TS2307: Cannot find module 'require-inject'. -node_modules/npm/test/tap/init-create.js(25,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/init-create.js(42,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/init-create.js(25,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/init-create.js(42,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/init-create.js(47,16): error TS2339: Property 'parseArgs' does not exist on type '() => Promise'. node_modules/npm/test/tap/init-create.js(53,16): error TS2339: Property 'parseArgs' does not exist on type '() => Promise'. -node_modules/npm/test/tap/init-create.js(68,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/init-create.js(68,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/init-create.js(74,16): error TS2339: Property 'parseArgs' does not exist on type '() => Promise'. node_modules/npm/test/tap/init-interrupt.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/init-interrupt.js(8,29): error TS2307: Cannot find module 'require-inject'. -node_modules/npm/test/tap/init-interrupt.js(28,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/init-interrupt.js(28,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/install-actions.js(4,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/install-actions.js(13,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/install-actions.js(13,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/install-actions.js(108,27): error TS2345: Argument of type '{ [x: string]: any; path: string; package: { [x: string]: any; dependencies: { [x: string]: any; b: string; }; optionalDependencies: { [x: string]: any; a: string; }; }; children: ({ [x: string]: any; name: string; path: string; package: { [x: string]: any; scripts: { ...; }; dependencies: { ...; }; }; isTop: boolea...' is not assignable to parameter of type '{ [x: string]: any; name: string; path: string; package: { [x: string]: any; scripts: { [x: string]: any; postinstall: string; }; dependencies: { [x: string]: any; b: string; }; }; isTop: boolean; }'. Property 'name' is missing in type '{ [x: string]: any; path: string; package: { [x: string]: any; dependencies: { [x: string]: any; b: string; }; optionalDependencies: { [x: string]: any; a: string; }; }; children: ({ [x: string]: any; name: string; path: string; package: { [x: string]: any; scripts: { ...; }; dependencies: { ...; }; }; isTop: boolea...'. node_modules/npm/test/tap/install-at-locally.js(7,20): error TS2307: Cannot find module 'tap'. @@ -1315,10 +1314,10 @@ node_modules/npm/test/tap/install-scoped-with-bundled-dependency.js(4,21): error node_modules/npm/test/tap/install-scoped-with-bundled-dependency.js(7,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. node_modules/npm/test/tap/install-scoped-with-peer-dependency.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/install-shrinkwrapped-git.js(9,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(56,12): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(60,12): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(65,12): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/install-shrinkwrapped-git.js(106,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/install-shrinkwrapped-git.js(56,12): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/install-shrinkwrapped-git.js(60,12): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/install-shrinkwrapped-git.js(65,12): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/install-shrinkwrapped-git.js(106,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/install-test-cli-without-package-lock.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/install-windows-newlines.js(3,40): error TS2339: Property 'existsSync' does not exist on type 'typeof import("path")'. node_modules/npm/test/tap/install-windows-newlines.js(7,20): error TS2307: Cannot find module 'tap'. @@ -1354,8 +1353,8 @@ node_modules/npm/test/tap/link.js(5,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/local-args-relative-to-cwd.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/local-args-relative-to-cwd.js(5,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/locker.js(1,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/locker.js(31,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/locker.js(61,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/locker.js(31,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/locker.js(61,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/lockfile-http-deps.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/lockfile-http-deps.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/lockfile-http-deps.js(6,21): error TS2307: Cannot find module 'tacks'. @@ -1380,27 +1379,27 @@ node_modules/npm/test/tap/ls-top-errors.js(5,20): error TS2307: Cannot find modu node_modules/npm/test/tap/ls.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/ls.js(9,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/map-to-registry.js(1,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/map-to-registry.js(14,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(23,28): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(38,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(39,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(40,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(41,29): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(56,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(57,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(58,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(59,34): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(74,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(75,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(76,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(77,35): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(94,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(95,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(96,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(101,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(123,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(143,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/map-to-registry.js(146,11): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(14,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(23,28): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(38,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(39,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(40,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(41,29): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(56,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(57,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(58,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(59,34): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(74,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(75,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(76,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(77,35): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(94,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(95,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(96,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(101,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(123,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(143,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/map-to-registry.js(146,11): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/nerf-dart.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/nested-extraneous.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/no-global-warns.js(3,20): error TS2307: Cannot find module 'tap'. @@ -1408,48 +1407,48 @@ node_modules/npm/test/tap/no-scan-full-global-dir.js(4,20): error TS2307: Cannot node_modules/npm/test/tap/no-scan-full-global-dir.js(5,29): error TS2307: Cannot find module 'require-inject'. node_modules/npm/test/tap/no-scan-full-global-dir.js(28,6): error TS2339: Property 'code' does not exist on type 'Error'. node_modules/npm/test/tap/no-scan-full-global-dir.js(34,6): error TS2339: Property 'code' does not exist on type 'Error'. -node_modules/npm/test/tap/no-scan-full-global-dir.js(43,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/no-scan-full-global-dir.js(43,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/noargs-install-config-save.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/noargs-install-config-save.js(8,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/node-modules-path-munge.js(2,17): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/normalize-package-explode.js(2,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/normalize-package-explode.js(16,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/normalize-package-explode.js(16,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/npm-api-not-loaded-error.js(1,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(16,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(26,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(34,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(37,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(38,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/npm-api-not-loaded-error.js(39,17): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/npm-api-not-loaded-error.js(16,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/npm-api-not-loaded-error.js(26,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/npm-api-not-loaded-error.js(34,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/npm-api-not-loaded-error.js(37,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/npm-api-not-loaded-error.js(38,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/npm-api-not-loaded-error.js(39,17): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/onload.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/optional-metadep-rollback-collision.js(8,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/optional-metadep-rollback-collision.js(17,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/outdated-bad-read-tree.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/outdated-bad-read-tree.js(3,29): error TS2307: Cannot find module 'require-inject'. -node_modules/npm/test/tap/outdated-bad-read-tree.js(7,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/outdated-bad-read-tree.js(7,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/outdated-color.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/outdated-color.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/outdated-depth.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/outdated-depth.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/outdated-depth.js(48,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-depth.js(54,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-depth.js(56,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/outdated-depth.js(48,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated-depth.js(54,13): error TS2339: Property 'install' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated-depth.js(56,15): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/outdated-git.js(3,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/outdated-git.js(35,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-git.js(36,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/outdated-git.js(35,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated-git.js(36,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/outdated-json.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/outdated-json.js(8,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/outdated-long.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/outdated-long.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/outdated-long.js(66,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-long.js(74,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-long.js(76,15): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated-long.js(77,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/outdated-long.js(66,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated-long.js(74,13): error TS2339: Property 'install' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated-long.js(76,15): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated-long.js(77,15): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/outdated.js(5,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/outdated.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/outdated.js(92,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated.js(100,13): error TS2339: Property 'install' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/outdated.js(105,15): error TS2339: Property 'outdated' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/outdated.js(92,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated.js(100,13): error TS2339: Property 'install' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/outdated.js(105,15): error TS2339: Property 'outdated' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/override-bundled.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/owner.js(1,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/owner.js(2,20): error TS2307: Cannot find module 'tap'. @@ -1509,11 +1508,11 @@ node_modules/npm/test/tap/publish-access-unscoped.js(7,18): error TS2307: Cannot node_modules/npm/test/tap/publish-config.js(4,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-invalid-semver-tag.js(8,18): error TS2307: Cannot find module 'npm-registry-mock'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(37,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(53,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(54,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(64,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/publish-invalid-semver-tag.js(65,7): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/publish-invalid-semver-tag.js(37,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/publish-invalid-semver-tag.js(53,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/publish-invalid-semver-tag.js(54,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/publish-invalid-semver-tag.js(64,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/publish-invalid-semver-tag.js(65,7): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/publish-scoped.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/publish-scoped.js(8,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/publish.js(8,33): error TS2307: Cannot find module 'npm-registry-mock'. @@ -1550,7 +1549,7 @@ node_modules/npm/test/tap/search.all-package-search.js(151,19): error TS2532: Ob node_modules/npm/test/tap/search.all-package-search.js(152,26): error TS2532: Object is possibly 'undefined'. node_modules/npm/test/tap/search.esearch.js(4,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/search.esearch.js(9,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/search.esearch.js(33,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/search.esearch.js(33,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/search.js(3,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/search.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/search.js(8,21): error TS2307: Cannot find module 'tacks'. @@ -1572,7 +1571,7 @@ node_modules/npm/test/tap/shrinkwrap-empty-deps.js(10,22): error TS2307: Cannot node_modules/npm/test/tap/shrinkwrap-empty-deps.js(52,24): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(6,20): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(11,22): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(52,38): error TS2339: Property 'lockfileVersion' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(52,38): error TS2339: Property 'lockfileVersion' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/shrinkwrap-extra-metadata.js(55,24): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/shrinkwrap-global-auth.js(8,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/shrinkwrap-global-auth.js(12,20): error TS2307: Cannot find module 'tap'. @@ -1621,14 +1620,14 @@ node_modules/npm/test/tap/spec-local-specifiers.js(7,21): error TS2307: Cannot f node_modules/npm/test/tap/spec-local-specifiers.js(38,21): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(4,20): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(9,22): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(62,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(76,14): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(85,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(86,16): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(62,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(76,14): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(85,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/splat-with-only-prerelease-to-latest.js(86,16): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/startstop.js(7,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/symlink-cycle.js(4,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/tag-version-prefix.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/tag-version-prefix.js(24,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/tag-version-prefix.js(24,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/tagged-version-matching.js(3,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/tagged-version-matching.js(4,21): error TS2307: Cannot find module 'tacks'. node_modules/npm/test/tap/tagged-version-matching.js(8,47): error TS2339: Property '_extend' does not exist on type 'typeof import("util")'. @@ -1656,7 +1655,7 @@ node_modules/npm/test/tap/unit-deps-removeObsoleteDep.js(32,26): error TS2345: A node_modules/npm/test/tap/unit-deps-removeObsoleteDep.js(40,26): error TS2345: Argument of type '{ [x: string]: any; requires: { [x: string]: any; requiredBy: { [x: string]: any; isTop: boolean; }[]; }[]; }' is not assignable to parameter of type '{ [x: string]: any; isTop: boolean; }'. Property 'isTop' is missing in type '{ [x: string]: any; requires: { [x: string]: any; requiredBy: { [x: string]: any; isTop: boolean; }[]; }[]; }'. node_modules/npm/test/tap/unit-deps-replaceModule.js(2,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/unit-deps-replaceModule.js(6,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/unit-deps-replaceModule.js(6,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/unit-module-name.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/unit-package-id.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/unit-token-validate-cidr.js(2,22): error TS2307: Cannot find module 'tap'. @@ -1677,76 +1676,76 @@ node_modules/npm/test/tap/url-dependencies.js(8,20): error TS2307: Cannot find m node_modules/npm/test/tap/verify-no-lifecycle-on-repo.js(6,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/verify-no-lifecycle-on-repo.js(7,29): error TS2307: Cannot find module 'require-inject'. node_modules/npm/test/tap/version-allow-same-version.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-allow-same-version.js(24,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-allow-same-version.js(41,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-allow-same-version.js(24,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-allow-same-version.js(41,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-commit-hooks-default.js(1,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-commit-hooks-default.js(9,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks-default.js(10,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks-default.js(9,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks-default.js(10,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-commit-hooks.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-commit-hooks.js(19,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(23,16): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(29,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(30,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(45,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-commit-hooks.js(46,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks.js(19,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks.js(23,16): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks.js(29,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks.js(30,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks.js(45,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-commit-hooks.js(46,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-consistent-newlines.js(4,22): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/version-consistent-newlines.js(11,31): error TS2307: Cannot find module 'require-inject'. -node_modules/npm/test/tap/version-consistent-newlines.js(20,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-consistent-newlines.js(46,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-consistent-newlines.js(20,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-consistent-newlines.js(46,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-from-git.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-from-git.js(25,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(26,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(54,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(55,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(78,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(79,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(80,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(110,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(111,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(112,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(140,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(141,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(157,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(158,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(173,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(174,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(202,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-from-git.js(213,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(25,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(26,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(54,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(55,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(78,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(79,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(80,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(110,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(111,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(112,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(140,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(141,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(157,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(158,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(173,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(174,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(202,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-from-git.js(213,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-git-not-clean.js(2,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-git-not-clean.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-git-not-clean.js(42,17): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-git-not-clean.js(17,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-git-not-clean.js(42,17): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-lifecycle.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-lifecycle.js(28,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-lifecycle.js(50,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-lifecycle.js(72,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-lifecycle.js(98,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-lifecycle.js(28,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-lifecycle.js(50,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-lifecycle.js(72,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-lifecycle.js(98,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-message-config.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-message-config.js(24,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-message-config.js(24,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-no-git.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/version-no-git.js(9,29): error TS2307: Cannot find module 'require-inject'. -node_modules/npm/test/tap/version-no-git.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-no-git.js(17,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-no-package.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/version-no-tags.js(2,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-no-tags.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-no-tags.js(34,13): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-no-tags.js(35,13): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-no-tags.js(17,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-no-tags.js(34,13): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-no-tags.js(35,13): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(25,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(36,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(37,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(25,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(36,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(37,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(41,36): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/version-sub-directory-shrinkwrap.js(43,33): error TS2345: Argument of type 'Buffer' is not assignable to parameter of type 'string'. node_modules/npm/test/tap/version-sub-directory.js(8,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-sub-directory.js(24,9): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory.js(35,9): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-sub-directory.js(36,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-sub-directory.js(24,9): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-sub-directory.js(35,9): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-sub-directory.js(36,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/version-update-shrinkwrap.js(7,20): error TS2307: Cannot find module 'tap'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(17,7): error TS2339: Property 'load' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(18,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(31,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(42,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(73,7): error TS2339: Property 'config' does not exist on type 'EventEmitter'. -node_modules/npm/test/tap/version-update-shrinkwrap.js(84,9): error TS2339: Property 'commands' does not exist on type 'EventEmitter'. +node_modules/npm/test/tap/version-update-shrinkwrap.js(17,7): error TS2339: Property 'load' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-update-shrinkwrap.js(18,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-update-shrinkwrap.js(31,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-update-shrinkwrap.js(42,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-update-shrinkwrap.js(73,7): error TS2339: Property 'config' does not exist on type 'typeof EventEmitter'. +node_modules/npm/test/tap/version-update-shrinkwrap.js(84,9): error TS2339: Property 'commands' does not exist on type 'typeof EventEmitter'. node_modules/npm/test/tap/view.js(2,20): error TS2307: Cannot find module 'tap'. node_modules/npm/test/tap/view.js(12,18): error TS2307: Cannot find module 'npm-registry-mock'. node_modules/npm/test/tap/zz-cleanup.js(2,20): error TS2307: Cannot find module 'tap'. diff --git a/tests/baselines/reference/user/npmlog.log b/tests/baselines/reference/user/npmlog.log index 1c698e3cbf6c5..cdd163fa0f1a1 100644 --- a/tests/baselines/reference/user/npmlog.log +++ b/tests/baselines/reference/user/npmlog.log @@ -1,100 +1,12 @@ Exit Code: 1 Standard output: -node_modules/npmlog/log.js(25,5): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(29,5): error TS2339: Property 'enableColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(31,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(33,5): error TS2339: Property 'disableColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(35,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(39,5): error TS2339: Property 'level' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(41,5): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(43,25): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(53,5): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(57,5): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(57,27): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(61,5): error TS2339: Property 'enableUnicode' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(63,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(63,39): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(66,5): error TS2339: Property 'disableUnicode' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(68,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(68,39): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(71,5): error TS2339: Property 'setGaugeThemeset' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(72,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(75,5): error TS2339: Property 'setGaugeTemplate' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(76,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(79,5): error TS2339: Property 'enableProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(80,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(81,8): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(82,8): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(82,34): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(83,12): error TS2339: Property '_pause' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(84,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(87,5): error TS2339: Property 'disableProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(88,13): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(89,8): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(90,8): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(90,46): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(91,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(122,47): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(122,69): error TS2339: Property 'tracker' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(125,5): error TS2339: Property 'clearProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(126,13): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(127,8): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(130,5): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(134,18): error TS2339: Property 'record' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(134,29): error TS2339: Property 'record' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(137,20): error TS2339: Property 'disp' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(138,42): error TS2339: Property 'style' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(148,5): error TS2339: Property 'pause' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(149,8): error TS2339: Property '_paused' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(150,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(150,34): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(153,5): error TS2339: Property 'resume' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(154,13): error TS2339: Property '_paused' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(155,8): error TS2339: Property '_paused' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(157,16): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(158,8): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(162,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(162,34): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(165,5): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(168,5): error TS2339: Property 'record' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(169,5): error TS2339: Property 'maxRecordSize' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(170,5): error TS2339: Property 'log' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(217,5): error TS2339: Property 'emitLog' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(218,12): error TS2339: Property '_paused' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(219,10): error TS2339: Property '_buffer' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(222,12): error TS2339: Property 'progressEnabled' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(222,34): error TS2339: Property 'gauge' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(223,16): error TS2339: Property 'levels' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(225,16): error TS2339: Property 'levels' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(225,28): error TS2339: Property 'level' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(230,18): error TS2339: Property 'disp' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(230,46): error TS2339: Property 'disp' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(231,8): error TS2339: Property 'clearProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(237,26): error TS2339: Property 'style' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(243,8): error TS2339: Property 'showProgress' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(246,5): error TS2339: Property '_format' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(250,12): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(262,12): error TS2339: Property 'useColor' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(268,5): error TS2339: Property 'write' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(271,21): error TS2339: Property '_format' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(274,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(277,8): error TS2339: Property 'levels' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(278,8): error TS2339: Property 'style' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(289,8): error TS2339: Property 'disp' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(292,5): error TS2339: Property 'prefixStyle' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(293,5): error TS2339: Property 'headingStyle' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(295,5): error TS2339: Property 'style' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(296,5): error TS2339: Property 'levels' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(297,5): error TS2339: Property 'disp' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(298,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(299,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(300,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(301,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(302,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(303,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(304,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(305,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. -node_modules/npmlog/log.js(306,5): error TS2339: Property 'addLevel' does not exist on type 'EventEmitter'. +node_modules/npmlog/log.js(83,12): error TS2551: Property '_pause' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'? +node_modules/npmlog/log.js(149,8): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'? +node_modules/npmlog/log.js(154,13): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'? +node_modules/npmlog/log.js(155,8): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'? +node_modules/npmlog/log.js(218,12): error TS2551: Property '_paused' does not exist on type 'typeof EventEmitter'. Did you mean 'pause'? +node_modules/npmlog/log.js(271,16): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'string'. + Type 'undefined' is not assignable to type 'string'. diff --git a/tests/cases/conformance/salsa/contextualTypedSpecialAssignment.ts b/tests/cases/conformance/salsa/contextualTypedSpecialAssignment.ts index e4a2b56970c1b..a64f34f35fc96 100644 --- a/tests/cases/conformance/salsa/contextualTypedSpecialAssignment.ts +++ b/tests/cases/conformance/salsa/contextualTypedSpecialAssignment.ts @@ -50,8 +50,7 @@ exports.x = { } exports.x -/** @type {DoneStatus} contextual typing is allowed, but module.exports.y: any. -Guess it doesn't check the type tag? */ +/** @type {DoneStatus} */ module.exports.y = { status: "done", m(n) { } diff --git a/tests/cases/conformance/salsa/moduleExportAssignment.ts b/tests/cases/conformance/salsa/moduleExportAssignment.ts new file mode 100644 index 0000000000000..b0f9b3a4258f7 --- /dev/null +++ b/tests/cases/conformance/salsa/moduleExportAssignment.ts @@ -0,0 +1,22 @@ +// @noEmit: true +// @allowJs: true +// @checkJs: true +// @Filename: npmlog.js +class EE { + /** @param {string} s */ + on(s) { } +} +var npmlog = module.exports = new EE() + +npmlog.on('hi') // both references should see EE.on +module.exports.on('hi') // here too + +npmlog.x = 1 +module.exports.y = 2 +npmlog.y +module.exports.x + +// @Filename: use.js +var npmlog = require('./npmlog') +npmlog.x +npmlog.on diff --git a/tests/cases/conformance/salsa/moduleExportAssignment2.ts b/tests/cases/conformance/salsa/moduleExportAssignment2.ts new file mode 100644 index 0000000000000..decb27392126c --- /dev/null +++ b/tests/cases/conformance/salsa/moduleExportAssignment2.ts @@ -0,0 +1,10 @@ +// @noEmit: true +// @allowJs: true +// @checkJs: true +// @Filename: npm.js +var npm = module.exports = function (tree) { +} +module.exports.asReadInstalled = function (tree) { + npm(tree) // both references should be callable + module.exports(tree) +} diff --git a/tests/cases/conformance/salsa/moduleExportAssignment3.ts b/tests/cases/conformance/salsa/moduleExportAssignment3.ts new file mode 100644 index 0000000000000..ca45a720c3041 --- /dev/null +++ b/tests/cases/conformance/salsa/moduleExportAssignment3.ts @@ -0,0 +1,10 @@ +// @noEmit: true +// @allowJs: true +// @checkJs: true +// @Filename: mod.js +module.exports = function x() { } +module.exports() // should be callable + +// @Filename: npm.js +var mod = require('./mod') +mod() // should be callable from here too diff --git a/tests/cases/conformance/salsa/moduleExportAssignment4.ts b/tests/cases/conformance/salsa/moduleExportAssignment4.ts new file mode 100644 index 0000000000000..979c423b6ddac --- /dev/null +++ b/tests/cases/conformance/salsa/moduleExportAssignment4.ts @@ -0,0 +1,6 @@ +// @noEmit: true +// @allowJs: true +// @checkJs: true +// @Filename: async.js +exports.default = { m: 1, a: 1 } +module.exports = exports['default']; diff --git a/tests/cases/conformance/salsa/moduleExportAssignment5.ts b/tests/cases/conformance/salsa/moduleExportAssignment5.ts new file mode 100644 index 0000000000000..798e83d6db359 --- /dev/null +++ b/tests/cases/conformance/salsa/moduleExportAssignment5.ts @@ -0,0 +1,14 @@ +// @noEmit: true +// @allowJs: true +// @checkJs: true +// @Filename: axios.js +class Axios { + constructor() { + } + m() { } +} +var axios = new Axios(); +// none of the 3 references should have a use-before-def error +axios.m() +module.exports = axios; +module.exports.default = axios; diff --git a/tests/cases/conformance/salsa/moduleExportPropertyAssignmentDefault.ts b/tests/cases/conformance/salsa/moduleExportPropertyAssignmentDefault.ts new file mode 100644 index 0000000000000..f61442bcd9ad0 --- /dev/null +++ b/tests/cases/conformance/salsa/moduleExportPropertyAssignmentDefault.ts @@ -0,0 +1,8 @@ +// @noEmit: true +// @allowJs: true +// @checkJs: true +// @Filename: axios.js + +var axios = {} +module.exports = axios // both assignments should be ok +module.exports.default = axios