mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Check module.exports (#25732)
* Revert "Revert "Explicitly typed special assignments are context sensitive (#25619)"" This reverts commit16676f2707. * Revert "Revert "Explicitly typed prototype assignments are context sensitive (#25688)"" This reverts commitff8c30d636. * Initial, wasteful, solution It burns a check flags. Probably necessary, but perhaps not. I haven't accepted baselines, but they are a bit questionable. I'm not sure the synthetic type is right, because I expected to see { "exports": typeof import("x") } but instead see { "x": typeof import("x") }. * Update some baselines * module.exports= always uses lhs type Conflicts between exports property assignments and exports assignments should get a union type instead of an error. * Fix lint and accept good user baselines * Add tests based on user tests. These currently fail. * Fix all but 1 of user test bugs found by typing module.exports Still quite messy and full of notes * Follow merged symbols+allow any object type This allows exports like `module.exports = new EE` to have properties added to them. Still messy, but I'm going to run user tests and look for regressions. * Update improved user baselines * Fix infinite recursion when checking module.exports * Fix bogus use-before-def error getExportSymbolOfValueSymbolIfExported should always merge its returned symbol, whether it's symbol.exportSymbol or just symbol. * Update user test baselines * Cleanup * More small cleanup * Bind `module` of `module.exports` as a special symbol Previously it was also special, but created during name resolution in the checker. It made sense when there was only one special symbol for all files, but now there is one `module` symbol per file.
This commit is contained in:
1 parent
fedcd3a1b4
commit
31d599abaf
90 files changed
+1944
-1598
No files matched your search
@@ -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);
|
||||
|
||||
+45
-28
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -2049,6 +2049,7 @@ declare namespace ts {
|
||||
Optional = 16777216,
|
||||
Transient = 33554432,
|
||||
JSContainer = 67108864,
|
||||
ModuleExports = 134217728,
|
||||
Enum = 384,
|
||||
Variable = 3,
|
||||
Value = 67216319,
|
||||
|
||||
@@ -2049,6 +2049,7 @@ declare namespace ts {
|
||||
Optional = 16777216,
|
||||
Transient = 33554432,
|
||||
JSContainer = 67108864,
|
||||
ModuleExports = 134217728,
|
||||
Enum = 384,
|
||||
Variable = 3,
|
||||
Value = 67216319,
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 ===
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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.
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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 { }
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -39,7 +39,7 @@ declare var module: { exports: any };
|
||||
=== tests/cases/conformance/jsdoc/mod1.js ===
|
||||
/// <reference path='./types.d.ts'/>
|
||||
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))
|
||||
|
||||
@@ -41,9 +41,9 @@ declare var module: { exports: any };
|
||||
/// <reference path='./types.d.ts'/>
|
||||
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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -31,13 +31,13 @@ declare var module: { exports: any };
|
||||
/// <reference path='node.d.ts' />
|
||||
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))
|
||||
|
||||
@@ -35,17 +35,17 @@ declare var module: { exports: any };
|
||||
/// <reference path='node.d.ts' />
|
||||
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
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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; }; }
|
||||
|
||||
@@ -25,15 +25,16 @@ declare function require(name: string): any;
|
||||
=== tests/cases/conformance/salsa/mod1.js ===
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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))
|
||||
|
||||
@@ -28,20 +28,20 @@ declare function require(name: string): any;
|
||||
=== tests/cases/conformance/salsa/mod1.js ===
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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
|
||||
|
||||
@@ -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) ====
|
||||
/// <reference path='./requires.d.ts' />
|
||||
module.exports = 1
|
||||
module.exports.f = function () { }
|
||||
~
|
||||
!!! error TS2339: Property 'f' does not exist on type 'number'.
|
||||
|
||||
@@ -25,13 +25,13 @@ declare function require(name: string): any;
|
||||
=== tests/cases/conformance/salsa/mod1.js ===
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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))
|
||||
|
||||
@@ -31,18 +31,18 @@ declare function require(name: string): any;
|
||||
=== tests/cases/conformance/salsa/mod1.js ===
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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
|
||||
|
||||
@@ -41,13 +41,14 @@ declare function require(name: string): any;
|
||||
=== tests/cases/conformance/salsa/mod1.js ===
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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))
|
||||
|
||||
@@ -50,18 +50,18 @@ declare function require(name: string): any;
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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"
|
||||
|
||||
@@ -41,9 +41,10 @@ declare function require(name: string): any;
|
||||
=== tests/cases/conformance/salsa/mod1.js ===
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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))
|
||||
|
||||
@@ -50,11 +50,11 @@ declare function require(name: string): any;
|
||||
/// <reference path='./requires.d.ts' />
|
||||
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"
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -19,9 +19,9 @@ f(1, n => { })
|
||||
*/
|
||||
module.exports = function (x, k) { return k(x) }
|
||||
>module.exports = function (x, k) { return k(x) } : <T>(x: T, k: (t: T) => void) => void
|
||||
>module.exports : any
|
||||
>module : any
|
||||
>exports : any
|
||||
>module.exports : <T>(x: T, k: (t: T) => void) => void
|
||||
>module : { "tests/cases/conformance/jsdoc/first": <T>(x: T, k: (t: T) => void) => void; }
|
||||
>exports : <T>(x: T, k: (t: T) => void) => void
|
||||
>function (x, k) { return k(x) } : <T>(x: T, k: (t: T) => void) => void
|
||||
>x : T
|
||||
>k : (t: T) => void
|
||||
|
||||
@@ -38,6 +38,7 @@ declare var module: any;
|
||||
=== tests/cases/conformance/salsa/minimatch.js ===
|
||||
/// <reference path='./types.d.ts'/>
|
||||
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))
|
||||
|
||||
@@ -44,9 +44,9 @@ declare var module: any;
|
||||
/// <reference path='./types.d.ts'/>
|
||||
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
|
||||
|
||||
@@ -22,6 +22,7 @@ declare var module: any;
|
||||
/// <reference path='./types.d.ts'/>
|
||||
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))
|
||||
|
||||
@@ -25,11 +25,11 @@ declare var module: any;
|
||||
/// <reference path='./types.d.ts'/>
|
||||
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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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))
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'.
|
||||
|
||||
@@ -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'?
|
||||
|
||||
@@ -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<Element>; }'.
|
||||
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<Element>; }; renderPromise(object: any, options?: any): Promise<Element>; }'.
|
||||
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<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
|
||||
Property '_cssModel' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; 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<any>'.
|
||||
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<any>[]' is not assignable to type 'NODE_TYPE[]'.
|
||||
Type 'DataGridNode<any>' is not assignable to type 'NODE_TYPE'.
|
||||
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(622,5): error TS2322: Type 'DataGridNode<any>[]' is not assignable to type 'NODE_TYPE[]'.
|
||||
Type 'DataGridNode<any>' 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<any>, b: SortableDataGridNode<any>) => 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<any>, b: SortableDataGridNode<any>) => 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<any>'.
|
||||
node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(19,5): error TS2322: Type '(a: SortableDataGridNode<any>, b: SortableDataGridNode<any>) => 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<NODE_TYPE>' 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<NODE_TYPE>'.
|
||||
@@ -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<any>'.
|
||||
node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(334,9): error TS2322: Type 'NODE_TYPE[][]' is not assignable to type 'ViewportDataGridNode<any>[][]'.
|
||||
node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(334,9): error TS2322: Type 'NODE_TYPE[][]' is not assignable to type 'ViewportDataGridNode<any>[][]'.
|
||||
Type 'NODE_TYPE[]' is not assignable to type 'ViewportDataGridNode<any>[]'.
|
||||
Type 'NODE_TYPE' is not assignable to type 'ViewportDataGridNode<any>'.
|
||||
node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(334,9): error TS2322: Type 'NODE_TYPE[][]' is not assignable to type 'ViewportDataGridNode<any>[][]'.
|
||||
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<Map<string, string>>' is not assignable to type 'Promise<ComputedStyle>'.
|
||||
node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(122,5): error TS2322: Type 'Promise<Map<string, string>>' is not assignable to type 'Promise<ComputedStyle>'.
|
||||
Type 'Map<string, string>' is not assignable to type 'ComputedStyle'.
|
||||
Property 'node' is missing in type 'Map<string, string>'.
|
||||
node_modules/chrome-devtools-frontend/front_end/elements/ComputedStyleModel.js(122,5): error TS2322: Type 'Promise<Map<string, string>>' is not assignable to type 'Promise<ComputedStyle>'.
|
||||
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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<any>' cannot be converted to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise<number>; isEmpty(): Promise<boolean>; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }'.
|
||||
Type 'DataGridNode<any>' is not comparable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise<number>; isEmpty(): Promise<boolean>; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; }'.
|
||||
Property 'dispose' is missing in type 'DataGridNode<any>'.
|
||||
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<number>; isEmpty(): Promise<boolean>; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }))[]' is not assignable to type '({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }))[]' is not assignable to type '({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise<number>; isEmpty(): Promise<boolean>; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; })[]'.
|
||||
Type 'this | ({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise<number>; isEmpty(): Promise<boolean>; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; })' is not assignable to type '{ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; 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<number>; isEmpty(): Promise<boolean>; serializeItemsRange(startPosition: number, endPosition: number): Promise<...>; sortAndRewind(comparator: ComparatorConfig): Promise<...>; } & { ...; }))[]' is not assignable to type '({ [x: string]: any; dispose(): void; nodePosition(snapshotObjectId: number): Promise<number>; isEmpty(): Promise<boolean>; 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<any>; }; }'.
|
||||
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<any>; }; }'.
|
||||
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<any>; 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<any>; 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<any>; 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 '<T>(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 '<T>(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 '<T>(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<RemoteObject>'.
|
||||
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<RemoteObject>'.
|
||||
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<RemoteObject>'.
|
||||
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<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
|
||||
Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; 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<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
|
||||
Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; 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<string, SourceInfo>'.
|
||||
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<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
|
||||
Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; 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<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
|
||||
Property '_contentURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; 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<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
|
||||
Property '_sourceURL' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; 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<boolean>; requestContent(): Promise<string>; 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<any>'.
|
||||
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<any>; }'.
|
||||
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<any>; }'.
|
||||
Property '_socket' does not exist on type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise<any>; }'.
|
||||
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<any>; }'.
|
||||
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<any>; }'.
|
||||
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<any>; }'.
|
||||
Property '_onMessage' does not exist on type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise<any>; }'.
|
||||
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<any>; }'.
|
||||
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<any>; }'.
|
||||
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<any>; }'.
|
||||
Property '_onMessage' does not exist on type '{ [x: string]: any; sendMessage(message: string): void; disconnect(): Promise<any>; }'.
|
||||
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<any>; }'.
|
||||
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<string | number, Process>'.
|
||||
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<number, Thread>'.
|
||||
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<DebuggerModel, SnippetScriptMapping>'.
|
||||
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<UISourceCodeMetadata>; ... 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<UISourceCodeMetadata>; ... 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<UISourceCodeMetadata>; ... 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<UISourceCodeMetadata>; ... 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<boolean>; requestContent(): Promise<string>; searchInContent(query: string, caseSensitive: boolean, isRegex: boolean): Promise<...>; }'.
|
||||
Property '_snippet' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<boolean>; requestContent(): Promise<string>; 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<string, Snippet>'.
|
||||
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<new (width?: number, height?: number) => HTMLImageElement>' is not assignable to type 'Promise<HTMLImageElement>'.
|
||||
node_modules/chrome-devtools-frontend/front_end/timeline/TimelineEventOverview.js(384,7): error TS2322: Type 'Promise<new (width?: number, height?: number) => HTMLImageElement>' is not assignable to type 'Promise<HTMLImageElement>'.
|
||||
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<new (width?: number, height?: number) => HTMLImageElement>' is not assignable to type 'Promise<HTMLImageElement>'.
|
||||
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; }'.
|
||||
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; }'.
|
||||
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: {...'.
|
||||
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: {...'.
|
||||
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 '<T extends Node>(newChild: T) => T'.
|
||||
node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(713,1): error TS2322: Type '<T extends Node>(child: Node) => Node' is not assignable to type '<T extends Node>(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 '<T extends Node>(newChild: T, refChild: Node) => T'.
|
||||
node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(726,1): error TS2322: Type '<T extends Node>(child: Node, anchor: Node) => Node' is not assignable to type '<T extends Node>(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 '<T extends Node>(oldChild: T) => T'.
|
||||
node_modules/chrome-devtools-frontend/front_end/ui/Widget.js(738,1): error TS2322: Type '<T extends Node>(child: Node) => Node' is not assignable to type '<T extends Node>(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'.
|
||||
|
||||
@@ -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.
|
||||
|
||||
@@ -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")'.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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'.
|
||||
|
||||
File diff suppressed because it is too large.
Load diff
@@ -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'.
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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) { }
|
||||
|
||||
@@ -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
|
||||
@@ -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)
|
||||
}
|
||||
@@ -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
|
||||
@@ -0,0 +1,6 @@
|
||||
// @noEmit: true
|
||||
// @allowJs: true
|
||||
// @checkJs: true
|
||||
// @Filename: async.js
|
||||
exports.default = { m: 1, a: 1 }
|
||||
module.exports = exports['default'];
|
||||
@@ -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;
|
||||
@@ -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
|
||||
Reference in new issue
Block a user