diff --git a/.gitignore b/.gitignore
index 800edae6f3b..b5aecdbe35d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -23,6 +23,8 @@ tests/services/browser/typescriptServices.js
src/harness/*.js
src/compiler/diagnosticInformationMap.generated.ts
src/compiler/diagnosticMessages.generated.json
+src/parser/diagnosticInformationMap.generated.ts
+src/parser/diagnosticMessages.generated.json
rwc-report.html
*.swp
build.json
diff --git a/scripts/processDiagnosticMessages.ts b/scripts/processDiagnosticMessages.ts
index 04893eb38e3..f296a62de78 100644
--- a/scripts/processDiagnosticMessages.ts
+++ b/scripts/processDiagnosticMessages.ts
@@ -60,7 +60,7 @@ function checkForUniqueCodes(diagnosticTable: InputDiagnosticMessageTable) {
function buildInfoFileOutput(messageTable: InputDiagnosticMessageTable, inputFilePathRel: string, thisFilePathRel: string): string {
let result =
"// \r\n" +
- "// generated from '" + inputFilePathRel + "' by '" + thisFilePathRel + "'\r\n" +
+ "// generated from '" + inputFilePathRel + "' by '" + thisFilePathRel.replace(/\\/g, '/') + "'\r\n" +
"/* @internal */\r\n" +
"namespace ts {\r\n" +
" function diag(code: number, category: DiagnosticCategory, key: string, message: string, reportsUnnecessary?: {}): DiagnosticMessage {\r\n" +
@@ -119,4 +119,4 @@ function convertPropertyName(origName: string): string {
return result;
}
-main();
\ No newline at end of file
+main();
diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts
index 5ba78c1ad98..432b63dca1e 100644
--- a/src/compiler/binder.ts
+++ b/src/compiler/binder.ts
@@ -2514,11 +2514,12 @@ namespace ts {
return true;
}
const node = symbol.valueDeclaration;
- const init = !node ? undefined :
+ let init = !node ? undefined :
isVariableDeclaration(node) ? node.initializer :
isBinaryExpression(node) ? node.right :
isPropertyAccessExpression(node) && isBinaryExpression(node.parent) ? node.parent.right :
undefined;
+ init = init && getRightMostAssignedExpression(init);
if (init) {
const isPrototypeAssignment = isPrototypeAccess(isVariableDeclaration(node) ? node.name : isBinaryExpression(node) ? node.left : node);
return !!getJavascriptInitializer(isBinaryExpression(init) && init.operatorToken.kind === SyntaxKind.BarBarToken ? init.right : init, isPrototypeAssignment);
diff --git a/src/compiler/checker.ts b/src/compiler/checker.ts
index ae21da9c9d0..4f1b797e58a 100644
--- a/src/compiler/checker.ts
+++ b/src/compiler/checker.ts
@@ -4091,7 +4091,14 @@ namespace ts {
}
else {
const contextFile = getSourceFileOfNode(getOriginalNode(context!.enclosingDeclaration))!;
- return `"${file.moduleName || moduleSpecifiers.getModuleSpecifier(compilerOptions, contextFile, contextFile.path, file.path, context!.tracker.moduleResolverHost!)}"`;
+ return `"${file.moduleName || moduleSpecifiers.getModuleSpecifiers(
+ symbol,
+ compilerOptions,
+ contextFile,
+ context!.tracker.moduleResolverHost!,
+ context!.tracker.moduleResolverHost!.getSourceFiles!(),
+ { importModuleSpecifierPreference: "non-relative" }
+ )[0]}"`;
}
}
const declaration = symbol.declarations[0];
@@ -4868,7 +4875,10 @@ namespace ts {
// binding pattern [x, s = ""]. Because the contextual type is a tuple type, the resulting type of [1, "one"] is the
// tuple type [number, string]. Thus, the type inferred for 'x' is number and the type inferred for 's' is string.
function getWidenedTypeForVariableLikeDeclaration(declaration: ParameterDeclaration | PropertyDeclaration | PropertySignature | VariableDeclaration | BindingElement, reportErrors?: boolean): Type {
- let type = getTypeForVariableLikeDeclaration(declaration, /*includeOptionality*/ true);
+ return widenTypeForVariableLikeDeclaration(getTypeForVariableLikeDeclaration(declaration, /*includeOptionality*/ true), declaration, reportErrors);
+ }
+
+ function widenTypeForVariableLikeDeclaration(type: Type | undefined, declaration: any, reportErrors?: boolean) {
if (type) {
if (reportErrors) {
reportErrorsFromWidening(declaration, type);
@@ -4931,59 +4941,48 @@ namespace ts {
if (declaration.kind === SyntaxKind.ExportAssignment) {
return links.type = checkExpression((declaration).expression);
}
- if (isInJavaScriptFile(declaration) && isJSDocPropertyLikeTag(declaration) && declaration.typeExpression) {
- return links.type = getTypeFromTypeNode(declaration.typeExpression.type);
- }
// Handle variable, parameter or property
if (!pushTypeResolution(symbol, TypeSystemPropertyName.Type)) {
return errorType;
}
- let type: Type;
- // Handle certain special assignment kinds, which happen to union across multiple declarations:
- // * module.exports = expr
- // * exports.p = expr
- // * this.p = expr
- // * className.prototype.method = expr
- if (declaration.kind === SyntaxKind.BinaryExpression ||
- declaration.kind === SyntaxKind.PropertyAccessExpression && declaration.parent.kind === SyntaxKind.BinaryExpression) {
- type = getWidenedTypeFromJSSpecialPropertyDeclarations(symbol);
- }
- else if (isJSDocPropertyLikeTag(declaration)
- || isPropertyAccessExpression(declaration)
- || isIdentifier(declaration)
- || isClassDeclaration(declaration)
- || isFunctionDeclaration(declaration)
- || (isMethodDeclaration(declaration) && !isObjectLiteralMethod(declaration))
- || isMethodSignature(declaration)) {
-
- // Symbol is property of some kind that is merged with something - should use `getTypeOfFuncClassEnumModule` and not `getTypeOfVariableOrParameterOrProperty`
- if (symbol.flags & (SymbolFlags.Function | SymbolFlags.Method | SymbolFlags.Class | SymbolFlags.Enum | SymbolFlags.ValueModule)) {
- return getTypeOfFuncClassEnumModule(symbol);
+ let type = getJSSpecialType(symbol, declaration);
+ if (!type) {
+ if (isJSDocPropertyLikeTag(declaration)
+ || isPropertyAccessExpression(declaration)
+ || isIdentifier(declaration)
+ || isClassDeclaration(declaration)
+ || isFunctionDeclaration(declaration)
+ || (isMethodDeclaration(declaration) && !isObjectLiteralMethod(declaration))
+ || isMethodSignature(declaration)) {
+ // Symbol is property of some kind that is merged with something - should use `getTypeOfFuncClassEnumModule` and not `getTypeOfVariableOrParameterOrProperty`
+ if (symbol.flags & (SymbolFlags.Function | SymbolFlags.Method | SymbolFlags.Class | SymbolFlags.Enum | SymbolFlags.ValueModule)) {
+ return getTypeOfFuncClassEnumModule(symbol);
+ }
+ type = tryGetTypeFromEffectiveTypeNode(declaration) || anyType;
+ }
+ else if (isPropertyAssignment(declaration)) {
+ type = tryGetTypeFromEffectiveTypeNode(declaration) || checkPropertyAssignment(declaration);
+ }
+ else if (isJsxAttribute(declaration)) {
+ type = tryGetTypeFromEffectiveTypeNode(declaration) || checkJsxAttribute(declaration);
+ }
+ else if (isShorthandPropertyAssignment(declaration)) {
+ type = tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionForMutableLocation(declaration.name, CheckMode.Normal);
+ }
+ else if (isObjectLiteralMethod(declaration)) {
+ type = tryGetTypeFromEffectiveTypeNode(declaration) || checkObjectLiteralMethod(declaration, CheckMode.Normal);
+ }
+ else if (isParameter(declaration)
+ || isPropertyDeclaration(declaration)
+ || isPropertySignature(declaration)
+ || isVariableDeclaration(declaration)
+ || isBindingElement(declaration)) {
+ type = getWidenedTypeForVariableLikeDeclaration(declaration, /*includeOptionality*/ true);
+ }
+ else {
+ return Debug.fail("Unhandled declaration kind! " + Debug.showSyntaxKind(declaration) + " for " + Debug.showSymbol(symbol));
}
- type = tryGetTypeFromEffectiveTypeNode(declaration) || anyType;
- }
- else if (isPropertyAssignment(declaration)) {
- type = tryGetTypeFromEffectiveTypeNode(declaration) || checkPropertyAssignment(declaration);
- }
- else if (isJsxAttribute(declaration)) {
- type = tryGetTypeFromEffectiveTypeNode(declaration) || checkJsxAttribute(declaration);
- }
- else if (isShorthandPropertyAssignment(declaration)) {
- type = tryGetTypeFromEffectiveTypeNode(declaration) || checkExpressionForMutableLocation(declaration.name, CheckMode.Normal);
- }
- else if (isObjectLiteralMethod(declaration)) {
- type = tryGetTypeFromEffectiveTypeNode(declaration) || checkObjectLiteralMethod(declaration, CheckMode.Normal);
- }
- else if (isParameter(declaration)
- || isPropertyDeclaration(declaration)
- || isPropertySignature(declaration)
- || isVariableDeclaration(declaration)
- || isBindingElement(declaration)) {
- type = getWidenedTypeForVariableLikeDeclaration(declaration, /*reportErrors*/ true);
- }
- else {
- return Debug.fail("Unhandled declaration kind! " + Debug.showSyntaxKind(declaration) + " for " + Debug.showSymbol(symbol));
}
if (!popTypeResolution()) {
@@ -4994,6 +4993,56 @@ namespace ts {
return links.type;
}
+ function getJSSpecialType(symbol: Symbol, decl: Declaration): Type | undefined {
+ if (!isInJavaScriptFile(decl)) {
+ return undefined;
+ }
+ else if (isJSDocPropertyLikeTag(decl) && decl.typeExpression) {
+ return getTypeFromTypeNode(decl.typeExpression.type);
+ }
+ // Handle certain special assignment kinds, which happen to union across multiple declarations:
+ // * module.exports = expr
+ // * exports.p = expr
+ // * this.p = expr
+ // * className.prototype.method = expr
+ else if (isBinaryExpression(decl) ||
+ isPropertyAccessExpression(decl) && isBinaryExpression(decl.parent)) {
+ return getJSInitializerType(decl, symbol, getAssignedJavascriptInitializer(isBinaryExpression(decl) ? decl.left : decl)) ||
+ getWidenedTypeFromJSSpecialPropertyDeclarations(symbol);
+ }
+ else if (isParameter(decl)
+ || isPropertyDeclaration(decl)
+ || isPropertySignature(decl)
+ || isVariableDeclaration(decl)
+ || isBindingElement(decl)) {
+ // Use type from type annotation if one is present
+ const isOptional = isParameter(decl) && isJSDocOptionalParameter(decl) ||
+ !isBindingElement(decl) && !isVariableDeclaration(decl) && !!decl.questionToken;
+ const declaredType = tryGetTypeFromEffectiveTypeNode(decl);
+ return declaredType && addOptionality(declaredType, isOptional) ||
+ getJSInitializerType(decl, symbol, getDeclaredJavascriptInitializer(decl)) ||
+ getWidenedTypeForVariableLikeDeclaration(decl, /*includeOptionality*/ true);
+ }
+ }
+
+ function getJSInitializerType(decl: Node, symbol: Symbol, init: Expression | undefined): Type | undefined {
+ if (init && isInJavaScriptFile(init) && isObjectLiteralExpression(init)) {
+ const exports = createSymbolTable();
+ while (isBinaryExpression(decl) || isPropertyAccessExpression(decl)) {
+ const s = getSymbolOfNode(decl);
+ if (s && hasEntries(s.exports)) {
+ mergeSymbolTable(exports, s.exports);
+ }
+ decl = isBinaryExpression(decl) ? decl.parent : decl.parent.parent;
+ }
+ const s = getSymbolOfNode(decl);
+ if (s && hasEntries(s.exports)) {
+ mergeSymbolTable(exports, s.exports);
+ }
+ return createAnonymousType(symbol, exports, emptyArray, emptyArray, jsObjectLiteralIndexInfo, undefined);
+ }
+ }
+
function getAnnotatedAccessorType(accessor: AccessorDeclaration | undefined): Type | undefined {
if (accessor) {
if (accessor.kind === SyntaxKind.GetAccessor) {
@@ -12181,14 +12230,6 @@ namespace ts {
// widen accessor based properties here.
return prop;
}
- if (prop.flags & SymbolFlags.JSContainer) {
- const node = prop.declarations && first(prop.declarations);
- const init = getAssignedJavascriptInitializer(node);
- if (init && init.kind !== SyntaxKind.ObjectLiteralExpression) {
- // for JS special declarations, the only kind of initializer that will widen is object literals
- return prop;
- }
- }
const original = getTypeOfSymbol(prop);
const propContext = context && createWideningContext(context, prop.escapedName, /*siblings*/ undefined);
const widened = getWidenedTypeWithContext(original, propContext);
@@ -14849,6 +14890,10 @@ namespace ts {
return getTypeFromTypeNode(jsDocFunctionType.parameters[0].type!);
}
}
+ const thisTag = getJSDocThisTag(node);
+ if (thisTag && thisTag.typeExpression) {
+ return getTypeFromTypeNode(thisTag.typeExpression);
+ }
}
function isInConstructorArgumentInitializer(node: Node, constructorDecl: Node): boolean {
@@ -15996,19 +16041,6 @@ namespace ts {
let patternWithComputedProperties = false;
let hasComputedStringProperty = false;
let hasComputedNumberProperty = false;
-
- if (isInJSFile) {
- const decl = getDeclarationOfJSInitializer(node);
- if (decl) {
- // a JS object literal whose declaration's symbol has exports is a JS namespace
- const symbol = getSymbolOfNode(decl);
- if (symbol && hasEntries(symbol.exports)) {
- propertiesTable = symbol.exports;
- symbol.exports.forEach(s => propertiesArray.push(getMergedSymbol(s)));
- return createObjectLiteralType();
- }
- }
- }
propertiesTable = createSymbolTable();
let offset = 0;
@@ -20440,9 +20472,15 @@ namespace ts {
getUnionType([removeDefinitelyFalsyTypes(leftType), rightType], UnionReduction.Subtype) :
leftType;
case SyntaxKind.EqualsToken:
- checkSpecialAssignment(left, right);
- checkAssignmentOperator(rightType);
- return getRegularTypeOfObjectLiteral(rightType);
+ const special = getSpecialPropertyAssignmentKind(left.parent as BinaryExpression);
+ checkSpecialAssignment(special, right);
+ if (isJSSpecialPropertyAssignment(special)) {
+ return leftType;
+ }
+ else {
+ checkAssignmentOperator(rightType);
+ return getRegularTypeOfObjectLiteral(rightType);
+ }
case SyntaxKind.CommaToken:
if (!compilerOptions.allowUnreachableCode && isSideEffectFree(left) && !isEvalNode(right)) {
error(left, Diagnostics.Left_side_of_comma_operator_is_unused_and_has_no_side_effects);
@@ -20453,8 +20491,7 @@ namespace ts {
return Debug.fail();
}
- function checkSpecialAssignment(left: Node, right: Expression) {
- const special = getSpecialPropertyAssignmentKind(left.parent as BinaryExpression);
+ function checkSpecialAssignment(special: SpecialPropertyAssignmentKind, right: Expression) {
if (special === SpecialPropertyAssignmentKind.ModuleExports) {
const rightType = checkExpression(right, checkMode);
for (const prop of getPropertiesOfObjectType(rightType)) {
@@ -20513,6 +20550,7 @@ namespace ts {
// requires VarExpr to be classified as a reference
// A compound assignment furthermore requires VarExpr to be classified as a reference (section 4.1)
// and the type of the non-compound operation to be assignable to the type of VarExpr.
+
if (checkReferenceExpression(left, Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access)
&& (!isIdentifier(left) || unescapeLeadingUnderscores(left.escapedText) !== "exports")) {
// to avoid cascading errors check assignability only if 'isReference' check succeeded and no errors were reported
@@ -20521,6 +20559,23 @@ namespace ts {
}
}
+ function isJSSpecialPropertyAssignment(special: SpecialPropertyAssignmentKind) {
+ switch (special) {
+ case SpecialPropertyAssignmentKind.ExportsProperty:
+ case SpecialPropertyAssignmentKind.ModuleExports:
+ case SpecialPropertyAssignmentKind.Property:
+ case SpecialPropertyAssignmentKind.Prototype:
+ case SpecialPropertyAssignmentKind.PrototypeProperty:
+ case SpecialPropertyAssignmentKind.ThisProperty:
+ const symbol = getSymbolOfNode(left);
+ const init = getAssignedJavascriptInitializer(right);
+ return init && isObjectLiteralExpression(init) &&
+ symbol && hasEntries(symbol.exports);
+ default:
+ return false;
+ }
+ }
+
function reportOperatorError() {
error(errorNode || operatorToken, Diagnostics.Operator_0_cannot_be_applied_to_types_1_and_2, tokenToString(operatorToken.kind), typeToString(leftType), typeToString(rightType));
}
@@ -23297,9 +23352,15 @@ namespace ts {
// Node is the primary declaration of the symbol, just validate the initializer
// Don't validate for-in initializer as it is already an error
const initializer = getEffectiveInitializer(node);
- if (initializer && node.parent.parent.kind !== SyntaxKind.ForInStatement) {
- checkTypeAssignableTo(checkExpressionCached(initializer), type, node, /*headMessage*/ undefined);
- checkParameterInitializer(node);
+ if (initializer) {
+ const isJSObjectLiteralInitializer = isInJavaScriptFile(node) &&
+ isObjectLiteralExpression(initializer) &&
+ (initializer.properties.length === 0 || isPrototypeAccess(node.name)) &&
+ hasEntries(symbol.exports);
+ if (!isJSObjectLiteralInitializer && node.parent.parent.kind !== SyntaxKind.ForInStatement) {
+ checkTypeAssignableTo(checkExpressionCached(initializer), type, node, /*headMessage*/ undefined);
+ checkParameterInitializer(node);
+ }
}
}
else {
diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts
index d7760d1f75f..f8648636c8a 100644
--- a/src/compiler/commandLineParser.ts
+++ b/src/compiler/commandLineParser.ts
@@ -475,7 +475,6 @@ namespace ts {
{
name: "sourceRoot",
type: "string",
- isFilePath: true,
paramType: Diagnostics.LOCATION,
category: Diagnostics.Source_Map_Options,
description: Diagnostics.Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations,
@@ -483,7 +482,6 @@ namespace ts {
{
name: "mapRoot",
type: "string",
- isFilePath: true,
paramType: Diagnostics.LOCATION,
category: Diagnostics.Source_Map_Options,
description: Diagnostics.Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations,
diff --git a/src/compiler/moduleSpecifiers.ts b/src/compiler/moduleSpecifiers.ts
index 6da0fc61e63..40f3bb96e22 100644
--- a/src/compiler/moduleSpecifiers.ts
+++ b/src/compiler/moduleSpecifiers.ts
@@ -15,17 +15,20 @@ namespace ts.moduleSpecifiers {
// For each symlink/original for a module, returns a list of ways to import that file.
export function getModuleSpecifiers(
moduleSymbol: Symbol,
- program: Program,
+ compilerOptions: CompilerOptions,
importingSourceFile: SourceFile,
host: ModuleSpecifierResolutionHost,
+ files: ReadonlyArray,
preferences: ModuleSpecifierPreferences,
): ReadonlyArray> {
const ambient = tryGetModuleNameFromAmbientModule(moduleSymbol);
if (ambient) return [[ambient]];
- const compilerOptions = program.getCompilerOptions();
- const info = getInfo(compilerOptions, importingSourceFile, importingSourceFile.fileName, host);
- const modulePaths = getAllModulePaths(program, getSourceFileOfNode(moduleSymbol.valueDeclaration));
+ const info = getInfo(compilerOptions, importingSourceFile, importingSourceFile.path, host);
+ if (!files) {
+ return Debug.fail("Files list must be present to resolve symlinks in specifier resolution");
+ }
+ const modulePaths = getAllModulePaths(files, getSourceFileOfNode(moduleSymbol.valueDeclaration), info.getCanonicalFileName, host);
const global = mapDefined(modulePaths, moduleFileName => getGlobalModuleSpecifier(moduleFileName, info, host, compilerOptions));
return global.length ? global.map(g => [g]) : modulePaths.map(moduleFileName =>
@@ -130,15 +133,57 @@ namespace ts.moduleSpecifiers {
return firstDefined(imports, ({ text }) => pathIsRelative(text) ? fileExtensionIs(text, Extension.Js) : undefined) || false;
}
+ function discoverProbableSymlinks(files: ReadonlyArray) {
+ const symlinks = mapDefined(files, sf =>
+ sf.resolvedModules && firstDefinedIterator(sf.resolvedModules.values(), res =>
+ res && res.originalPath && res.resolvedFileName !== res.originalPath ? [res.resolvedFileName, res.originalPath] : undefined));
+ const result = createMap();
+ if (symlinks) {
+ for (const [resolvedPath, originalPath] of symlinks) {
+ const resolvedParts = getPathComponents(resolvedPath);
+ const originalParts = getPathComponents(originalPath);
+ while (resolvedParts[resolvedParts.length - 1] === originalParts[originalParts.length - 1]) {
+ resolvedParts.pop();
+ originalParts.pop();
+ }
+ result.set(getPathFromPathComponents(originalParts), getPathFromPathComponents(resolvedParts));
+ }
+ }
+ return result;
+ }
+
+ function getAllModulePathsUsingIndirectSymlinks(files: ReadonlyArray, target: string, getCanonicalFileName: (file: string) => string, host: ModuleSpecifierResolutionHost) {
+ const links = discoverProbableSymlinks(files);
+ const paths = arrayFrom(links.keys());
+ let options: string[] | undefined;
+ for (const path of paths) {
+ const resolved = links.get(path)!;
+ if (startsWith(target, resolved + "/")) {
+ const relative = getRelativePathFromDirectory(resolved, target, getCanonicalFileName);
+ const option = resolvePath(path, relative);
+ if (!host.fileExists || host.fileExists(option)) {
+ if (!options) options = [];
+ options.push(option);
+ }
+ }
+ }
+ const resolvedtarget = host.getCurrentDirectory ? resolvePath(host.getCurrentDirectory(), target) : target;
+ if (options) {
+ options.push(resolvedtarget); // Since these are speculative, we also include the original resolved name as a possibility
+ return options;
+ }
+ return [resolvedtarget];
+ }
+
/**
* Looks for a existing imports that use symlinks to this module.
* Only if no symlink is available, the real path will be used.
*/
- function getAllModulePaths(program: Program, { fileName }: SourceFile): ReadonlyArray {
- const symlinks = mapDefined(program.getSourceFiles(), sf =>
+ function getAllModulePaths(files: ReadonlyArray, { fileName }: SourceFile, getCanonicalFileName: (file: string) => string, host: ModuleSpecifierResolutionHost): ReadonlyArray {
+ const symlinks = mapDefined(files, sf =>
sf.resolvedModules && firstDefinedIterator(sf.resolvedModules.values(), res =>
res && res.resolvedFileName === fileName ? res.originalPath : undefined));
- return symlinks.length === 0 ? [fileName] : symlinks;
+ return symlinks.length === 0 ? getAllModulePathsUsingIndirectSymlinks(files, fileName, getCanonicalFileName, host) : symlinks;
}
function getRelativePathNParents(relativePath: string): number {
diff --git a/src/compiler/parser.ts b/src/compiler/parser.ts
index 591cb900a7f..c7b01b9b804 100644
--- a/src/compiler/parser.ts
+++ b/src/compiler/parser.ts
@@ -491,6 +491,8 @@ namespace ts {
case SyntaxKind.JSDocCallbackTag:
return visitNode(cbNode, (node as JSDocCallbackTag).fullName) ||
visitNode(cbNode, (node as JSDocCallbackTag).typeExpression);
+ case SyntaxKind.JSDocThisTag:
+ return visitNode(cbNode, (node as JSDocThisTag).typeExpression);
case SyntaxKind.JSDocSignature:
return visitNodes(cbNode, cbNodes, node.decorators) ||
visitNodes(cbNode, cbNodes, node.modifiers) ||
@@ -6497,6 +6499,9 @@ namespace ts {
case "constructor":
tag = parseClassTag(atToken, tagName);
break;
+ case "this":
+ tag = parseThisTag(atToken, tagName);
+ break;
case "arg":
case "argument":
case "param":
@@ -6768,6 +6773,15 @@ namespace ts {
return finishNode(tag);
}
+ function parseThisTag(atToken: AtToken, tagName: Identifier): JSDocThisTag {
+ const tag = createNode(SyntaxKind.JSDocThisTag, atToken.pos);
+ tag.atToken = atToken;
+ tag.tagName = tagName;
+ tag.typeExpression = parseJSDocTypeExpression(/*mayOmitBraces*/ true);
+ skipWhitespace();
+ return finishNode(tag);
+ }
+
function parseTypedefTag(atToken: AtToken, tagName: Identifier, indent: number): JSDocTypedefTag {
const typeExpression = tryParseTypeExpression();
skipWhitespace();
diff --git a/src/compiler/program.ts b/src/compiler/program.ts
index 856f9580f0e..8a741cc93d0 100644
--- a/src/compiler/program.ts
+++ b/src/compiler/program.ts
@@ -616,7 +616,7 @@ namespace ts {
const filesByNameIgnoreCase = host.useCaseSensitiveFileNames() ? createMap() : undefined;
// A parallel array to projectReferences storing the results of reading in the referenced tsconfig files
- const resolvedProjectReferences: (ResolvedProjectReference | undefined)[] | undefined = projectReferences ? [] : undefined;
+ let resolvedProjectReferences: (ResolvedProjectReference | undefined)[] | undefined = projectReferences ? [] : undefined;
const projectReferenceRedirects: Map = createMap();
const shouldCreateNewSourceFile = shouldProgramCreateNewSourceFiles(oldProgram, options);
@@ -1190,6 +1190,7 @@ namespace ts {
fileProcessingDiagnostics.reattachFileDiagnostics(modifiedFile.newFile);
}
resolvedTypeReferenceDirectives = oldProgram.getResolvedTypeReferenceDirectives();
+ resolvedProjectReferences = oldProgram.getProjectReferences();
sourceFileToPackageName = oldProgram.sourceFileToPackageName;
redirectTargetsSet = oldProgram.redirectTargetsSet;
diff --git a/src/compiler/types.ts b/src/compiler/types.ts
index 964a84176a0..29a7e3d8842 100644
--- a/src/compiler/types.ts
+++ b/src/compiler/types.ts
@@ -371,6 +371,7 @@ namespace ts {
JSDocCallbackTag,
JSDocParameterTag,
JSDocReturnTag,
+ JSDocThisTag,
JSDocTypeTag,
JSDocTemplateTag,
JSDocTypedefTag,
@@ -2323,6 +2324,11 @@ namespace ts {
kind: SyntaxKind.JSDocClassTag;
}
+ export interface JSDocThisTag extends JSDocTag {
+ kind: SyntaxKind.JSDocThisTag;
+ typeExpression?: JSDocTypeExpression;
+ }
+
export interface JSDocTemplateTag extends JSDocTag {
kind: SyntaxKind.JSDocTemplateTag;
typeParameters: NodeArray;
@@ -5255,6 +5261,7 @@ namespace ts {
useCaseSensitiveFileNames?(): boolean;
fileExists?(path: string): boolean;
readFile?(path: string): string | undefined;
+ getSourceFiles?(): ReadonlyArray; // Used for cached resolutions to find symlinks without traversing the fs (again)
}
/** @deprecated See comment on SymbolWriter */
diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts
index 064c06eddeb..7516fca73bb 100644
--- a/src/compiler/utilities.ts
+++ b/src/compiler/utilities.ts
@@ -1757,6 +1757,12 @@ namespace ts {
return node.initializer;
}
+ /** Get the declaration initializer when it is container-like (See getJavascriptInitializer). */
+ export function getDeclaredJavascriptInitializer(node: HasExpressionInitializer) {
+ const init = getEffectiveInitializer(node);
+ return init && getJavascriptInitializer(init, isPrototypeAccess(node.name));
+ }
+
/**
* Get the assignment 'initializer' -- the righthand side-- when the initializer is container-like (See getJavascriptInitializer).
* We treat the right hand side of assignments with container-like initalizers as declarations.
@@ -4325,6 +4331,8 @@ namespace ts {
switch (options.target) {
case ScriptTarget.ESNext:
return "lib.esnext.full.d.ts";
+ case ScriptTarget.ES2018:
+ return "lib.es2018.full.d.ts";
case ScriptTarget.ES2017:
return "lib.es2017.full.d.ts";
case ScriptTarget.ES2016:
@@ -4962,6 +4970,11 @@ namespace ts {
return getFirstJSDocTag(node, isJSDocClassTag);
}
+ /** Gets the JSDoc this tag for the node if present */
+ export function getJSDocThisTag(node: Node): JSDocThisTag | undefined {
+ return getFirstJSDocTag(node, isJSDocThisTag);
+ }
+
/** Gets the JSDoc return tag for the node if present */
export function getJSDocReturnTag(node: Node): JSDocReturnTag | undefined {
return getFirstJSDocTag(node, isJSDocReturnTag);
@@ -5693,6 +5706,10 @@ namespace ts {
return node.kind === SyntaxKind.JSDocClassTag;
}
+ export function isJSDocThisTag(node: Node): node is JSDocThisTag {
+ return node.kind === SyntaxKind.JSDocThisTag;
+ }
+
export function isJSDocParameterTag(node: Node): node is JSDocParameterTag {
return node.kind === SyntaxKind.JSDocParameterTag;
}
diff --git a/src/harness/harness.ts b/src/harness/harness.ts
index 7a3019d9b36..0b72834e1c2 100644
--- a/src/harness/harness.ts
+++ b/src/harness/harness.ts
@@ -1108,6 +1108,7 @@ namespace Harness {
{ name: "noImplicitReferences", type: "boolean" },
{ name: "currentDirectory", type: "string" },
{ name: "symlink", type: "string" },
+ { name: "link", type: "string" },
// Emitted js baseline will print full paths for every output file
{ name: "fullEmitPaths", type: "boolean" }
];
@@ -1179,7 +1180,9 @@ namespace Harness {
harnessSettings: TestCaseParser.CompilerSettings | undefined,
compilerOptions: ts.CompilerOptions | undefined,
// Current directory is needed for rwcRunner to be able to use currentDirectory defined in json file
- currentDirectory: string | undefined): compiler.CompilationResult {
+ currentDirectory: string | undefined,
+ symlinks?: vfs.FileSet
+ ): compiler.CompilationResult {
const options: ts.CompilerOptions & HarnessOptions = compilerOptions ? ts.cloneCompilerOptions(compilerOptions) : { noResolve: false };
options.target = options.target || ts.ScriptTarget.ES3;
options.newLine = options.newLine || ts.NewLineKind.CarriageReturnLineFeed;
@@ -1216,6 +1219,9 @@ namespace Harness {
const docs = inputFiles.concat(otherFiles).map(documents.TextDocument.fromTestFile);
const fs = vfs.createFromFileSystem(IO, !useCaseSensitiveFileNames, { documents: docs, cwd: currentDirectory });
+ if (symlinks) {
+ fs.apply(symlinks);
+ }
const host = new fakes.CompilerHost(fs, options);
return compiler.compileFiles(host, programFileNames, options);
}
@@ -1836,6 +1842,7 @@ namespace Harness {
// Regex for parsing options in the format "@Alpha: Value of any sort"
const optionRegex = /^[\/]{2}\s*@(\w+)\s*:\s*([^\r\n]*)/gm; // multiple matches on multiple lines
+ const linkRegex = /^[\/]{2}\s*@link\s*:\s*([^\r\n]*)\s*->\s*([^\r\n]*)/gm; // multiple matches on multiple lines
export function extractCompilerSettings(content: string): CompilerSettings {
const opts: CompilerSettings = {};
@@ -1855,6 +1862,7 @@ namespace Harness {
testUnitData: TestUnitData[];
tsConfig: ts.ParsedCommandLine | undefined;
tsConfigFileUnitData: TestUnitData | undefined;
+ symlinks?: vfs.FileSet;
}
/** Given a test file containing // @FileName directives, return an array of named units of code to be added to an existing compiler instance */
@@ -1869,10 +1877,16 @@ namespace Harness {
let currentFileOptions: any = {};
let currentFileName: any;
let refs: string[] = [];
+ let symlinks: vfs.FileSet | undefined;
for (const line of lines) {
- const testMetaData = optionRegex.exec(line);
- if (testMetaData) {
+ let testMetaData: RegExpExecArray | null;
+ const linkMetaData = linkRegex.exec(line);
+ if (linkMetaData) {
+ if (!symlinks) symlinks = {};
+ symlinks[linkMetaData[2].trim()] = new vfs.Symlink(linkMetaData[1].trim());
+ }
+ else if (testMetaData = optionRegex.exec(line)) {
// Comment line, check for global/file @options and record them
optionRegex.lastIndex = 0;
const metaDataName = testMetaData[1].toLowerCase();
@@ -1961,7 +1975,7 @@ namespace Harness {
break;
}
}
- return { settings, testUnitData, tsConfig, tsConfigFileUnitData };
+ return { settings, testUnitData, tsConfig, tsConfigFileUnitData, symlinks };
}
}
diff --git a/src/harness/vfs.ts b/src/harness/vfs.ts
index 2c1c6f2dd54..ae99187f5fa 100644
--- a/src/harness/vfs.ts
+++ b/src/harness/vfs.ts
@@ -126,6 +126,24 @@ namespace vfs {
return this._shadowRoot;
}
+ /**
+ * Snapshots the current file system, effectively shadowing itself. This is useful for
+ * generating file system patches using `.diff()` from one snapshot to the next. Performs
+ * no action if this file system is read-only.
+ */
+ public snapshot() {
+ if (this.isReadonly) return;
+ const fs = new FileSystem(this.ignoreCase, { time: this._time });
+ fs._lazy = this._lazy;
+ fs._cwd = this._cwd;
+ fs._time = this._time;
+ fs._shadowRoot = this._shadowRoot;
+ fs._dirStack = this._dirStack;
+ fs.makeReadonly();
+ this._lazy = {};
+ this._shadowRoot = fs;
+ }
+
/**
* Gets a shadow copy of this file system. Changes to the shadow copy do not affect the
* original, allowing multiple copies of the same core file system without multiple copies
@@ -671,6 +689,160 @@ namespace vfs {
node.ctimeMs = time;
}
+ /**
+ * Generates a `FileSet` patch containing all the entries in this `FileSystem` that are not in `base`.
+ * @param base The base file system. If not provided, this file system's `shadowRoot` is used (if present).
+ */
+ public diff(base = this.shadowRoot) {
+ const differences: FileSet = {};
+ const hasDifferences = base ? FileSystem.rootDiff(differences, this, base) : FileSystem.trackCreatedInodes(differences, this, this._getRootLinks());
+ return hasDifferences ? differences : undefined;
+ }
+
+ /**
+ * Generates a `FileSet` patch containing all the entries in `chagned` that are not in `base`.
+ */
+ public static diff(changed: FileSystem, base: FileSystem) {
+ const differences: FileSet = {};
+ return FileSystem.rootDiff(differences, changed, base) ? differences : undefined;
+ }
+
+ private static diffWorker(container: FileSet, changed: FileSystem, changedLinks: ReadonlyMap | undefined, base: FileSystem, baseLinks: ReadonlyMap | undefined) {
+ if (changedLinks && !baseLinks) return FileSystem.trackCreatedInodes(container, changed, changedLinks);
+ if (baseLinks && !changedLinks) return FileSystem.trackDeletedInodes(container, baseLinks);
+ if (changedLinks && baseLinks) {
+ let hasChanges = false;
+ // track base items missing in changed
+ baseLinks.forEach((node, basename) => {
+ if (!changedLinks.has(basename)) {
+ container[basename] = isDirectory(node) ? new Rmdir() : new Unlink();
+ hasChanges = true;
+ }
+ });
+ // track changed items missing or differing in base
+ changedLinks.forEach((changedNode, basename) => {
+ const baseNode = baseLinks.get(basename);
+ if (baseNode) {
+ if (isDirectory(changedNode) && isDirectory(baseNode)) {
+ return hasChanges = FileSystem.directoryDiff(container, basename, changed, changedNode, base, baseNode) || hasChanges;
+ }
+ if (isFile(changedNode) && isFile(baseNode)) {
+ return hasChanges = FileSystem.fileDiff(container, basename, changed, changedNode, base, baseNode) || hasChanges;
+ }
+ if (isSymlink(changedNode) && isSymlink(baseNode)) {
+ return hasChanges = FileSystem.symlinkDiff(container, basename, changedNode, baseNode) || hasChanges;
+ }
+ }
+ return hasChanges = FileSystem.trackCreatedInode(container, basename, changed, changedNode) || hasChanges;
+ });
+ return hasChanges;
+ }
+ return false;
+ }
+
+ private static rootDiff(container: FileSet, changed: FileSystem, base: FileSystem) {
+ while (!changed._lazy.links && changed._shadowRoot) changed = changed._shadowRoot;
+ while (!base._lazy.links && base._shadowRoot) base = base._shadowRoot;
+
+ // no difference if the file systems are the same reference
+ if (changed === base) return false;
+
+ // no difference if the root links are empty and unshadowed
+ if (!changed._lazy.links && !changed._shadowRoot && !base._lazy.links && !base._shadowRoot) return false;
+
+ return FileSystem.diffWorker(container, changed, changed._getRootLinks(), base, base._getRootLinks());
+ }
+
+ private static directoryDiff(container: FileSet, basename: string, changed: FileSystem, changedNode: DirectoryInode, base: FileSystem, baseNode: DirectoryInode) {
+ while (!changedNode.links && changedNode.shadowRoot) changedNode = changedNode.shadowRoot;
+ while (!baseNode.links && baseNode.shadowRoot) baseNode = baseNode.shadowRoot;
+
+ // no difference if the nodes are the same reference
+ if (changedNode === baseNode) return false;
+
+ // no difference if both nodes are non shadowed and have no entries
+ if (isEmptyNonShadowedDirectory(changedNode) && isEmptyNonShadowedDirectory(baseNode)) return false;
+
+ // no difference if both nodes are unpopulated and point to the same mounted file system
+ if (!changedNode.links && !baseNode.links &&
+ changedNode.resolver && changedNode.source !== undefined &&
+ baseNode.resolver === changedNode.resolver && baseNode.source === changedNode.source) return false;
+
+ // no difference if both nodes have identical children
+ const children: FileSet = {};
+ if (!FileSystem.diffWorker(children, changed, changed._getLinks(changedNode), base, base._getLinks(baseNode))) {
+ return false;
+ }
+
+ container[basename] = new Directory(children);
+ return true;
+ }
+
+ private static fileDiff(container: FileSet, basename: string, changed: FileSystem, changedNode: FileInode, base: FileSystem, baseNode: FileInode) {
+ while (!changedNode.buffer && changedNode.shadowRoot) changedNode = changedNode.shadowRoot;
+ while (!baseNode.buffer && baseNode.shadowRoot) baseNode = baseNode.shadowRoot;
+
+ // no difference if the nodes are the same reference
+ if (changedNode === baseNode) return false;
+
+ // no difference if both nodes are non shadowed and have no entries
+ if (isEmptyNonShadowedFile(changedNode) && isEmptyNonShadowedFile(baseNode)) return false;
+
+ // no difference if both nodes are unpopulated and point to the same mounted file system
+ if (!changedNode.buffer && !baseNode.buffer &&
+ changedNode.resolver && changedNode.source !== undefined &&
+ baseNode.resolver === changedNode.resolver && baseNode.source === changedNode.source) return false;
+
+ const changedBuffer = changed._getBuffer(changedNode);
+ const baseBuffer = base._getBuffer(baseNode);
+
+ // no difference if both buffers are the same reference
+ if (changedBuffer === baseBuffer) return false;
+
+ // no difference if both buffers are identical
+ if (Buffer.compare(changedBuffer, baseBuffer) === 0) return false;
+
+ container[basename] = new File(changedBuffer);
+ return true;
+ }
+
+ private static symlinkDiff(container: FileSet, basename: string, changedNode: SymlinkInode, baseNode: SymlinkInode) {
+ // no difference if the nodes are the same reference
+ if (changedNode.symlink === baseNode.symlink) return false;
+ container[basename] = new Symlink(changedNode.symlink);
+ return true;
+ }
+
+ private static trackCreatedInode(container: FileSet, basename: string, changed: FileSystem, node: Inode) {
+ if (isDirectory(node)) {
+ const children: FileSet = {};
+ FileSystem.trackCreatedInodes(children, changed, changed._getLinks(node));
+ container[basename] = new Directory(children);
+ }
+ else if (isSymlink(node)) {
+ container[basename] = new Symlink(node.symlink);
+ }
+ else {
+ container[basename] = new File(node.buffer || "");
+ }
+ return true;
+ }
+
+ private static trackCreatedInodes(container: FileSet, changed: FileSystem, changedLinks: ReadonlyMap) {
+ // no difference if links are empty
+ if (!changedLinks.size) return false;
+
+ changedLinks.forEach((node, basename) => { FileSystem.trackCreatedInode(container, basename, changed, node); });
+ return true;
+ }
+
+ private static trackDeletedInodes(container: FileSet, baseLinks: ReadonlyMap) {
+ // no difference if links are empty
+ if (!baseLinks.size) return false;
+ baseLinks.forEach((node, basename) => { container[basename] = isDirectory(node) ? new Rmdir() : new Unlink(); });
+ return true;
+ }
+
private _mknod(dev: number, type: typeof S_IFREG, mode: number, time?: number): FileInode;
private _mknod(dev: number, type: typeof S_IFDIR, mode: number, time?: number): DirectoryInode;
private _mknod(dev: number, type: typeof S_IFLNK, mode: number, time?: number): SymlinkInode;
@@ -911,7 +1083,7 @@ namespace vfs {
if (this.stringComparer(vpath.dirname(path), path) === 0) {
throw new TypeError("Roots cannot be symbolic links.");
}
- this.symlinkSync(entry.symlink, path);
+ this.symlinkSync(vpath.resolve(dirname, entry.symlink), path);
this._applyFileExtendedOptions(path, entry);
}
else if (entry instanceof Link) {
@@ -940,10 +1112,10 @@ namespace vfs {
private _applyFilesWorker(files: FileSet, dirname: string, deferred: [Symlink | Link | Mount, string][]) {
for (const key of Object.keys(files)) {
- const value = this._normalizeFileSetEntry(files[key]);
+ const value = normalizeFileSetEntry(files[key]);
const path = dirname ? vpath.resolve(dirname, key) : key;
vpath.validate(path, vpath.ValidationFlags.Absolute);
- if (value === null || value === undefined) {
+ if (value === null || value === undefined || value instanceof Rmdir || value instanceof Unlink) {
if (this.stringComparer(vpath.dirname(path), path) === 0) {
throw new TypeError("Roots cannot be deleted.");
}
@@ -967,19 +1139,6 @@ namespace vfs {
}
}
}
-
- private _normalizeFileSetEntry(value: FileSet[string]) {
- if (value === undefined ||
- value === null ||
- value instanceof Directory ||
- value instanceof File ||
- value instanceof Link ||
- value instanceof Symlink ||
- value instanceof Mount) {
- return value;
- }
- return typeof value === "string" || Buffer.isBuffer(value) ? new File(value) : new Directory(value);
- }
}
export interface FileSystemOptions {
@@ -997,12 +1156,9 @@ namespace vfs {
meta?: Record;
}
- export interface FileSystemCreateOptions {
+ export interface FileSystemCreateOptions extends FileSystemOptions {
// Sets the documents to add to the file system.
documents?: ReadonlyArray;
-
- // Sets the initial working directory for the file system.
- cwd?: string;
}
export type Axis = "ancestors" | "ancestors-or-self" | "self" | "descendants-or-self" | "descendants";
@@ -1062,8 +1218,16 @@ namespace vfs {
*
* Unless overridden, `/.src` will be the current working directory for the virtual file system.
*/
- export function createFromFileSystem(host: FileSystemResolverHost, ignoreCase: boolean, { documents, cwd }: FileSystemCreateOptions = {}) {
+ export function createFromFileSystem(host: FileSystemResolverHost, ignoreCase: boolean, { documents, files, cwd, time, meta }: FileSystemCreateOptions = {}) {
const fs = getBuiltLocal(host, ignoreCase).shadow();
+ if (meta) {
+ for (const key of Object.keys(meta)) {
+ fs.meta.set(key, meta[key]);
+ }
+ }
+ if (time) {
+ fs.time(time);
+ }
if (cwd) {
fs.mkdirpSync(cwd);
fs.chdir(cwd);
@@ -1078,12 +1242,14 @@ namespace vfs {
if (symlink) {
for (const link of symlink.split(",").map(link => link.trim())) {
fs.mkdirpSync(vpath.dirname(link));
- fs.symlinkSync(document.file, link);
- fs.filemeta(link).set("document", document);
+ fs.symlinkSync(vpath.resolve(fs.cwd(), document.file), link);
}
}
}
}
+ if (files) {
+ fs.apply(files);
+ }
return fs;
}
@@ -1166,7 +1332,7 @@ namespace vfs {
* A template used to populate files, directories, links, etc. in a virtual file system.
*/
export interface FileSet {
- [name: string]: DirectoryLike | FileLike | Link | Symlink | Mount | null | undefined;
+ [name: string]: DirectoryLike | FileLike | Link | Symlink | Mount | Rmdir | Unlink | null | undefined;
}
export type DirectoryLike = FileSet | Directory;
@@ -1202,6 +1368,16 @@ namespace vfs {
}
}
+ /** Removes a directory in a `FileSet` */
+ export class Rmdir {
+ public _rmdirBrand?: never; // brand necessary for proper type guards
+ }
+
+ /** Unlinks a file in a `FileSet` */
+ export class Unlink {
+ public _unlinkBrand?: never; // brand necessary for proper type guards
+ }
+
/** Extended options for a symbolic link in a `FileSet` */
export class Symlink {
public readonly symlink: string;
@@ -1274,6 +1450,14 @@ namespace vfs {
meta?: collections.Metadata;
}
+ function isEmptyNonShadowedDirectory(node: DirectoryInode) {
+ return !node.links && !node.shadowRoot && !node.resolver && !node.source;
+ }
+
+ function isEmptyNonShadowedFile(node: FileInode) {
+ return !node.buffer && !node.shadowRoot && !node.resolver && !node.source;
+ }
+
function isFile(node: Inode | undefined): node is FileInode {
return node !== undefined && (node.mode & S_IFMT) === S_IFREG;
}
@@ -1325,5 +1509,55 @@ namespace vfs {
}
return builtLocalCS;
}
+
+ function normalizeFileSetEntry(value: FileSet[string]) {
+ if (value === undefined ||
+ value === null ||
+ value instanceof Directory ||
+ value instanceof File ||
+ value instanceof Link ||
+ value instanceof Symlink ||
+ value instanceof Mount ||
+ value instanceof Rmdir ||
+ value instanceof Unlink) {
+ return value;
+ }
+ return typeof value === "string" || Buffer.isBuffer(value) ? new File(value) : new Directory(value);
+ }
+
+ export function formatPatch(patch: FileSet) {
+ return formatPatchWorker("", patch);
+ }
+
+ function formatPatchWorker(dirname: string, container: FileSet): string {
+ let text = "";
+ for (const name of Object.keys(container)) {
+ const entry = normalizeFileSetEntry(container[name]);
+ const file = dirname ? vpath.combine(dirname, name) : name;
+ if (entry === null || entry === undefined || entry instanceof Unlink || entry instanceof Rmdir) {
+ text += `//// [${file}] unlink\r\n`;
+ }
+ else if (entry instanceof Rmdir) {
+ text += `//// [${vpath.addTrailingSeparator(file)}] rmdir\r\n`;
+ }
+ else if (entry instanceof Directory) {
+ text += formatPatchWorker(file, entry.files);
+ }
+ else if (entry instanceof File) {
+ const content = typeof entry.data === "string" ? entry.data : entry.data.toString("utf8");
+ text += `//// [${file}]\r\n${content}\r\n\r\n`;
+ }
+ else if (entry instanceof Link) {
+ text += `//// [${file}] link(${entry.path})\r\n`;
+ }
+ else if (entry instanceof Symlink) {
+ text += `//// [${file}] symlink(${entry.symlink})\r\n`;
+ }
+ else if (entry instanceof Mount) {
+ text += `//// [${file}] mount(${entry.source})\r\n`;
+ }
+ }
+ return text;
+ }
}
// tslint:enable:no-null-keyword
\ No newline at end of file
diff --git a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl
index de96a342067..5f7122bd70c 100644
--- a/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl
+++ b/src/loc/lcl/cht/diagnosticMessages/diagnosticMessages.generated.json.lcl
@@ -486,12 +486,18 @@
-
+
+
+
-
+
+
+
@@ -960,6 +966,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1029,6 +1044,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1773,18 +1797,27 @@
-
+
+
+
-
+
+
+
-
+
+
+
@@ -2865,6 +2898,9 @@
-
+
+
+
@@ -3327,6 +3363,9 @@
-
+
+
+
@@ -5760,6 +5799,9 @@
-
+
+
+
@@ -5802,6 +5844,9 @@
-
+
+
+
@@ -6240,42 +6285,63 @@
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
@@ -6291,6 +6357,9 @@
-
+
+
+
@@ -6756,6 +6825,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -7332,6 +7410,9 @@
-
+
+
+
@@ -7356,12 +7437,18 @@
-
+
+
+
-
+
+
+
@@ -8976,6 +9063,9 @@
-
+
+
+
@@ -9531,6 +9621,9 @@
-
+
+
+
diff --git a/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl
index f723f786b33..6d74aac015d 100644
--- a/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl
+++ b/src/loc/lcl/esn/diagnosticMessages/diagnosticMessages.generated.json.lcl
@@ -495,12 +495,18 @@
-
+
+
+
-
+
+
+
@@ -969,6 +975,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1041,6 +1056,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1785,18 +1809,27 @@
-
+
+
+
-
+
+
+
-
+
+
+
@@ -2877,6 +2910,9 @@
-
+
+
+
@@ -3339,6 +3375,9 @@
-
+
+
+
@@ -5772,6 +5811,9 @@
-
+
+
+
@@ -5814,6 +5856,9 @@
-
+
+
+
@@ -6252,42 +6297,63 @@
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
@@ -6303,6 +6369,9 @@
-
+
+
+
@@ -6768,6 +6837,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -7344,6 +7422,9 @@
-
+
+
+
@@ -7368,12 +7449,18 @@
-
+
+
+
-
+
+
+
@@ -8988,6 +9075,9 @@
-
+
+
+
@@ -9543,6 +9633,9 @@
-
+
+
+
diff --git a/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl
index 8abfd535e1c..9a22a234a89 100644
--- a/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl
+++ b/src/loc/lcl/fra/diagnosticMessages/diagnosticMessages.generated.json.lcl
@@ -495,12 +495,18 @@
-
+
+
+
-
+
+
+
@@ -969,6 +975,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1041,6 +1056,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1785,18 +1809,27 @@
-
+
+
+
-
+
+
+
-
+
+
+
@@ -2877,6 +2910,9 @@
-
+
+
+
@@ -3339,6 +3375,9 @@
-
+
+
+
@@ -5772,6 +5811,9 @@
-
+
+
+
@@ -5814,6 +5856,9 @@
-
+
+
+
@@ -6252,42 +6297,63 @@
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
@@ -6303,6 +6369,9 @@
-
+
+
+
@@ -6768,6 +6837,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -7344,6 +7422,9 @@
-
+
+
+
@@ -7368,12 +7449,18 @@
-
+
+
+
-
+
+
+
@@ -8988,6 +9075,9 @@
-
+
+
+
@@ -9543,6 +9633,9 @@
-
+
+
+
diff --git a/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl
index 5c8c80e51d2..6cbf3d5f068 100644
--- a/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl
+++ b/src/loc/lcl/ita/diagnosticMessages/diagnosticMessages.generated.json.lcl
@@ -483,6 +483,24 @@
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
-
@@ -948,6 +966,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1017,6 +1044,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1758,6 +1794,33 @@
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
-
@@ -2832,6 +2895,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -3288,6 +3360,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -5715,6 +5796,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -5751,6 +5841,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -6183,6 +6282,69 @@
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
-
@@ -6192,6 +6354,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -6654,6 +6825,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -7227,6 +7407,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -7245,6 +7434,24 @@
+ -
+
+
+
+
+
+
+
+
+ -
+
+
+
+
+
+
+
+
-
@@ -8853,6 +9060,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -9402,6 +9618,15 @@
+ -
+
+
+
+
+
+
+
+
-
diff --git a/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl
index 5a0220002aa..b1b6f42bfd0 100644
--- a/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl
+++ b/src/loc/lcl/plk/diagnosticMessages/diagnosticMessages.generated.json.lcl
@@ -950,6 +950,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1019,6 +1028,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -1763,12 +1781,18 @@
-
+
+
+
-
+
+
+
@@ -2855,6 +2879,9 @@
-
+
+
+
@@ -3317,6 +3344,9 @@
-
+
+
+
@@ -5750,6 +5780,9 @@
-
+
+
+
@@ -5792,6 +5825,9 @@
-
+
+
+
@@ -6227,30 +6263,45 @@
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
-
+
+
+
@@ -6263,6 +6314,9 @@
-
+
+
+
@@ -6278,6 +6332,9 @@
-
+
+
+
@@ -6743,6 +6800,15 @@
+ -
+
+
+
+
+
+
+
+
-
@@ -7343,6 +7409,9 @@
-
+
+
+
@@ -8963,6 +9032,9 @@
-
+
+
+
@@ -9518,6 +9590,9 @@
-
+
+
+
diff --git a/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl
index 5888ca24a9c..3d48517da31 100644
--- a/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl
+++ b/src/loc/lcl/ptb/diagnosticMessages/diagnosticMessages.generated.json.lcl
@@ -1970,6 +1970,9 @@
-
+
+
+
diff --git a/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl b/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl
index 282a3593711..8afbc6c8d0b 100644
--- a/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl
+++ b/src/loc/lcl/rus/diagnosticMessages/diagnosticMessages.generated.json.lcl
@@ -482,6 +482,18 @@
+ -
+
+
+
+
+
+ -
+
+
+
+
+
-
@@ -947,6 +959,12 @@
+ -
+
+
+
+
+
-
@@ -1016,6 +1034,12 @@
+ -
+
+
+
+
+
-
@@ -1757,6 +1781,24 @@
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
-
@@ -1937,12 +1979,18 @@
-
+
+
+
-
+
+
+
@@ -2825,6 +2873,12 @@
+ -
+
+
+
+
+
-
@@ -3281,6 +3335,12 @@
+ -
+
+
+
+
+
-
@@ -5708,6 +5768,12 @@
+ -
+
+
+
+
+
-
@@ -5744,6 +5810,12 @@
+ -
+
+
+
+
+
-
@@ -6176,6 +6248,48 @@
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
+ -
+
+
+
+
+
-
@@ -6185,6 +6299,12 @@
+ -
+
+
+
+
+
-
@@ -6647,6 +6767,12 @@
+ -
+
+
+
+
+
-
@@ -7220,6 +7346,12 @@
+ -
+
+
+
+
+
-
@@ -7238,6 +7370,18 @@
+ -
+
+
+
+
+
+ -
+
+
+
+
+
-
@@ -8846,6 +8990,12 @@
+ -
+
+
+
+
+
-
@@ -9395,6 +9545,12 @@
+ -
+
+
+
+
+
-
diff --git a/src/services/codefixes/importFixes.ts b/src/services/codefixes/importFixes.ts
index 66402068fa4..67753261005 100644
--- a/src/services/codefixes/importFixes.ts
+++ b/src/services/codefixes/importFixes.ts
@@ -247,7 +247,7 @@ namespace ts.codefix {
preferences: UserPreferences,
): ReadonlyArray {
const choicesForEachExportingModule = flatMap(moduleSymbols, ({ moduleSymbol, importKind }) => {
- const modulePathsGroups = moduleSpecifiers.getModuleSpecifiers(moduleSymbol, program, sourceFile, host, preferences);
+ const modulePathsGroups = moduleSpecifiers.getModuleSpecifiers(moduleSymbol, program.getCompilerOptions(), sourceFile, host, program.getSourceFiles(), preferences);
return modulePathsGroups.map(group => group.map(moduleSpecifier => ({ moduleSpecifier, importKind })));
});
// Sort to keep the shortest paths first, but keep [relativePath, importRelativeToBaseUrl] groups together
diff --git a/src/services/signatureHelp.ts b/src/services/signatureHelp.ts
index 94f95641fed..ac13a2c7904 100644
--- a/src/services/signatureHelp.ts
+++ b/src/services/signatureHelp.ts
@@ -366,7 +366,7 @@ namespace ts.SignatureHelp {
return invocation.kind === InvocationKind.Call ? getInvokedExpression(invocation.node) : invocation.called;
}
- const signatureHelpNodeBuilderFlags = NodeBuilderFlags.OmitParameterModifiers | NodeBuilderFlags.IgnoreErrors;
+ const signatureHelpNodeBuilderFlags = NodeBuilderFlags.OmitParameterModifiers | NodeBuilderFlags.IgnoreErrors | NodeBuilderFlags.UseAliasDefinedOutsideCurrentScope;
function createSignatureHelpItems(candidates: ReadonlyArray, resolvedSignature: Signature, argumentListInfo: ArgumentListInfo, sourceFile: SourceFile, typeChecker: TypeChecker): SignatureHelpItems {
const { argumentCount, argumentsSpan: applicableSpan, invocation, argumentIndex } = argumentListInfo;
const isTypeParameterList = argumentListInfo.kind === ArgumentListKind.TypeArguments;
diff --git a/src/services/sourcemaps.ts b/src/services/sourcemaps.ts
index 9fa997f7a7f..4fae8167aac 100644
--- a/src/services/sourcemaps.ts
+++ b/src/services/sourcemaps.ts
@@ -42,7 +42,7 @@ namespace ts.sourcemaps {
};
function getGeneratedPosition(loc: SourceMappableLocation): SourceMappableLocation {
- const maps = getGeneratedOrderedMappings();
+ const maps = getSourceOrderedMappings();
if (!length(maps)) return loc;
let targetIndex = binarySearch(maps, { sourcePath: loc.fileName, sourcePosition: loc.position }, identity, compareProcessedPositionSourcePositions);
if (targetIndex < 0 && maps.length > 0) {
@@ -56,7 +56,7 @@ namespace ts.sourcemaps {
}
function getOriginalPosition(loc: SourceMappableLocation): SourceMappableLocation {
- const maps = getSourceOrderedMappings();
+ const maps = getGeneratedOrderedMappings();
if (!length(maps)) return loc;
let targetIndex = binarySearch(maps, { emittedPosition: loc.position }, identity, compareProcessedPositionEmittedPositions);
if (targetIndex < 0 && maps.length > 0) {
diff --git a/src/testRunner/compilerRunner.ts b/src/testRunner/compilerRunner.ts
index fc295c80f2e..69bd80bdf11 100644
--- a/src/testRunner/compilerRunner.ts
+++ b/src/testRunner/compilerRunner.ts
@@ -179,7 +179,9 @@ class CompilerTest {
this.otherFiles,
this.harnessSettings,
/*options*/ tsConfigOptions,
- /*currentDirectory*/ this.harnessSettings.currentDirectory);
+ /*currentDirectory*/ this.harnessSettings.currentDirectory,
+ testCaseContent.symlinks
+ );
this.options = this.result.options;
}
diff --git a/src/testRunner/unittests/tsbuild.ts b/src/testRunner/unittests/tsbuild.ts
index 9d093f61e09..2ae034ff673 100644
--- a/src/testRunner/unittests/tsbuild.ts
+++ b/src/testRunner/unittests/tsbuild.ts
@@ -12,7 +12,7 @@ namespace ts {
export namespace Sample1 {
tick();
- const projFs = loadProjectFromDisk("../../tests/projects/sample1");
+ const projFs = loadProjectFromDisk("tests/projects/sample1");
const allExpectedOutputs = ["/src/tests/index.js",
"/src/core/index.js", "/src/core/index.d.ts",
@@ -236,40 +236,33 @@ namespace ts {
}
export namespace OutFile {
- const outFileFs = loadProjectFromDisk("../../tests/projects/outfile-concat");
+ const outFileFs = loadProjectFromDisk("tests/projects/outfile-concat");
describe("tsbuild - baseline sectioned sourcemaps", () => {
- const fs = outFileFs.shadow();
- const host = new fakes.CompilerHost(fs);
- const builder = createSolutionBuilder(host, buildHost, ["/src/third"], { dry: false, force: false, verbose: false });
- clearDiagnostics();
- builder.buildAllProjects();
- assertDiagnosticMessages(/*none*/);
-
- const files = [
- "/src/third/thirdjs/output/third-output.js",
- "/src/third/thirdjs/output/third-output.js.map"
- ];
-
- for (const file of files) {
- it(`Generates files matching the baseline - ${file}`, () => {
- Harness.Baseline.runBaseline(getBaseFileName(file), () => {
- return fs.readFileSync(file, "utf-8");
- });
- });
- }
-
- it(`Generates files matching the baseline - file listing for outFile-concat`, () => {
- Harness.Baseline.runBaseline("outfile-concat-fileListing.txt", () => {
- return fs.getFileListing();
+ let fs: vfs.FileSystem | undefined;
+ before(() => {
+ fs = outFileFs.shadow();
+ const host = new fakes.CompilerHost(fs);
+ const builder = createSolutionBuilder(host, buildHost, ["/src/third"], { dry: false, force: false, verbose: false });
+ clearDiagnostics();
+ builder.buildAllProjects();
+ assertDiagnosticMessages(/*none*/);
+ });
+ after(() => {
+ fs = undefined;
+ });
+ it(`Generates files matching the baseline`, () => {
+ Harness.Baseline.runBaseline("outfile-concat.js", () => {
+ const patch = fs!.diff();
+ // tslint:disable-next-line:no-null-keyword
+ return patch ? vfs.formatPatch(patch) : null;
});
});
});
}
describe("tsbuild - graph-ordering", () => {
- const fs = new vfs.FileSystem(false);
- const host = new fakes.CompilerHost(fs);
+ let host: fakes.CompilerHost | undefined;
const deps: [string, string][] = [
["A", "B"],
["B", "C"],
@@ -280,7 +273,15 @@ namespace ts {
["F", "E"]
];
- writeProjects(fs, ["A", "B", "C", "D", "E", "F", "G"], deps);
+ before(() => {
+ const fs = new vfs.FileSystem(false);
+ host = new fakes.CompilerHost(fs);
+ writeProjects(fs, ["A", "B", "C", "D", "E", "F", "G"], deps);
+ });
+
+ after(() => {
+ host = undefined;
+ });
it("orders the graph correctly - specify two roots", () => {
checkGraphOrdering(["A", "G"], ["A", "B", "C", "D", "E", "G"]);
@@ -299,7 +300,7 @@ namespace ts {
});
function checkGraphOrdering(rootNames: string[], expectedBuildSet: string[]) {
- const builder = createSolutionBuilder(host, buildHost, rootNames, { dry: true, force: false, verbose: false });
+ const builder = createSolutionBuilder(host!, buildHost, rootNames, { dry: true, force: false, verbose: false });
const projFileNames = rootNames.map(getProjectFileName);
const graph = builder.getBuildGraph(projFileNames);
@@ -394,32 +395,17 @@ namespace ts {
}
function loadProjectFromDisk(root: string): vfs.FileSystem {
- const fs = new vfs.FileSystem(/*ignoreCase*/ false, { time });
- const rootPath = resolvePath(__dirname, root);
- loadFsMirror(fs, rootPath, "/src");
- fs.mkdirpSync("/lib");
- const libs = ["es5", "dom", "webworker.importscripts", "scripthost"];
- for (const lib of libs) {
- const content = Harness.IO.readFile(combinePaths(Harness.libFolder, `lib.${lib}.d.ts`));
- if (content === undefined) {
- throw new Error(`Failed to read lib ${lib}`);
- }
- fs.writeFileSync(`/lib/lib.${lib}.d.ts`, content);
- }
- fs.writeFileSync("/lib/lib.d.ts", Harness.IO.readFile(combinePaths(Harness.libFolder, "lib.d.ts"))!);
- fs.meta.set("defaultLibLocation", "/lib");
+ const resolver = vfs.createResolver(Harness.IO);
+ const fs = new vfs.FileSystem(/*ignoreCase*/ true, {
+ files: {
+ ["/lib"]: new vfs.Mount(vpath.resolve(Harness.IO.getWorkspaceRoot(), "built/local"), resolver),
+ ["/src"]: new vfs.Mount(vpath.resolve(Harness.IO.getWorkspaceRoot(), root), resolver)
+ },
+ cwd: "/",
+ meta: { defaultLibLocation: "/lib" },
+ time
+ });
fs.makeReadonly();
return fs;
}
-
- function loadFsMirror(vfs: vfs.FileSystem, localRoot: string, virtualRoot: string) {
- vfs.mkdirpSync(virtualRoot);
- for (const path of Harness.IO.readDirectory(localRoot)) {
- const file = getBaseFileName(path);
- vfs.writeFileSync(virtualRoot + "/" + file, Harness.IO.readFile(localRoot + "/" + file)!);
- }
- for (const dir of Harness.IO.getDirectories(localRoot)) {
- loadFsMirror(vfs, localRoot + "/" + dir, virtualRoot + "/" + dir);
- }
- }
}
\ No newline at end of file
diff --git a/tests/baselines/reference/APISample_Watch.js b/tests/baselines/reference/APISample_Watch.js
index 5e3a67e827d..e675f2ec4eb 100644
--- a/tests/baselines/reference/APISample_Watch.js
+++ b/tests/baselines/reference/APISample_Watch.js
@@ -1,7 +1,14 @@
+//// [tests/cases/compiler/APISample_Watch.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_Watch.ts]
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript-wiki/blob/master/Using-the-Compiler-API.md#writing-an-incremental-program-watcher
+ * at: https://github.com/Microsoft/TypeScript-wiki/blob/master/Using-the-Compiler-API.md#writing-an-incremental-program-watcher
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
@@ -79,7 +86,7 @@ watchMain();
"use strict";
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript-wiki/blob/master/Using-the-Compiler-API.md#writing-an-incremental-program-watcher
+ * at: https://github.com/Microsoft/TypeScript-wiki/blob/master/Using-the-Compiler-API.md#writing-an-incremental-program-watcher
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
exports.__esModule = true;
diff --git a/tests/baselines/reference/APISample_WatchWithDefaults.js b/tests/baselines/reference/APISample_WatchWithDefaults.js
index 493bef221f6..63bfa4965e5 100644
--- a/tests/baselines/reference/APISample_WatchWithDefaults.js
+++ b/tests/baselines/reference/APISample_WatchWithDefaults.js
@@ -1,3 +1,10 @@
+//// [tests/cases/compiler/APISample_WatchWithDefaults.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_WatchWithDefaults.ts]
/*
* Note: This test is a public API sample. This uses default sys interface without having to pass anything
diff --git a/tests/baselines/reference/APISample_WatchWithOwnWatchHost.js b/tests/baselines/reference/APISample_WatchWithOwnWatchHost.js
index 95f6df3fb51..75444a614f9 100644
--- a/tests/baselines/reference/APISample_WatchWithOwnWatchHost.js
+++ b/tests/baselines/reference/APISample_WatchWithOwnWatchHost.js
@@ -1,6 +1,13 @@
+//// [tests/cases/compiler/APISample_WatchWithOwnWatchHost.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_WatchWithOwnWatchHost.ts]
/*
- * Note: This test is a public API sample. This sample verifies creating abstract builder to watch list of root files
+ * Note: This test is a public API sample. This sample verifies creating abstract builder to watch list of root files
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
diff --git a/tests/baselines/reference/APISample_compile.js b/tests/baselines/reference/APISample_compile.js
index 35d49350457..5cae4df2c38 100644
--- a/tests/baselines/reference/APISample_compile.js
+++ b/tests/baselines/reference/APISample_compile.js
@@ -1,7 +1,14 @@
+//// [tests/cases/compiler/APISample_compile.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_compile.ts]
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
@@ -42,7 +49,7 @@ compile(process.argv.slice(2), {
"use strict";
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
exports.__esModule = true;
diff --git a/tests/baselines/reference/APISample_jsdoc.js b/tests/baselines/reference/APISample_jsdoc.js
index f28b16d88b6..9c1dd5f824f 100644
--- a/tests/baselines/reference/APISample_jsdoc.js
+++ b/tests/baselines/reference/APISample_jsdoc.js
@@ -1,3 +1,10 @@
+//// [tests/cases/compiler/APISample_jsdoc.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_jsdoc.ts]
/*
* Note: This test is a public API sample. The original sources can be found
diff --git a/tests/baselines/reference/APISample_linter.js b/tests/baselines/reference/APISample_linter.js
index 51b208c39c9..ea9c018c1a1 100644
--- a/tests/baselines/reference/APISample_linter.js
+++ b/tests/baselines/reference/APISample_linter.js
@@ -1,7 +1,14 @@
+//// [tests/cases/compiler/APISample_linter.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_linter.ts]
/*
- * Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#traversing-the-ast-with-a-little-linter
+ * Note: This test is a public API sample. The sample sources can be found
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#traversing-the-ast-with-a-little-linter
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
@@ -67,7 +74,7 @@ fileNames.forEach(fileName => {
"use strict";
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#traversing-the-ast-with-a-little-linter
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#traversing-the-ast-with-a-little-linter
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
exports.__esModule = true;
diff --git a/tests/baselines/reference/APISample_parseConfig.js b/tests/baselines/reference/APISample_parseConfig.js
index 690efb359c6..661376f647e 100644
--- a/tests/baselines/reference/APISample_parseConfig.js
+++ b/tests/baselines/reference/APISample_parseConfig.js
@@ -1,7 +1,14 @@
+//// [tests/cases/compiler/APISample_parseConfig.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_parseConfig.ts]
/*
- * Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
+ * Note: This test is a public API sample. The sample sources can be found
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
@@ -39,7 +46,7 @@ export function createProgram(rootFiles: string[], compilerOptionsJson: string):
"use strict";
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-minimal-compiler
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
exports.__esModule = true;
diff --git a/tests/baselines/reference/APISample_transform.js b/tests/baselines/reference/APISample_transform.js
index 47f63f56e70..db25c1bd1dd 100644
--- a/tests/baselines/reference/APISample_transform.js
+++ b/tests/baselines/reference/APISample_transform.js
@@ -1,7 +1,14 @@
+//// [tests/cases/compiler/APISample_transform.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_transform.ts]
/*
- * Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
+ * Note: This test is a public API sample. The sample sources can be found
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
@@ -19,7 +26,7 @@ console.log(JSON.stringify(result));
"use strict";
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#a-simple-transform-function
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
exports.__esModule = true;
diff --git a/tests/baselines/reference/APISample_watcher.js b/tests/baselines/reference/APISample_watcher.js
index f4d03f8f62f..e93856a3165 100644
--- a/tests/baselines/reference/APISample_watcher.js
+++ b/tests/baselines/reference/APISample_watcher.js
@@ -1,7 +1,14 @@
+//// [tests/cases/compiler/APISample_watcher.ts] ////
+
+//// [index.d.ts]
+declare module "typescript" {
+ export = ts;
+}
+
//// [APISample_watcher.ts]
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#incremental-build-support-using-the-language-services
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#incremental-build-support-using-the-language-services
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
@@ -113,7 +120,7 @@ watch(currentDirectoryFiles, { module: ts.ModuleKind.CommonJS });
"use strict";
/*
* Note: This test is a public API sample. The sample sources can be found
- at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#incremental-build-support-using-the-language-services
+ * at: https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API#incremental-build-support-using-the-language-services
* Please log a "breaking change" issue for any API breaking change affecting this issue
*/
exports.__esModule = true;
diff --git a/tests/baselines/reference/api/tsserverlibrary.d.ts b/tests/baselines/reference/api/tsserverlibrary.d.ts
index 5997b13762a..6b7e62d9269 100644
--- a/tests/baselines/reference/api/tsserverlibrary.d.ts
+++ b/tests/baselines/reference/api/tsserverlibrary.d.ts
@@ -873,17 +873,18 @@ declare namespace ts {
JSDocCallbackTag = 292,
JSDocParameterTag = 293,
JSDocReturnTag = 294,
- JSDocTypeTag = 295,
- JSDocTemplateTag = 296,
- JSDocTypedefTag = 297,
- JSDocPropertyTag = 298,
- SyntaxList = 299,
- NotEmittedStatement = 300,
- PartiallyEmittedExpression = 301,
- CommaListExpression = 302,
- MergeDeclarationMarker = 303,
- EndOfDeclarationMarker = 304,
- Count = 305,
+ JSDocThisTag = 295,
+ JSDocTypeTag = 296,
+ JSDocTemplateTag = 297,
+ JSDocTypedefTag = 298,
+ JSDocPropertyTag = 299,
+ SyntaxList = 300,
+ NotEmittedStatement = 301,
+ PartiallyEmittedExpression = 302,
+ CommaListExpression = 303,
+ MergeDeclarationMarker = 304,
+ EndOfDeclarationMarker = 305,
+ Count = 306,
FirstAssignment = 58,
LastAssignment = 70,
FirstCompoundAssignment = 59,
@@ -910,9 +911,9 @@ declare namespace ts {
LastBinaryOperator = 70,
FirstNode = 146,
FirstJSDocNode = 278,
- LastJSDocNode = 298,
+ LastJSDocNode = 299,
FirstJSDocTagNode = 289,
- LastJSDocTagNode = 298,
+ LastJSDocTagNode = 299,
FirstContextualKeyword = 117,
LastContextualKeyword = 145
}
@@ -2148,6 +2149,10 @@ declare namespace ts {
interface JSDocClassTag extends JSDocTag {
kind: SyntaxKind.JSDocClassTag;
}
+ interface JSDocThisTag extends JSDocTag {
+ kind: SyntaxKind.JSDocThisTag;
+ typeExpression?: JSDocTypeExpression;
+ }
interface JSDocTemplateTag extends JSDocTag {
kind: SyntaxKind.JSDocTemplateTag;
typeParameters: NodeArray;
@@ -4452,6 +4457,7 @@ declare namespace ts {
useCaseSensitiveFileNames?(): boolean;
fileExists?(path: string): boolean;
readFile?(path: string): string | undefined;
+ getSourceFiles?(): ReadonlyArray;
}
/** @deprecated See comment on SymbolWriter */
interface SymbolTracker {
@@ -6206,6 +6212,8 @@ declare namespace ts {
function getDeclarationOfJSInitializer(node: Node): Node | undefined;
/** Get the initializer, taking into account defaulted Javascript initializers */
function getEffectiveInitializer(node: HasExpressionInitializer): Expression | undefined;
+ /** Get the declaration initializer when it is container-like (See getJavascriptInitializer). */
+ function getDeclaredJavascriptInitializer(node: HasExpressionInitializer): Expression | undefined;
/**
* Get the assignment 'initializer' -- the righthand side-- when the initializer is container-like (See getJavascriptInitializer).
* We treat the right hand side of assignments with container-like initalizers as declarations.
@@ -6342,7 +6350,7 @@ declare namespace ts {
function getExpressionAssociativity(expression: Expression): Associativity;
function getOperatorAssociativity(kind: SyntaxKind, operator: SyntaxKind, hasArguments?: boolean): Associativity;
function getExpressionPrecedence(expression: Expression): number;
- function getOperator(expression: Expression): SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia | SyntaxKind.NumericLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral | SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail | SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.BarBarToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken | SyntaxKind.Identifier | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.LetKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.StaticKeyword | SyntaxKind.YieldKeyword | SyntaxKind.AbstractKeyword | SyntaxKind.AsKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.GetKeyword | SyntaxKind.InferKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.RequireKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.SetKeyword | SyntaxKind.StringKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.TypeKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.FromKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.OfKeyword | SyntaxKind.QualifiedName | SyntaxKind.ComputedPropertyName | SyntaxKind.TypeParameter | SyntaxKind.Parameter | SyntaxKind.Decorator | SyntaxKind.PropertySignature | SyntaxKind.PropertyDeclaration | SyntaxKind.MethodSignature | SyntaxKind.MethodDeclaration | SyntaxKind.Constructor | SyntaxKind.GetAccessor | SyntaxKind.SetAccessor | SyntaxKind.CallSignature | SyntaxKind.ConstructSignature | SyntaxKind.IndexSignature | SyntaxKind.TypePredicate | SyntaxKind.TypeReference | SyntaxKind.FunctionType | SyntaxKind.ConstructorType | SyntaxKind.TypeQuery | SyntaxKind.TypeLiteral | SyntaxKind.ArrayType | SyntaxKind.TupleType | SyntaxKind.UnionType | SyntaxKind.IntersectionType | SyntaxKind.ConditionalType | SyntaxKind.InferType | SyntaxKind.ParenthesizedType | SyntaxKind.ThisType | SyntaxKind.TypeOperator | SyntaxKind.IndexedAccessType | SyntaxKind.MappedType | SyntaxKind.LiteralType | SyntaxKind.ImportType | SyntaxKind.ObjectBindingPattern | SyntaxKind.ArrayBindingPattern | SyntaxKind.BindingElement | SyntaxKind.ArrayLiteralExpression | SyntaxKind.ObjectLiteralExpression | SyntaxKind.PropertyAccessExpression | SyntaxKind.ElementAccessExpression | SyntaxKind.CallExpression | SyntaxKind.NewExpression | SyntaxKind.TaggedTemplateExpression | SyntaxKind.TypeAssertionExpression | SyntaxKind.ParenthesizedExpression | SyntaxKind.FunctionExpression | SyntaxKind.ArrowFunction | SyntaxKind.DeleteExpression | SyntaxKind.TypeOfExpression | SyntaxKind.VoidExpression | SyntaxKind.AwaitExpression | SyntaxKind.ConditionalExpression | SyntaxKind.TemplateExpression | SyntaxKind.YieldExpression | SyntaxKind.SpreadElement | SyntaxKind.ClassExpression | SyntaxKind.OmittedExpression | SyntaxKind.ExpressionWithTypeArguments | SyntaxKind.AsExpression | SyntaxKind.NonNullExpression | SyntaxKind.MetaProperty | SyntaxKind.TemplateSpan | SyntaxKind.SemicolonClassElement | SyntaxKind.Block | SyntaxKind.VariableStatement | SyntaxKind.EmptyStatement | SyntaxKind.ExpressionStatement | SyntaxKind.IfStatement | SyntaxKind.DoStatement | SyntaxKind.WhileStatement | SyntaxKind.ForStatement | SyntaxKind.ForInStatement | SyntaxKind.ForOfStatement | SyntaxKind.ContinueStatement | SyntaxKind.BreakStatement | SyntaxKind.ReturnStatement | SyntaxKind.WithStatement | SyntaxKind.SwitchStatement | SyntaxKind.LabeledStatement | SyntaxKind.ThrowStatement | SyntaxKind.TryStatement | SyntaxKind.DebuggerStatement | SyntaxKind.VariableDeclaration | SyntaxKind.VariableDeclarationList | SyntaxKind.FunctionDeclaration | SyntaxKind.ClassDeclaration | SyntaxKind.InterfaceDeclaration | SyntaxKind.TypeAliasDeclaration | SyntaxKind.EnumDeclaration | SyntaxKind.ModuleDeclaration | SyntaxKind.ModuleBlock | SyntaxKind.CaseBlock | SyntaxKind.NamespaceExportDeclaration | SyntaxKind.ImportEqualsDeclaration | SyntaxKind.ImportDeclaration | SyntaxKind.ImportClause | SyntaxKind.NamespaceImport | SyntaxKind.NamedImports | SyntaxKind.ImportSpecifier | SyntaxKind.ExportAssignment | SyntaxKind.ExportDeclaration | SyntaxKind.NamedExports | SyntaxKind.ExportSpecifier | SyntaxKind.MissingDeclaration | SyntaxKind.ExternalModuleReference | SyntaxKind.JsxElement | SyntaxKind.JsxSelfClosingElement | SyntaxKind.JsxOpeningElement | SyntaxKind.JsxClosingElement | SyntaxKind.JsxFragment | SyntaxKind.JsxOpeningFragment | SyntaxKind.JsxClosingFragment | SyntaxKind.JsxAttribute | SyntaxKind.JsxAttributes | SyntaxKind.JsxSpreadAttribute | SyntaxKind.JsxExpression | SyntaxKind.CaseClause | SyntaxKind.DefaultClause | SyntaxKind.HeritageClause | SyntaxKind.CatchClause | SyntaxKind.PropertyAssignment | SyntaxKind.ShorthandPropertyAssignment | SyntaxKind.SpreadAssignment | SyntaxKind.EnumMember | SyntaxKind.SourceFile | SyntaxKind.Bundle | SyntaxKind.UnparsedSource | SyntaxKind.InputFiles | SyntaxKind.JSDocTypeExpression | SyntaxKind.JSDocAllType | SyntaxKind.JSDocUnknownType | SyntaxKind.JSDocNullableType | SyntaxKind.JSDocNonNullableType | SyntaxKind.JSDocOptionalType | SyntaxKind.JSDocFunctionType | SyntaxKind.JSDocVariadicType | SyntaxKind.JSDocComment | SyntaxKind.JSDocTypeLiteral | SyntaxKind.JSDocSignature | SyntaxKind.JSDocTag | SyntaxKind.JSDocAugmentsTag | SyntaxKind.JSDocClassTag | SyntaxKind.JSDocCallbackTag | SyntaxKind.JSDocParameterTag | SyntaxKind.JSDocReturnTag | SyntaxKind.JSDocTypeTag | SyntaxKind.JSDocTemplateTag | SyntaxKind.JSDocTypedefTag | SyntaxKind.JSDocPropertyTag | SyntaxKind.SyntaxList | SyntaxKind.NotEmittedStatement | SyntaxKind.PartiallyEmittedExpression | SyntaxKind.CommaListExpression | SyntaxKind.MergeDeclarationMarker | SyntaxKind.EndOfDeclarationMarker | SyntaxKind.Count;
+ function getOperator(expression: Expression): SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia | SyntaxKind.NumericLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral | SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail | SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.BarBarToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken | SyntaxKind.Identifier | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.LetKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.StaticKeyword | SyntaxKind.YieldKeyword | SyntaxKind.AbstractKeyword | SyntaxKind.AsKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.GetKeyword | SyntaxKind.InferKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.RequireKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.SetKeyword | SyntaxKind.StringKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.TypeKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.FromKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.OfKeyword | SyntaxKind.QualifiedName | SyntaxKind.ComputedPropertyName | SyntaxKind.TypeParameter | SyntaxKind.Parameter | SyntaxKind.Decorator | SyntaxKind.PropertySignature | SyntaxKind.PropertyDeclaration | SyntaxKind.MethodSignature | SyntaxKind.MethodDeclaration | SyntaxKind.Constructor | SyntaxKind.GetAccessor | SyntaxKind.SetAccessor | SyntaxKind.CallSignature | SyntaxKind.ConstructSignature | SyntaxKind.IndexSignature | SyntaxKind.TypePredicate | SyntaxKind.TypeReference | SyntaxKind.FunctionType | SyntaxKind.ConstructorType | SyntaxKind.TypeQuery | SyntaxKind.TypeLiteral | SyntaxKind.ArrayType | SyntaxKind.TupleType | SyntaxKind.UnionType | SyntaxKind.IntersectionType | SyntaxKind.ConditionalType | SyntaxKind.InferType | SyntaxKind.ParenthesizedType | SyntaxKind.ThisType | SyntaxKind.TypeOperator | SyntaxKind.IndexedAccessType | SyntaxKind.MappedType | SyntaxKind.LiteralType | SyntaxKind.ImportType | SyntaxKind.ObjectBindingPattern | SyntaxKind.ArrayBindingPattern | SyntaxKind.BindingElement | SyntaxKind.ArrayLiteralExpression | SyntaxKind.ObjectLiteralExpression | SyntaxKind.PropertyAccessExpression | SyntaxKind.ElementAccessExpression | SyntaxKind.CallExpression | SyntaxKind.NewExpression | SyntaxKind.TaggedTemplateExpression | SyntaxKind.TypeAssertionExpression | SyntaxKind.ParenthesizedExpression | SyntaxKind.FunctionExpression | SyntaxKind.ArrowFunction | SyntaxKind.DeleteExpression | SyntaxKind.TypeOfExpression | SyntaxKind.VoidExpression | SyntaxKind.AwaitExpression | SyntaxKind.ConditionalExpression | SyntaxKind.TemplateExpression | SyntaxKind.YieldExpression | SyntaxKind.SpreadElement | SyntaxKind.ClassExpression | SyntaxKind.OmittedExpression | SyntaxKind.ExpressionWithTypeArguments | SyntaxKind.AsExpression | SyntaxKind.NonNullExpression | SyntaxKind.MetaProperty | SyntaxKind.TemplateSpan | SyntaxKind.SemicolonClassElement | SyntaxKind.Block | SyntaxKind.VariableStatement | SyntaxKind.EmptyStatement | SyntaxKind.ExpressionStatement | SyntaxKind.IfStatement | SyntaxKind.DoStatement | SyntaxKind.WhileStatement | SyntaxKind.ForStatement | SyntaxKind.ForInStatement | SyntaxKind.ForOfStatement | SyntaxKind.ContinueStatement | SyntaxKind.BreakStatement | SyntaxKind.ReturnStatement | SyntaxKind.WithStatement | SyntaxKind.SwitchStatement | SyntaxKind.LabeledStatement | SyntaxKind.ThrowStatement | SyntaxKind.TryStatement | SyntaxKind.DebuggerStatement | SyntaxKind.VariableDeclaration | SyntaxKind.VariableDeclarationList | SyntaxKind.FunctionDeclaration | SyntaxKind.ClassDeclaration | SyntaxKind.InterfaceDeclaration | SyntaxKind.TypeAliasDeclaration | SyntaxKind.EnumDeclaration | SyntaxKind.ModuleDeclaration | SyntaxKind.ModuleBlock | SyntaxKind.CaseBlock | SyntaxKind.NamespaceExportDeclaration | SyntaxKind.ImportEqualsDeclaration | SyntaxKind.ImportDeclaration | SyntaxKind.ImportClause | SyntaxKind.NamespaceImport | SyntaxKind.NamedImports | SyntaxKind.ImportSpecifier | SyntaxKind.ExportAssignment | SyntaxKind.ExportDeclaration | SyntaxKind.NamedExports | SyntaxKind.ExportSpecifier | SyntaxKind.MissingDeclaration | SyntaxKind.ExternalModuleReference | SyntaxKind.JsxElement | SyntaxKind.JsxSelfClosingElement | SyntaxKind.JsxOpeningElement | SyntaxKind.JsxClosingElement | SyntaxKind.JsxFragment | SyntaxKind.JsxOpeningFragment | SyntaxKind.JsxClosingFragment | SyntaxKind.JsxAttribute | SyntaxKind.JsxAttributes | SyntaxKind.JsxSpreadAttribute | SyntaxKind.JsxExpression | SyntaxKind.CaseClause | SyntaxKind.DefaultClause | SyntaxKind.HeritageClause | SyntaxKind.CatchClause | SyntaxKind.PropertyAssignment | SyntaxKind.ShorthandPropertyAssignment | SyntaxKind.SpreadAssignment | SyntaxKind.EnumMember | SyntaxKind.SourceFile | SyntaxKind.Bundle | SyntaxKind.UnparsedSource | SyntaxKind.InputFiles | SyntaxKind.JSDocTypeExpression | SyntaxKind.JSDocAllType | SyntaxKind.JSDocUnknownType | SyntaxKind.JSDocNullableType | SyntaxKind.JSDocNonNullableType | SyntaxKind.JSDocOptionalType | SyntaxKind.JSDocFunctionType | SyntaxKind.JSDocVariadicType | SyntaxKind.JSDocComment | SyntaxKind.JSDocTypeLiteral | SyntaxKind.JSDocSignature | SyntaxKind.JSDocTag | SyntaxKind.JSDocAugmentsTag | SyntaxKind.JSDocClassTag | SyntaxKind.JSDocCallbackTag | SyntaxKind.JSDocParameterTag | SyntaxKind.JSDocReturnTag | SyntaxKind.JSDocThisTag | SyntaxKind.JSDocTypeTag | SyntaxKind.JSDocTemplateTag | SyntaxKind.JSDocTypedefTag | SyntaxKind.JSDocPropertyTag | SyntaxKind.SyntaxList | SyntaxKind.NotEmittedStatement | SyntaxKind.PartiallyEmittedExpression | SyntaxKind.CommaListExpression | SyntaxKind.MergeDeclarationMarker | SyntaxKind.EndOfDeclarationMarker | SyntaxKind.Count;
function getOperatorPrecedence(nodeKind: SyntaxKind, operatorKind: SyntaxKind, hasArguments?: boolean): number;
function getBinaryOperatorPrecedence(kind: SyntaxKind): number;
function createDiagnosticCollection(): DiagnosticCollection;
@@ -6696,6 +6704,8 @@ declare namespace ts {
function getJSDocAugmentsTag(node: Node): JSDocAugmentsTag | undefined;
/** Gets the JSDoc class tag for the node if present */
function getJSDocClassTag(node: Node): JSDocClassTag | undefined;
+ /** Gets the JSDoc this tag for the node if present */
+ function getJSDocThisTag(node: Node): JSDocThisTag | undefined;
/** Gets the JSDoc return tag for the node if present */
function getJSDocReturnTag(node: Node): JSDocReturnTag | undefined;
/** Gets the JSDoc template tag for the node if present */
@@ -6882,6 +6892,7 @@ declare namespace ts {
function isJSDoc(node: Node): node is JSDoc;
function isJSDocAugmentsTag(node: Node): node is JSDocAugmentsTag;
function isJSDocClassTag(node: Node): node is JSDocClassTag;
+ function isJSDocThisTag(node: Node): node is JSDocThisTag;
function isJSDocParameterTag(node: Node): node is JSDocParameterTag;
function isJSDocReturnTag(node: Node): node is JSDocReturnTag;
function isJSDocTypeTag(node: Node): node is JSDocTypeTag;
@@ -9161,7 +9172,7 @@ declare namespace ts.moduleSpecifiers {
importModuleSpecifierPreference?: "relative" | "non-relative";
}
function getModuleSpecifier(compilerOptions: CompilerOptions, fromSourceFile: SourceFile, fromSourceFileName: string, toFileName: string, host: ModuleSpecifierResolutionHost, preferences?: ModuleSpecifierPreferences): string;
- function getModuleSpecifiers(moduleSymbol: Symbol, program: Program, importingSourceFile: SourceFile, host: ModuleSpecifierResolutionHost, preferences: ModuleSpecifierPreferences): ReadonlyArray>;
+ function getModuleSpecifiers(moduleSymbol: Symbol, compilerOptions: CompilerOptions, importingSourceFile: SourceFile, host: ModuleSpecifierResolutionHost, files: ReadonlyArray, preferences: ModuleSpecifierPreferences): ReadonlyArray>;
}
declare namespace ts {
/**
diff --git a/tests/baselines/reference/chainedPrototypeAssignment.types b/tests/baselines/reference/chainedPrototypeAssignment.types
index a893ae63022..f0d9cc972ef 100644
--- a/tests/baselines/reference/chainedPrototypeAssignment.types
+++ b/tests/baselines/reference/chainedPrototypeAssignment.types
@@ -86,9 +86,9 @@ A.prototype = B.prototype = {
>A : typeof A
>prototype : { [x: string]: any; m(n: number): number; }
>B.prototype = { /** @param {number} n */ m(n) { return n + 1 }} : { [x: string]: any; m(n: number): number; }
->B.prototype : { [x: string]: any; m(n: number): number; }
+>B.prototype : { [x: string]: any; }
>B : typeof B
->prototype : { [x: string]: any; m(n: number): number; }
+>prototype : { [x: string]: any; }
>{ /** @param {number} n */ m(n) { return n + 1 }} : { [x: string]: any; m(n: number): number; }
/** @param {number} n */
diff --git a/tests/baselines/reference/commonSourceDirectory.js b/tests/baselines/reference/commonSourceDirectory.js
index ca705a5b34e..44991d1b84e 100644
--- a/tests/baselines/reference/commonSourceDirectory.js
+++ b/tests/baselines/reference/commonSourceDirectory.js
@@ -24,7 +24,7 @@ exports.__esModule = true;
var foo_1 = require("foo");
var bar_1 = require("bar");
foo_1.x + bar_1.y;
-//# sourceMappingURL=/app/myMapRoot/index.js.map
+//# sourceMappingURL=../myMapRoot/index.js.map
//// [/app/bin/index.d.ts]
///
diff --git a/tests/baselines/reference/commonSourceDirectory.js.map b/tests/baselines/reference/commonSourceDirectory.js.map
index fd88719859b..737c1dc3df1 100644
--- a/tests/baselines/reference/commonSourceDirectory.js.map
+++ b/tests/baselines/reference/commonSourceDirectory.js.map
@@ -1,2 +1,2 @@
//// [/app/bin/index.js.map]
-{"version":3,"file":"index.js","sourceRoot":"/app/mySourceRoot/","sources":["index.ts"],"names":[],"mappings":";;AAAA,yCAAyC;AACzC,2BAAwB;AACxB,2BAAwB;AACxB,OAAC,GAAG,OAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.js","sourceRoot":"mySourceRoot/","sources":["index.ts"],"names":[],"mappings":";;AAAA,yCAAyC;AACzC,2BAAwB;AACxB,2BAAwB;AACxB,OAAC,GAAG,OAAC,CAAC"}
\ No newline at end of file
diff --git a/tests/baselines/reference/commonSourceDirectory.sourcemap.txt b/tests/baselines/reference/commonSourceDirectory.sourcemap.txt
index c880d2d0059..567e435ce55 100644
--- a/tests/baselines/reference/commonSourceDirectory.sourcemap.txt
+++ b/tests/baselines/reference/commonSourceDirectory.sourcemap.txt
@@ -1,7 +1,7 @@
===================================================================
JsFile: index.js
-mapUrl: /app/myMapRoot/index.js.map
-sourceRoot: /app/mySourceRoot/
+mapUrl: ../myMapRoot/index.js.map
+sourceRoot: mySourceRoot/
sources: index.ts
===================================================================
-------------------------------------------------------------------
@@ -43,7 +43,7 @@ sourceFile:index.ts
3 > ^^^
4 > ^^^^^^^
5 > ^
-6 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+6 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >x
@@ -56,4 +56,4 @@ sourceFile:index.ts
4 >Emitted(6, 18) Source(4, 6) + SourceIndex(0)
5 >Emitted(6, 19) Source(4, 7) + SourceIndex(0)
---
->>>//# sourceMappingURL=/app/myMapRoot/index.js.map
\ No newline at end of file
+>>>//# sourceMappingURL=../myMapRoot/index.js.map
\ No newline at end of file
diff --git a/tests/baselines/reference/commonSourceDirectory_dts.js b/tests/baselines/reference/commonSourceDirectory_dts.js
index 249edeceddd..1009ff9475b 100644
--- a/tests/baselines/reference/commonSourceDirectory_dts.js
+++ b/tests/baselines/reference/commonSourceDirectory_dts.js
@@ -15,7 +15,7 @@ export const x = y;
exports.__esModule = true;
///
exports.x = y;
-//# sourceMappingURL=/app/myMapRoot/index.js.map
+//# sourceMappingURL=../src/myMapRoot/index.js.map
//// [/app/bin/index.d.ts]
///
diff --git a/tests/baselines/reference/commonSourceDirectory_dts.js.map b/tests/baselines/reference/commonSourceDirectory_dts.js.map
index 552da577884..2950d165917 100644
--- a/tests/baselines/reference/commonSourceDirectory_dts.js.map
+++ b/tests/baselines/reference/commonSourceDirectory_dts.js.map
@@ -1,2 +1,2 @@
//// [/app/bin/index.js.map]
-{"version":3,"file":"index.js","sourceRoot":"/app/mySourceRoot/","sources":["index.ts"],"names":[],"mappings":";;AAAA,wCAAwC;AAC3B,QAAA,CAAC,GAAG,CAAC,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.js","sourceRoot":"mySourceRoot/","sources":["index.ts"],"names":[],"mappings":";;AAAA,wCAAwC;AAC3B,QAAA,CAAC,GAAG,CAAC,CAAC"}
\ No newline at end of file
diff --git a/tests/baselines/reference/commonSourceDirectory_dts.sourcemap.txt b/tests/baselines/reference/commonSourceDirectory_dts.sourcemap.txt
index 925a3d30ed4..fb2ef3596c6 100644
--- a/tests/baselines/reference/commonSourceDirectory_dts.sourcemap.txt
+++ b/tests/baselines/reference/commonSourceDirectory_dts.sourcemap.txt
@@ -1,7 +1,7 @@
===================================================================
JsFile: index.js
-mapUrl: /app/myMapRoot/index.js.map
-sourceRoot: /app/mySourceRoot/
+mapUrl: ../src/myMapRoot/index.js.map
+sourceRoot: mySourceRoot/
sources: index.ts
===================================================================
-------------------------------------------------------------------
@@ -25,7 +25,7 @@ sourceFile:index.ts
4 > ^^^
5 > ^
6 > ^
-7 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
+7 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>export const
2 >
@@ -40,4 +40,4 @@ sourceFile:index.ts
5 >Emitted(4, 14) Source(2, 19) + SourceIndex(0)
6 >Emitted(4, 15) Source(2, 20) + SourceIndex(0)
---
->>>//# sourceMappingURL=/app/myMapRoot/index.js.map
\ No newline at end of file
+>>>//# sourceMappingURL=../src/myMapRoot/index.js.map
\ No newline at end of file
diff --git a/tests/baselines/reference/es2018ObjectAssign.js b/tests/baselines/reference/es2018ObjectAssign.js
new file mode 100644
index 00000000000..4ad3dc3c8e7
--- /dev/null
+++ b/tests/baselines/reference/es2018ObjectAssign.js
@@ -0,0 +1,9 @@
+//// [es2018ObjectAssign.ts]
+const test = Object.assign({}, { test: true });
+
+declare const p: Promise;
+p.finally();
+
+//// [es2018ObjectAssign.js]
+const test = Object.assign({}, { test: true });
+p.finally();
diff --git a/tests/baselines/reference/es2018ObjectAssign.symbols b/tests/baselines/reference/es2018ObjectAssign.symbols
new file mode 100644
index 00000000000..3ed140cb570
--- /dev/null
+++ b/tests/baselines/reference/es2018ObjectAssign.symbols
@@ -0,0 +1,17 @@
+=== tests/cases/compiler/es2018ObjectAssign.ts ===
+const test = Object.assign({}, { test: true });
+>test : Symbol(test, Decl(es2018ObjectAssign.ts, 0, 5))
+>Object.assign : Symbol(ObjectConstructor.assign, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
+>Object : Symbol(Object, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --))
+>assign : Symbol(ObjectConstructor.assign, Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --), Decl(lib.es2015.core.d.ts, --, --))
+>test : Symbol(test, Decl(es2018ObjectAssign.ts, 0, 32))
+
+declare const p: Promise;
+>p : Symbol(p, Decl(es2018ObjectAssign.ts, 2, 13))
+>Promise : Symbol(Promise, Decl(lib.es5.d.ts, --, --), Decl(lib.es2015.iterable.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.symbol.wellknown.d.ts, --, --), Decl(lib.es2018.promise.d.ts, --, --))
+
+p.finally();
+>p.finally : Symbol(Promise.finally, Decl(lib.es2018.promise.d.ts, --, --))
+>p : Symbol(p, Decl(es2018ObjectAssign.ts, 2, 13))
+>finally : Symbol(Promise.finally, Decl(lib.es2018.promise.d.ts, --, --))
+
diff --git a/tests/baselines/reference/es2018ObjectAssign.types b/tests/baselines/reference/es2018ObjectAssign.types
new file mode 100644
index 00000000000..92ac3d760a3
--- /dev/null
+++ b/tests/baselines/reference/es2018ObjectAssign.types
@@ -0,0 +1,22 @@
+=== tests/cases/compiler/es2018ObjectAssign.ts ===
+const test = Object.assign({}, { test: true });
+>test : { test: boolean; }
+>Object.assign({}, { test: true }) : { test: boolean; }
+>Object.assign : { (target: T, source: U): T & U; (target: T, source1: U, source2: V): T & U & V; (target: T, source1: U, source2: V, source3: W): T & U & V & W; (target: object, ...sources: any[]): any; }
+>Object : ObjectConstructor
+>assign : { (target: T, source: U): T & U; (target: T, source1: U, source2: V): T & U & V; (target: T, source1: U, source2: V, source3: W): T & U & V & W; (target: object, ...sources: any[]): any; }
+>{} : {}
+>{ test: true } : { test: true; }
+>test : true
+>true : true
+
+declare const p: Promise;
+>p : Promise
+>Promise : Promise
+
+p.finally();
+>p.finally() : Promise
+>p.finally : (onfinally?: () => void) => Promise
+>p : Promise
+>finally : (onfinally?: () => void) => Promise
+
diff --git a/tests/baselines/reference/exportNestedNamespaces.symbols b/tests/baselines/reference/exportNestedNamespaces.symbols
index e5fc5db16d9..10f1600a2df 100644
--- a/tests/baselines/reference/exportNestedNamespaces.symbols
+++ b/tests/baselines/reference/exportNestedNamespaces.symbols
@@ -12,7 +12,7 @@ exports.n.K = function () {
>K : Symbol(n.K, Decl(mod.js, 0, 15))
this.x = 10;
->this : Symbol(__object, Decl(mod.js, 0, 11))
+>this : Symbol(n, Decl(mod.js, 0, 0), Decl(mod.js, 1, 8))
>x : Symbol(K.x, Decl(mod.js, 1, 27))
}
exports.Classic = class {
diff --git a/tests/baselines/reference/exportNestedNamespaces.types b/tests/baselines/reference/exportNestedNamespaces.types
index b6b701bc05f..664429d802c 100644
--- a/tests/baselines/reference/exportNestedNamespaces.types
+++ b/tests/baselines/reference/exportNestedNamespaces.types
@@ -1,24 +1,24 @@
=== tests/cases/conformance/salsa/mod.js ===
exports.n = {};
->exports.n = {} : { [x: string]: any; K: typeof K; }
->exports.n : { [x: string]: any; K: typeof K; }
+>exports.n = {} : typeof n
+>exports.n : typeof n
>exports : typeof import("tests/cases/conformance/salsa/mod")
->n : { [x: string]: any; K: typeof K; }
->{} : { [x: string]: any; K: typeof K; }
+>n : typeof n
+>{} : { [x: string]: any; }
exports.n.K = function () {
>exports.n.K = function () { this.x = 10;} : typeof K
>exports.n.K : typeof K
->exports.n : { [x: string]: any; K: typeof K; }
+>exports.n : typeof n
>exports : typeof import("tests/cases/conformance/salsa/mod")
->n : { [x: string]: any; K: typeof K; }
+>n : typeof n
>K : typeof K
>function () { this.x = 10;} : typeof K
this.x = 10;
>this.x = 10 : 10
>this.x : any
->this : { [x: string]: any; K: typeof K; }
+>this : typeof n
>x : any
>10 : 10
}
@@ -47,9 +47,9 @@ var k = new s.n.K()
>k : K
>new s.n.K() : K
>s.n.K : typeof K
->s.n : { [x: string]: any; K: typeof K; }
+>s.n : typeof s.n
>s : typeof s
->n : { [x: string]: any; K: typeof K; }
+>n : typeof s.n
>K : typeof K
k.x
diff --git a/tests/baselines/reference/jsContainerMergeJsContainer.types b/tests/baselines/reference/jsContainerMergeJsContainer.types
index 6d25fb4608a..5759b085613 100644
--- a/tests/baselines/reference/jsContainerMergeJsContainer.types
+++ b/tests/baselines/reference/jsContainerMergeJsContainer.types
@@ -1,13 +1,13 @@
=== tests/cases/conformance/salsa/a.js ===
// #24131
const a = {};
->a : { [x: string]: any; d: { (): void; prototype: { [x: string]: any; }; }; }
->{} : { [x: string]: any; d: { (): void; prototype: { [x: string]: any; }; }; }
+>a : typeof a
+>{} : { [x: string]: any; }
a.d = function() {};
>a.d = function() {} : { (): void; prototype: { [x: string]: any; }; }
>a.d : { (): void; prototype: { [x: string]: any; }; }
->a : { [x: string]: any; d: { (): void; prototype: { [x: string]: any; }; }; }
+>a : typeof a
>d : { (): void; prototype: { [x: string]: any; }; }
>function() {} : { (): void; prototype: { [x: string]: any; }; }
@@ -16,7 +16,7 @@ a.d.prototype = {};
>a.d.prototype = {} : { [x: string]: any; }
>a.d.prototype : { [x: string]: any; }
>a.d : { (): void; prototype: { [x: string]: any; }; }
->a : { [x: string]: any; d: { (): void; prototype: { [x: string]: any; }; }; }
+>a : typeof a
>d : { (): void; prototype: { [x: string]: any; }; }
>prototype : { [x: string]: any; }
>{} : { [x: string]: any; }
diff --git a/tests/baselines/reference/jsContainerMergeTsDeclaration3.types b/tests/baselines/reference/jsContainerMergeTsDeclaration3.types
index 1a29cab2538..d03c13764e6 100644
--- a/tests/baselines/reference/jsContainerMergeTsDeclaration3.types
+++ b/tests/baselines/reference/jsContainerMergeTsDeclaration3.types
@@ -5,7 +5,7 @@ declare class A {}
=== tests/cases/conformance/salsa/b.js ===
const A = { };
>A : typeof A
->{ } : { [x: string]: any; prototype: A; d: { [x: string]: any; }; }
+>{ } : { [x: string]: any; }
A.d = { };
>A.d = { } : { [x: string]: any; }
diff --git a/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.types b/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.types
index 69d00b6aa79..7c17e7c22bb 100644
--- a/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.types
+++ b/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.types
@@ -1,7 +1,7 @@
=== tests/cases/conformance/salsa/a.js ===
var variable = {};
>variable : { [x: string]: any; a: number; }
->{} : { [x: string]: any; a: number; }
+>{} : { [x: string]: any; }
variable.a = 0;
>variable.a = 0 : 0
diff --git a/tests/baselines/reference/moduleExportNestedNamespaces.types b/tests/baselines/reference/moduleExportNestedNamespaces.types
index 92dd4f14e69..def26bac423 100644
--- a/tests/baselines/reference/moduleExportNestedNamespaces.types
+++ b/tests/baselines/reference/moduleExportNestedNamespaces.types
@@ -1,12 +1,12 @@
=== tests/cases/conformance/salsa/mod.js ===
module.exports.n = {};
->module.exports.n = {} : { [x: string]: any; K: typeof C; }
+>module.exports.n = {} : any
>module.exports.n : any
>module.exports : any
>module : any
>exports : any
>n : any
->{} : { [x: string]: any; K: typeof C; }
+>{} : { [x: string]: any; }
module.exports.n.K = function C() {
>module.exports.n.K = function C() { this.x = 10;} : typeof C
@@ -54,9 +54,9 @@ var k = new s.n.K()
>k : C
>new s.n.K() : C
>s.n.K : typeof C
->s.n : { [x: string]: any; K: typeof C; }
+>s.n : typeof s.n
>s : typeof s
->n : { [x: string]: any; K: typeof C; }
+>n : typeof s.n
>K : typeof C
k.x
diff --git a/tests/baselines/reference/nestedPrototypeAssignment.types b/tests/baselines/reference/nestedPrototypeAssignment.types
index 620ca215f6d..1ac8ea1ad03 100644
--- a/tests/baselines/reference/nestedPrototypeAssignment.types
+++ b/tests/baselines/reference/nestedPrototypeAssignment.types
@@ -1,19 +1,19 @@
=== tests/cases/conformance/salsa/mod.js ===
// #24111 -- shouldn't assert
C.prototype = {}
->C.prototype = {} : { [x: string]: any; bar: typeof C.prototype.bar; }
->C.prototype : { [x: string]: any; bar: typeof C.prototype.bar; }
+>C.prototype = {} : typeof C.prototype
+>C.prototype : typeof C.prototype
>C : typeof C
->prototype : { [x: string]: any; bar: typeof C.prototype.bar; }
->{} : { [x: string]: any; bar: typeof C.prototype.bar; }
+>prototype : typeof C.prototype
+>{} : { [x: string]: any; }
C.prototype.bar.foo = {};
>C.prototype.bar.foo = {} : { [x: string]: any; }
>C.prototype.bar.foo : { [x: string]: any; }
>C.prototype.bar : typeof C.prototype.bar
->C.prototype : { [x: string]: any; bar: typeof C.prototype.bar; }
+>C.prototype : typeof C.prototype
>C : typeof C
->prototype : { [x: string]: any; bar: typeof C.prototype.bar; }
+>prototype : typeof C.prototype
>bar : typeof C.prototype.bar
>foo : { [x: string]: any; }
>{} : { [x: string]: any; }
diff --git a/tests/baselines/reference/outfile-concat-fileListing.txt b/tests/baselines/reference/outfile-concat-fileListing.txt
deleted file mode 100644
index fc6a1e7b28c..00000000000
--- a/tests/baselines/reference/outfile-concat-fileListing.txt
+++ /dev/null
@@ -1,43 +0,0 @@
-*/
- /lib/
- /lib/lib.d.ts
- /lib/lib.dom.d.ts
- /lib/lib.es5.d.ts
- /lib/lib.scripthost.d.ts
- /lib/lib.webworker.importscripts.d.ts
- /src/
- /src/2/
- /src/2/second-output.d.ts
- /src/2/second-output.d.ts.map
- /src/2/second-output.js
- /src/2/second-output.js.map
- /src/first/
- /src/first/bin/
- /src/first/bin/first-output.d.ts
- /src/first/bin/first-output.d.ts.map
- /src/first/bin/first-output.js
- /src/first/bin/first-output.js.map
- /src/first/first_part1.ts
- /src/first/first_part2.ts
- /src/first/first_part3.ts
- /src/first/tsconfig.json
- /src/first_part1.ts
- /src/first_part2.ts
- /src/first_part3.ts
- /src/second/
- /src/second/second_part1.ts
- /src/second/second_part2.ts
- /src/second/tsconfig.json
- /src/second_part1.ts
- /src/second_part2.ts
- /src/third/
- /src/third/third_part1.ts
- /src/third/thirdjs/
- /src/third/thirdjs/output/
- /src/third/thirdjs/output/third-output.d.ts
- /src/third/thirdjs/output/third-output.d.ts.map
- /src/third/thirdjs/output/third-output.js
- /src/third/thirdjs/output/third-output.js.map
- /src/third/tsconfig.json
- /src/third_part1.ts
- /src/tsconfig.json
\ No newline at end of file
diff --git a/tests/baselines/reference/outfile-concat.js b/tests/baselines/reference/outfile-concat.js
index e3e5aa3d5f0..22c69281e13 100644
--- a/tests/baselines/reference/outfile-concat.js
+++ b/tests/baselines/reference/outfile-concat.js
@@ -1,3 +1,88 @@
+//// [/src/2/second-output.d.ts]
+declare namespace N {
+}
+declare namespace N {
+}
+declare class C {
+ doSomething(): void;
+}
+//# sourceMappingURL=second-output.d.ts.map
+
+//// [/src/2/second-output.d.ts.map]
+{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD;IACI,WAAW;CAGd"}
+
+//// [/src/2/second-output.js]
+var N;
+(function (N) {
+ function f() {
+ console.log('testing');
+ }
+ f();
+})(N || (N = {}));
+var C = (function () {
+ function C() {
+ }
+ C.prototype.doSomething = function () {
+ console.log("something got done");
+ };
+ return C;
+}());
+//# sourceMappingURL=second-output.js.map
+
+//// [/src/2/second-output.js.map]
+{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP;QACI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"}
+
+//// [/src/first/bin/first-output.d.ts]
+interface TheFirst {
+ none: any;
+}
+declare const s = "Hello, world";
+interface NoJsForHereEither {
+ none: any;
+}
+declare function f(): string;
+//# sourceMappingURL=first-output.d.ts.map
+
+//// [/src/first/bin/first-output.d.ts.map]
+{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,6BAEC"}
+
+//// [/src/first/bin/first-output.js]
+var s = "Hello, world";
+console.log(s);
+console.log(f());
+function f() {
+ return "JS does hoists";
+}
+//# sourceMappingURL=first-output.js.map
+
+//// [/src/first/bin/first-output.js.map]
+{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB;IACI,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
+
+//// [/src/third/thirdjs/output/third-output.d.ts]
+interface TheFirst {
+ none: any;
+}
+declare const s = "Hello, world";
+interface NoJsForHereEither {
+ none: any;
+}
+declare function f(): string;
+//# sourceMappingURL=first-output.d.ts.map
+declare namespace N {
+}
+declare namespace N {
+}
+declare class C {
+ doSomething(): void;
+}
+//# sourceMappingURL=second-output.d.ts.map
+declare var c: C;
+//# sourceMappingURL=third-output.d.ts.map
+
+//// [/src/third/thirdjs/output/third-output.d.ts.map]
+{"version":3,"file":"third-output.d.ts","sections":[{"offset":{"line":0,"column":0},"map":{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,iBAAiB,CAAC;AAEzB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,6BAEC"}},{"offset":{"line":9,"column":0},"map":{"version":3,"file":"second-output.d.ts","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAAA,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD;IACI,WAAW;CAGd"}},{"offset":{"line":16,"column":43},"map":{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":";AAAA,QAAA,IAAI,CAAC,GAAU,CAAC"}}]}
+
+//// [/src/third/thirdjs/output/third-output.js]
var s = "Hello, world";
console.log(s);
console.log(f());
@@ -23,4 +108,8 @@ var C = (function () {
//# sourceMappingURL=second-output.js.map
var c = new C();
c.doSomething();
-//# sourceMappingURL=third-output.js.map
\ No newline at end of file
+//# sourceMappingURL=third-output.js.map
+
+//// [/src/third/thirdjs/output/third-output.js.map]
+{"version":3,"file":"third-output.js","sections":[{"offset":{"line":0,"column":0},"map":{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB;IACI,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}},{"offset":{"line":7,"column":0},"map":{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP;QACI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"}},{"offset":{"line":22,"column":41},"map":{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}}]}
+
diff --git a/tests/baselines/reference/outfile-concat.js.map b/tests/baselines/reference/outfile-concat.js.map
deleted file mode 100644
index f8220832b2a..00000000000
--- a/tests/baselines/reference/outfile-concat.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"third-output.js","sections":[{"offset":{"line":0,"column":0},"map":{"version":3,"file":"first-output.js","sourceRoot":"","sources":["first_part1.ts","first_part2.ts","first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB;IACI,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}},{"offset":{"line":7,"column":0},"map":{"version":3,"file":"second-output.js","sourceRoot":"","sources":["second_part1.ts","second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP;QACI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"}},{"offset":{"line":22,"column":41},"map":{"version":3,"file":"third-output.js","sourceRoot":"","sources":["third_part1.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}}]}
\ No newline at end of file
diff --git a/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.js b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.js
new file mode 100644
index 00000000000..59eb99f2495
--- /dev/null
+++ b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.js
@@ -0,0 +1,116 @@
+//// [tests/cases/compiler/symbolLinkDeclarationEmitModuleNames.ts] ////
+
+//// [application.ts]
+import { Constructor } from "@loopback/context";
+export type ControllerClass = Constructor;
+//// [usage.ts]
+import { ControllerClass } from './application';
+import { BindingKey } from '@loopback/context';
+
+export const CONTROLLER_CLASS = BindingKey.create(null as any); // line in question
+//// [value-promise.ts]
+export type Constructor = (...args: any[]) => T;
+//// [bindingkey.ts]
+import { Constructor } from "@loopback/context"
+export class BindingKey {
+ readonly __type: T;
+ static create>(ctor: T) {
+ return new BindingKey();
+ }
+}
+
+//// [index.ts]
+export * from "./src/value-promise";
+export * from "./src/bindingkey";
+
+
+//// [value-promise.js]
+"use strict";
+exports.__esModule = true;
+//// [bindingkey.js]
+"use strict";
+exports.__esModule = true;
+var BindingKey = /** @class */ (function () {
+ function BindingKey() {
+ }
+ BindingKey.create = function (ctor) {
+ return new BindingKey();
+ };
+ return BindingKey;
+}());
+exports.BindingKey = BindingKey;
+//// [index.js]
+"use strict";
+function __export(m) {
+ for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
+}
+exports.__esModule = true;
+__export(require("./src/bindingkey"));
+//// [application.js]
+"use strict";
+exports.__esModule = true;
+//// [usage.js]
+"use strict";
+exports.__esModule = true;
+var context_1 = require("@loopback/context");
+exports.CONTROLLER_CLASS = context_1.BindingKey.create(null); // line in question
+
+
+//// [value-promise.d.ts]
+export declare type Constructor = (...args: any[]) => T;
+//// [bindingkey.d.ts]
+import { Constructor } from "@loopback/context";
+export declare class BindingKey {
+ readonly __type: T;
+ static create>(ctor: T): BindingKey;
+}
+//// [index.d.ts]
+export * from "./src/value-promise";
+export * from "./src/bindingkey";
+//// [application.d.ts]
+import { Constructor } from "@loopback/context";
+export declare type ControllerClass = Constructor;
+//// [usage.d.ts]
+import { BindingKey } from '@loopback/context';
+export declare const CONTROLLER_CLASS: BindingKey>;
+
+
+//// [DtsFileErrors]
+
+
+tests/cases/compiler/monorepo/context/src/bindingkey.d.ts(1,29): error TS2307: Cannot find module '@loopback/context'.
+tests/cases/compiler/monorepo/core/src/application.d.ts(1,29): error TS2307: Cannot find module '@loopback/context'.
+tests/cases/compiler/monorepo/core/src/usage.d.ts(1,28): error TS2307: Cannot find module '@loopback/context'.
+tests/cases/compiler/monorepo/core/src/usage.d.ts(2,51): error TS2307: Cannot find module '@loopback/context/src/value-promise'.
+
+
+==== tests/cases/compiler/monorepo/core/src/application.d.ts (1 errors) ====
+ import { Constructor } from "@loopback/context";
+ ~~~~~~~~~~~~~~~~~~~
+!!! error TS2307: Cannot find module '@loopback/context'.
+ export declare type ControllerClass = Constructor;
+
+==== tests/cases/compiler/monorepo/core/src/usage.d.ts (2 errors) ====
+ import { BindingKey } from '@loopback/context';
+ ~~~~~~~~~~~~~~~~~~~
+!!! error TS2307: Cannot find module '@loopback/context'.
+ export declare const CONTROLLER_CLASS: BindingKey>;
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+!!! error TS2307: Cannot find module '@loopback/context/src/value-promise'.
+
+==== /.src/tests/cases/compiler/monorepo/context/src/value-promise.d.ts (0 errors) ====
+ export declare type Constructor = (...args: any[]) => T;
+
+==== /.src/tests/cases/compiler/monorepo/context/src/bindingkey.d.ts (1 errors) ====
+ import { Constructor } from "@loopback/context";
+ ~~~~~~~~~~~~~~~~~~~
+!!! error TS2307: Cannot find module '@loopback/context'.
+ export declare class BindingKey {
+ readonly __type: T;
+ static create>(ctor: T): BindingKey;
+ }
+
+==== /.src/tests/cases/compiler/monorepo/context/index.d.ts (0 errors) ====
+ export * from "./src/value-promise";
+ export * from "./src/bindingkey";
+
\ No newline at end of file
diff --git a/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.symbols b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.symbols
new file mode 100644
index 00000000000..15b88cbe0bf
--- /dev/null
+++ b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.symbols
@@ -0,0 +1,59 @@
+=== tests/cases/compiler/monorepo/core/src/application.ts ===
+import { Constructor } from "@loopback/context";
+>Constructor : Symbol(Constructor, Decl(application.ts, 0, 8))
+
+export type ControllerClass = Constructor;
+>ControllerClass : Symbol(ControllerClass, Decl(application.ts, 0, 48))
+>Constructor : Symbol(Constructor, Decl(application.ts, 0, 8))
+
+=== tests/cases/compiler/monorepo/core/src/usage.ts ===
+import { ControllerClass } from './application';
+>ControllerClass : Symbol(ControllerClass, Decl(usage.ts, 0, 8))
+
+import { BindingKey } from '@loopback/context';
+>BindingKey : Symbol(BindingKey, Decl(usage.ts, 1, 8))
+
+export const CONTROLLER_CLASS = BindingKey.create(null as any); // line in question
+>CONTROLLER_CLASS : Symbol(CONTROLLER_CLASS, Decl(usage.ts, 3, 12))
+>BindingKey.create : Symbol(BindingKey.create, Decl(bindingkey.ts, 2, 21))
+>BindingKey : Symbol(BindingKey, Decl(usage.ts, 1, 8))
+>create : Symbol(BindingKey.create, Decl(bindingkey.ts, 2, 21))
+>ControllerClass : Symbol(ControllerClass, Decl(usage.ts, 0, 8))
+
+=== tests/cases/compiler/monorepo/context/src/value-promise.ts ===
+export type Constructor = (...args: any[]) => T;
+>Constructor : Symbol(Constructor, Decl(value-promise.ts, 0, 0))
+>T : Symbol(T, Decl(value-promise.ts, 0, 24))
+>args : Symbol(args, Decl(value-promise.ts, 0, 30))
+>T : Symbol(T, Decl(value-promise.ts, 0, 24))
+
+=== tests/cases/compiler/monorepo/context/src/bindingkey.ts ===
+import { Constructor } from "@loopback/context"
+>Constructor : Symbol(Constructor, Decl(bindingkey.ts, 0, 8))
+
+export class BindingKey {
+>BindingKey : Symbol(BindingKey, Decl(bindingkey.ts, 0, 47))
+>T : Symbol(T, Decl(bindingkey.ts, 1, 24))
+
+ readonly __type: T;
+>__type : Symbol(BindingKey.__type, Decl(bindingkey.ts, 1, 28))
+>T : Symbol(T, Decl(bindingkey.ts, 1, 24))
+
+ static create>(ctor: T) {
+>create : Symbol(BindingKey.create, Decl(bindingkey.ts, 2, 21))
+>T : Symbol(T, Decl(bindingkey.ts, 3, 16))
+>Constructor : Symbol(Constructor, Decl(bindingkey.ts, 0, 8))
+>ctor : Symbol(ctor, Decl(bindingkey.ts, 3, 44))
+>T : Symbol(T, Decl(bindingkey.ts, 3, 16))
+
+ return new BindingKey();
+>BindingKey : Symbol(BindingKey, Decl(bindingkey.ts, 0, 47))
+>T : Symbol(T, Decl(bindingkey.ts, 3, 16))
+ }
+}
+
+=== tests/cases/compiler/monorepo/context/index.ts ===
+export * from "./src/value-promise";
+No type information for this code.export * from "./src/bindingkey";
+No type information for this code.
+No type information for this code.
\ No newline at end of file
diff --git a/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.types b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.types
new file mode 100644
index 00000000000..a83fe0d650c
--- /dev/null
+++ b/tests/baselines/reference/symbolLinkDeclarationEmitModuleNames.types
@@ -0,0 +1,63 @@
+=== tests/cases/compiler/monorepo/core/src/application.ts ===
+import { Constructor } from "@loopback/context";
+>Constructor : any
+
+export type ControllerClass = Constructor;
+>ControllerClass : Constructor
+>Constructor : Constructor
+
+=== tests/cases/compiler/monorepo/core/src/usage.ts ===
+import { ControllerClass } from './application';
+>ControllerClass : any
+
+import { BindingKey } from '@loopback/context';
+>BindingKey : typeof BindingKey
+
+export const CONTROLLER_CLASS = BindingKey.create(null as any); // line in question
+>CONTROLLER_CLASS : BindingKey>
+>BindingKey.create(null as any) : BindingKey>
+>BindingKey.create : >(ctor: T) => BindingKey
+>BindingKey : typeof BindingKey
+>create : >(ctor: T) => BindingKey
+>ControllerClass : import("tests/cases/compiler/monorepo/context/src/value-promise").Constructor
+>null as any : any
+>null : null
+
+=== tests/cases/compiler/monorepo/context/src/value-promise.ts ===
+export type Constructor = (...args: any[]) => T;
+>Constructor : Constructor
+>T : T
+>args : any[]
+>T : T
+
+=== tests/cases/compiler/monorepo/context/src/bindingkey.ts ===
+import { Constructor } from "@loopback/context"
+>Constructor : any
+
+export class BindingKey {
+>BindingKey : BindingKey
+>T : T
+
+ readonly __type: T;
+>__type : T
+>T : T
+
+ static create>(ctor: T) {
+>create : >(ctor: T) => BindingKey
+>T : T
+>Constructor : Constructor
+>ctor : T
+>T : T
+
+ return new BindingKey();
+>new BindingKey() : BindingKey
+>BindingKey : typeof BindingKey
+>T : T
+ }
+}
+
+=== tests/cases/compiler/monorepo/context/index.ts ===
+export * from "./src/value-promise";
+No type information for this code.export * from "./src/bindingkey";
+No type information for this code.
+No type information for this code.
\ No newline at end of file
diff --git a/tests/baselines/reference/third-output.js b/tests/baselines/reference/third-output.js
deleted file mode 100644
index e3e5aa3d5f0..00000000000
--- a/tests/baselines/reference/third-output.js
+++ /dev/null
@@ -1,26 +0,0 @@
-var s = "Hello, world";
-console.log(s);
-console.log(f());
-function f() {
- return "JS does hoists";
-}
-//# sourceMappingURL=first-output.js.map
-var N;
-(function (N) {
- function f() {
- console.log('testing');
- }
- f();
-})(N || (N = {}));
-var C = (function () {
- function C() {
- }
- C.prototype.doSomething = function () {
- console.log("something got done");
- };
- return C;
-}());
-//# sourceMappingURL=second-output.js.map
-var c = new C();
-c.doSomething();
-//# sourceMappingURL=third-output.js.map
\ No newline at end of file
diff --git a/tests/baselines/reference/third-output.js.map b/tests/baselines/reference/third-output.js.map
deleted file mode 100644
index 70b9ad69d53..00000000000
--- a/tests/baselines/reference/third-output.js.map
+++ /dev/null
@@ -1 +0,0 @@
-{"version":3,"file":"third-output.js","sections":[{"offset":{"line":0,"column":0},"map":{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_part1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB;IACI,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}},{"offset":{"line":7,"column":0},"map":{"version":3,"file":"second-output.js","sourceRoot":"","sources":["../second/second_part1.ts","../second/second_part2.ts"],"names":[],"mappings":"AAIA,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP;QACI,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"}},{"offset":{"line":22,"column":41},"map":{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../third_part1.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,IAAI,CAAC,EAAE,CAAC;AAChB,CAAC,CAAC,WAAW,EAAE,CAAC"}}]}
\ No newline at end of file
diff --git a/tests/baselines/reference/thisTag1.symbols b/tests/baselines/reference/thisTag1.symbols
new file mode 100644
index 00000000000..473a80be70f
--- /dev/null
+++ b/tests/baselines/reference/thisTag1.symbols
@@ -0,0 +1,32 @@
+=== tests/cases/conformance/jsdoc/a.js ===
+/** @this {{ n: number }} Mount Holyoke Preparatory School
+ * @param {string} s
+ * @return {number}
+ */
+function f(s) {
+>f : Symbol(f, Decl(a.js, 0, 0))
+>s : Symbol(s, Decl(a.js, 4, 11))
+
+ return this.n + s.length
+>this.n : Symbol(n, Decl(a.js, 0, 12))
+>this : Symbol(__type, Decl(a.js, 0, 11))
+>n : Symbol(n, Decl(a.js, 0, 12))
+>s.length : Symbol(String.length, Decl(lib.es5.d.ts, --, --))
+>s : Symbol(s, Decl(a.js, 4, 11))
+>length : Symbol(String.length, Decl(lib.es5.d.ts, --, --))
+}
+
+const o = {
+>o : Symbol(o, Decl(a.js, 8, 5))
+
+ f,
+>f : Symbol(f, Decl(a.js, 8, 11))
+
+ n: 1
+>n : Symbol(n, Decl(a.js, 9, 6))
+}
+o.f('hi')
+>o.f : Symbol(f, Decl(a.js, 8, 11))
+>o : Symbol(o, Decl(a.js, 8, 5))
+>f : Symbol(f, Decl(a.js, 8, 11))
+
diff --git a/tests/baselines/reference/thisTag1.types b/tests/baselines/reference/thisTag1.types
new file mode 100644
index 00000000000..1ef6ae8d28f
--- /dev/null
+++ b/tests/baselines/reference/thisTag1.types
@@ -0,0 +1,37 @@
+=== tests/cases/conformance/jsdoc/a.js ===
+/** @this {{ n: number }} Mount Holyoke Preparatory School
+ * @param {string} s
+ * @return {number}
+ */
+function f(s) {
+>f : (s: string) => number
+>s : string
+
+ return this.n + s.length
+>this.n + s.length : number
+>this.n : number
+>this : { n: number; }
+>n : number
+>s.length : number
+>s : string
+>length : number
+}
+
+const o = {
+>o : { [x: string]: any; f: (s: string) => number; n: number; }
+>{ f, n: 1} : { [x: string]: any; f: (s: string) => number; n: number; }
+
+ f,
+>f : (s: string) => number
+
+ n: 1
+>n : number
+>1 : 1
+}
+o.f('hi')
+>o.f('hi') : number
+>o.f : (s: string) => number
+>o : { [x: string]: any; f: (s: string) => number; n: number; }
+>f : (s: string) => number
+>'hi' : "hi"
+
diff --git a/tests/baselines/reference/tsConfig/Default initialized TSConfig/tsconfig.json b/tests/baselines/reference/tsConfig/Default initialized TSConfig/tsconfig.json
index 0b72c3fd8a7..261cdca7011 100644
--- a/tests/baselines/reference/tsConfig/Default initialized TSConfig/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Default initialized TSConfig/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with advanced options/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with advanced options/tsconfig.json
index 4d5c6053bcc..d3a9f8e9f47 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with advanced options/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with advanced options/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json
index f84c7f3abf3..8484e61bcfa 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with boolean value compiler options/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with enum value compiler options/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with enum value compiler options/tsconfig.json
index b65582c7841..35aa1cf7eab 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with enum value compiler options/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with enum value compiler options/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with files options/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with files options/tsconfig.json
index 86d25e2362a..fbc441b823c 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with files options/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with files options/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json
index b623b1198c2..f758c1f6c20 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option value/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json
index 0b72c3fd8a7..261cdca7011 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with incorrect compiler option/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json
index ea9df560138..cdb52963ccb 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options with enum value/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options/tsconfig.json b/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options/tsconfig.json
index bab4947a8e5..fd6419e1e35 100644
--- a/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options/tsconfig.json
+++ b/tests/baselines/reference/tsConfig/Initialized TSConfig with list compiler options/tsconfig.json
@@ -47,8 +47,8 @@
// "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */
/* Source Map Options */
- // "sourceRoot": "./", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
- // "mapRoot": "./", /* Specify the location where debugger should locate map files instead of generated locations. */
+ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */
+ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */
// "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */
// "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */
diff --git a/tests/baselines/reference/typeFromPropertyAssignment10.types b/tests/baselines/reference/typeFromPropertyAssignment10.types
index a880498f047..86c525ac961 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment10.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment10.types
@@ -1,28 +1,28 @@
=== tests/cases/conformance/salsa/module.js ===
var Outer = Outer || {};
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->Outer || {} : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->{} : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
+>Outer : typeof Outer
+>Outer || {} : typeof Outer | { [x: string]: any; }
+>Outer : typeof Outer
+>{} : { [x: string]: any; }
Outer.app = Outer.app || {};
->Outer.app = Outer.app || {} : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer.app || {} : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->{} : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app = Outer.app || {} : typeof Outer.app
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
+>Outer.app || {} : { [x: string]: any; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
+>{} : { [x: string]: any; }
=== tests/cases/conformance/salsa/someview.js ===
Outer.app.SomeView = (function () {
>Outer.app.SomeView = (function () { var SomeView = function() { var me = this; } return SomeView;})() : () => void
>Outer.app.SomeView : () => void
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>SomeView : () => void
>(function () { var SomeView = function() { var me = this; } return SomeView;})() : () => void
>(function () { var SomeView = function() { var me = this; } return SomeView;}) : () => () => void
@@ -43,9 +43,9 @@ Outer.app.SomeView = (function () {
Outer.app.Inner = class {
>Outer.app.Inner = class { constructor() { /** @type {number} */ this.y = 12; }} : typeof Inner
>Outer.app.Inner : typeof Inner
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>Inner : typeof Inner
>class { constructor() { /** @type {number} */ this.y = 12; }} : typeof Inner
@@ -63,9 +63,9 @@ var example = new Outer.app.Inner();
>example : Inner
>new Outer.app.Inner() : Inner
>Outer.app.Inner : typeof Inner
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>Inner : typeof Inner
example.y;
@@ -77,9 +77,9 @@ example.y;
Outer.app.statische = function (k) {
>Outer.app.statische = function (k) { return k ** k;} : (k: number) => number
>Outer.app.statische : (k: number) => number
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>statische : (k: number) => number
>function (k) { return k ** k;} : (k: number) => number
>k : number
@@ -93,9 +93,9 @@ Outer.app.statische = function (k) {
Outer.app.Application = (function () {
>Outer.app.Application = (function () { /** * Application main class. * Will be instantiated & initialized by HTML page */ var Application = function () { var me = this; me.view = new Outer.app.SomeView(); }; return Application;})() : () => void
>Outer.app.Application : () => void
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>Application : () => void
>(function () { /** * Application main class. * Will be instantiated & initialized by HTML page */ var Application = function () { var me = this; me.view = new Outer.app.SomeView(); }; return Application;})() : () => void
>(function () { /** * Application main class. * Will be instantiated & initialized by HTML page */ var Application = function () { var me = this; me.view = new Outer.app.SomeView(); }; return Application;}) : () => () => void
@@ -120,9 +120,9 @@ Outer.app.Application = (function () {
>view : any
>new Outer.app.SomeView() : any
>Outer.app.SomeView : () => void
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>SomeView : () => void
};
@@ -135,18 +135,18 @@ var app = new Outer.app.Application();
>app : any
>new Outer.app.Application() : any
>Outer.app.Application : () => void
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>Application : () => void
var inner = new Outer.app.Inner();
>inner : Inner
>new Outer.app.Inner() : Inner
>Outer.app.Inner : typeof Inner
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>Inner : typeof Inner
inner.y;
@@ -166,9 +166,9 @@ x.y;
Outer.app.statische(101); // Infinity, duh
>Outer.app.statische(101) : number
>Outer.app.statische : (k: number) => number
->Outer.app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
->Outer : { [x: string]: any; app: { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }; }
->app : { [x: string]: any; SomeView: () => void; Inner: typeof Inner; statische(k: number): number; Application: () => void; }
+>Outer.app : typeof Outer.app
+>Outer : typeof Outer
+>app : typeof Outer.app
>statische : (k: number) => number
>101 : 101
diff --git a/tests/baselines/reference/typeFromPropertyAssignment11.types b/tests/baselines/reference/typeFromPropertyAssignment11.types
index 8c90e824f23..87a709d7cf3 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment11.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment11.types
@@ -5,9 +5,9 @@ var Inner = function() {}
Inner.prototype = {
>Inner.prototype = { m() { }, i: 1} : { [x: string]: any; m(): void; i: number; }
->Inner.prototype : { [x: string]: any; m(): void; i: number; }
+>Inner.prototype : { [x: string]: any; }
>Inner : typeof Inner
->prototype : { [x: string]: any; m(): void; i: number; }
+>prototype : { [x: string]: any; }
>{ m() { }, i: 1} : { [x: string]: any; m(): void; i: number; }
m() { },
@@ -21,18 +21,18 @@ Inner.prototype = {
Inner.prototype.j = 2
>Inner.prototype.j = 2 : 2
>Inner.prototype.j : any
->Inner.prototype : { [x: string]: any; m(): void; i: number; }
+>Inner.prototype : { [x: string]: any; }
>Inner : typeof Inner
->prototype : { [x: string]: any; m(): void; i: number; }
+>prototype : { [x: string]: any; }
>j : any
>2 : 2
/** @type {string} */
Inner.prototype.k;
>Inner.prototype.k : any
->Inner.prototype : { [x: string]: any; m(): void; i: number; }
+>Inner.prototype : { [x: string]: any; }
>Inner : typeof Inner
->prototype : { [x: string]: any; m(): void; i: number; }
+>prototype : { [x: string]: any; }
>k : any
var inner = new Inner()
diff --git a/tests/baselines/reference/typeFromPropertyAssignment13.types b/tests/baselines/reference/typeFromPropertyAssignment13.types
index c5370aebc56..5b97d2986f5 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment13.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment13.types
@@ -1,22 +1,22 @@
=== tests/cases/conformance/salsa/module.js ===
var Outer = {}
->Outer : { [x: string]: any; Inner: typeof Inner; }
->{} : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
+>{} : { [x: string]: any; }
Outer.Inner = function() {}
>Outer.Inner = function() {} : typeof Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
>function() {} : typeof Inner
Outer.Inner.prototype = {
>Outer.Inner.prototype = { m() { }, i: 1} : { [x: string]: any; m(): void; i: number; }
->Outer.Inner.prototype : { [x: string]: any; m(): void; i: number; }
+>Outer.Inner.prototype : { [x: string]: any; }
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
->prototype : { [x: string]: any; m(): void; i: number; }
+>prototype : { [x: string]: any; }
>{ m() { }, i: 1} : { [x: string]: any; m(): void; i: number; }
m() { },
@@ -30,29 +30,29 @@ Outer.Inner.prototype = {
Outer.Inner.prototype.j = 2
>Outer.Inner.prototype.j = 2 : 2
>Outer.Inner.prototype.j : any
->Outer.Inner.prototype : { [x: string]: any; m(): void; i: number; }
+>Outer.Inner.prototype : { [x: string]: any; }
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
->prototype : { [x: string]: any; m(): void; i: number; }
+>prototype : { [x: string]: any; }
>j : any
>2 : 2
/** @type {string} */
Outer.Inner.prototype.k;
>Outer.Inner.prototype.k : any
->Outer.Inner.prototype : { [x: string]: any; m(): void; i: number; }
+>Outer.Inner.prototype : { [x: string]: any; }
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
->prototype : { [x: string]: any; m(): void; i: number; }
+>prototype : { [x: string]: any; }
>k : any
var inner = new Outer.Inner()
>inner : Inner & { [x: string]: any; m(): void; i: number; }
>new Outer.Inner() : Inner & { [x: string]: any; m(): void; i: number; }
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
inner.m()
diff --git a/tests/baselines/reference/typeFromPropertyAssignment14.types b/tests/baselines/reference/typeFromPropertyAssignment14.types
index 65838ccacc1..60d63c489d6 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment14.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment14.types
@@ -1,23 +1,23 @@
=== tests/cases/conformance/salsa/def.js ===
var Outer = {};
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->{} : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
+>Outer : typeof Outer
+>{} : { [x: string]: any; }
=== tests/cases/conformance/salsa/work.js ===
Outer.Inner = function () {}
->Outer.Inner = function () {} : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer.Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->function () {} : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
+>Outer.Inner = function () {} : { (): void; prototype: { [x: string]: any; }; }
+>Outer.Inner : { (): void; prototype: { [x: string]: any; }; }
+>Outer : typeof Outer
+>Inner : { (): void; prototype: { [x: string]: any; }; }
+>function () {} : { (): void; prototype: { [x: string]: any; }; }
Outer.Inner.prototype = {
>Outer.Inner.prototype = { x: 1, m() { }} : { [x: string]: any; x: number; m(): void; }
->Outer.Inner.prototype : { [x: string]: any; x: number; m(): void; }
->Outer.Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->prototype : { [x: string]: any; x: number; m(): void; }
+>Outer.Inner.prototype : { [x: string]: any; }
+>Outer.Inner : { (): void; prototype: { [x: string]: any; }; }
+>Outer : typeof Outer
+>Inner : { (): void; prototype: { [x: string]: any; }; }
+>prototype : { [x: string]: any; }
>{ x: 1, m() { }} : { [x: string]: any; x: number; m(): void; }
x: 1,
@@ -47,9 +47,9 @@ inner.m()
var inno = new Outer.Inner()
>inno : { [x: string]: any; x: number; m(): void; }
>new Outer.Inner() : { [x: string]: any; x: number; m(): void; }
->Outer.Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
+>Outer.Inner : { (): void; prototype: { [x: string]: any; }; }
+>Outer : typeof Outer
+>Inner : { (): void; prototype: { [x: string]: any; }; }
inno.x
>inno.x : number
diff --git a/tests/baselines/reference/typeFromPropertyAssignment15.types b/tests/baselines/reference/typeFromPropertyAssignment15.types
index afb1ea779f0..8731d8dee4e 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment15.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment15.types
@@ -1,12 +1,12 @@
=== tests/cases/conformance/salsa/a.js ===
var Outer = {};
->Outer : { [x: string]: any; Inner: typeof Inner; }
->{} : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
+>{} : { [x: string]: any; }
Outer.Inner = class {
>Outer.Inner = class { constructor() { this.x = 1 } m() { }} : typeof Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
>class { constructor() { this.x = 1 } m() { }} : typeof Inner
@@ -41,7 +41,7 @@ var inno = new Outer.Inner()
>inno : Inner
>new Outer.Inner() : Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
inno.x
diff --git a/tests/baselines/reference/typeFromPropertyAssignment16.types b/tests/baselines/reference/typeFromPropertyAssignment16.types
index 76076e74d93..d67d6ccca37 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment16.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment16.types
@@ -1,22 +1,22 @@
=== tests/cases/conformance/salsa/a.js ===
var Outer = {};
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->{} : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
+>Outer : typeof Outer
+>{} : { [x: string]: any; }
Outer.Inner = function () {}
->Outer.Inner = function () {} : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer.Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->function () {} : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
+>Outer.Inner = function () {} : { (): void; prototype: { [x: string]: any; }; }
+>Outer.Inner : { (): void; prototype: { [x: string]: any; }; }
+>Outer : typeof Outer
+>Inner : { (): void; prototype: { [x: string]: any; }; }
+>function () {} : { (): void; prototype: { [x: string]: any; }; }
Outer.Inner.prototype = {
>Outer.Inner.prototype = { x: 1, m() { }} : { [x: string]: any; x: number; m(): void; }
->Outer.Inner.prototype : { [x: string]: any; x: number; m(): void; }
->Outer.Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->prototype : { [x: string]: any; x: number; m(): void; }
+>Outer.Inner.prototype : { [x: string]: any; }
+>Outer.Inner : { (): void; prototype: { [x: string]: any; }; }
+>Outer : typeof Outer
+>Inner : { (): void; prototype: { [x: string]: any; }; }
+>prototype : { [x: string]: any; }
>{ x: 1, m() { }} : { [x: string]: any; x: number; m(): void; }
x: 1,
@@ -45,9 +45,9 @@ inner.m()
var inno = new Outer.Inner()
>inno : { [x: string]: any; x: number; m(): void; }
>new Outer.Inner() : { [x: string]: any; x: number; m(): void; }
->Outer.Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
->Outer : { [x: string]: any; Inner: { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }; }
->Inner : { (): void; prototype: { [x: string]: any; x: number; m(): void; }; }
+>Outer.Inner : { (): void; prototype: { [x: string]: any; }; }
+>Outer : typeof Outer
+>Inner : { (): void; prototype: { [x: string]: any; }; }
inno.x
>inno.x : number
diff --git a/tests/baselines/reference/typeFromPropertyAssignment18.symbols b/tests/baselines/reference/typeFromPropertyAssignment18.symbols
index 19fc0068c91..cb74bd66d39 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment18.symbols
+++ b/tests/baselines/reference/typeFromPropertyAssignment18.symbols
@@ -9,7 +9,9 @@ function m() {
>m : Symbol(m, Decl(a.js, 0, 30))
}
GLOBSTAR.p = 1
+>GLOBSTAR.p : Symbol(GLOBSTAR.p, Decl(a.js, 2, 1))
>GLOBSTAR : Symbol(GLOBSTAR, Decl(a.js, 0, 3))
+>p : Symbol(GLOBSTAR.p, Decl(a.js, 2, 1))
m.GLOBSTAR.q = 2
>m.GLOBSTAR.q : Symbol(m.GLOBSTAR.q, Decl(a.js, 3, 14))
@@ -18,13 +20,27 @@ m.GLOBSTAR.q = 2
>GLOBSTAR : Symbol(m.GLOBSTAR, Decl(a.js, 0, 14))
>q : Symbol(m.GLOBSTAR.q, Decl(a.js, 3, 14))
+GLOBSTAR.p
+>GLOBSTAR.p : Symbol(GLOBSTAR.p, Decl(a.js, 2, 1))
+>GLOBSTAR : Symbol(GLOBSTAR, Decl(a.js, 0, 3))
+>p : Symbol(GLOBSTAR.p, Decl(a.js, 2, 1))
+
GLOBSTAR.q
>GLOBSTAR.q : Symbol(m.GLOBSTAR.q, Decl(a.js, 3, 14))
>GLOBSTAR : Symbol(GLOBSTAR, Decl(a.js, 0, 3))
>q : Symbol(m.GLOBSTAR.q, Decl(a.js, 3, 14))
m.GLOBSTAR.p
+>m.GLOBSTAR.p : Symbol(GLOBSTAR.p, Decl(a.js, 2, 1))
>m.GLOBSTAR : Symbol(m.GLOBSTAR, Decl(a.js, 0, 14))
>m : Symbol(m, Decl(a.js, 0, 30))
>GLOBSTAR : Symbol(m.GLOBSTAR, Decl(a.js, 0, 14))
+>p : Symbol(GLOBSTAR.p, Decl(a.js, 2, 1))
+
+m.GLOBSTAR.q
+>m.GLOBSTAR.q : Symbol(m.GLOBSTAR.q, Decl(a.js, 3, 14))
+>m.GLOBSTAR : Symbol(m.GLOBSTAR, Decl(a.js, 0, 14))
+>m : Symbol(m, Decl(a.js, 0, 30))
+>GLOBSTAR : Symbol(m.GLOBSTAR, Decl(a.js, 0, 14))
+>q : Symbol(m.GLOBSTAR.q, Decl(a.js, 3, 14))
diff --git a/tests/baselines/reference/typeFromPropertyAssignment18.types b/tests/baselines/reference/typeFromPropertyAssignment18.types
index 9f594379d0b..94f85942602 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment18.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment18.types
@@ -1,40 +1,52 @@
=== tests/cases/conformance/salsa/a.js ===
var GLOBSTAR = m.GLOBSTAR = {}
->GLOBSTAR : { [x: string]: any; q: number; }
->m.GLOBSTAR = {} : { [x: string]: any; q: number; }
->m.GLOBSTAR : { [x: string]: any; q: number; }
->m : { (): void; GLOBSTAR: { [x: string]: any; q: number; }; }
->GLOBSTAR : { [x: string]: any; q: number; }
->{} : { [x: string]: any; q: number; }
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>m.GLOBSTAR = {} : { [x: string]: any; q: number; p: number; }
+>m.GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>m : { (): void; GLOBSTAR: { [x: string]: any; q: number; p: number; }; }
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>{} : { [x: string]: any; }
function m() {
->m : { (): void; GLOBSTAR: { [x: string]: any; q: number; }; }
+>m : { (): void; GLOBSTAR: { [x: string]: any; q: number; p: number; }; }
}
GLOBSTAR.p = 1
>GLOBSTAR.p = 1 : 1
->GLOBSTAR.p : any
->GLOBSTAR : { [x: string]: any; q: number; }
->p : any
+>GLOBSTAR.p : number
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>p : number
>1 : 1
m.GLOBSTAR.q = 2
>m.GLOBSTAR.q = 2 : 2
>m.GLOBSTAR.q : number
->m.GLOBSTAR : { [x: string]: any; q: number; }
->m : { (): void; GLOBSTAR: { [x: string]: any; q: number; }; }
->GLOBSTAR : { [x: string]: any; q: number; }
+>m.GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>m : { (): void; GLOBSTAR: { [x: string]: any; q: number; p: number; }; }
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
>q : number
>2 : 2
+GLOBSTAR.p
+>GLOBSTAR.p : number
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>p : number
+
GLOBSTAR.q
>GLOBSTAR.q : number
->GLOBSTAR : { [x: string]: any; q: number; }
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
>q : number
m.GLOBSTAR.p
->m.GLOBSTAR.p : any
->m.GLOBSTAR : { [x: string]: any; q: number; }
->m : { (): void; GLOBSTAR: { [x: string]: any; q: number; }; }
->GLOBSTAR : { [x: string]: any; q: number; }
->p : any
+>m.GLOBSTAR.p : number
+>m.GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>m : { (): void; GLOBSTAR: { [x: string]: any; q: number; p: number; }; }
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>p : number
+
+m.GLOBSTAR.q
+>m.GLOBSTAR.q : number
+>m.GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>m : { (): void; GLOBSTAR: { [x: string]: any; q: number; p: number; }; }
+>GLOBSTAR : { [x: string]: any; q: number; p: number; }
+>q : number
diff --git a/tests/baselines/reference/typeFromPropertyAssignment24.types b/tests/baselines/reference/typeFromPropertyAssignment24.types
index 5acd55568cb..a8d1760c5ea 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment24.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment24.types
@@ -4,7 +4,7 @@ Outer.Inner.Message = function() {
>Outer.Inner.Message = function() {} : () => void
>Outer.Inner.Message : () => void
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
>Message : () => void
>function() {} : () => void
@@ -15,7 +15,7 @@ var y = new Outer.Inner()
>y : Inner
>new Outer.Inner() : Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
y.name
@@ -34,13 +34,13 @@ x.name
=== tests/cases/conformance/salsa/def.js ===
var Outer = {}
->Outer : { [x: string]: any; Inner: typeof Inner; }
->{} : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
+>{} : { [x: string]: any; }
Outer.Inner = class {
>Outer.Inner = class { name() { return 'hi' }} : typeof Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
>class { name() { return 'hi' }} : typeof Inner
diff --git a/tests/baselines/reference/typeFromPropertyAssignment25.types b/tests/baselines/reference/typeFromPropertyAssignment25.types
index e5c4a2066e7..13fae2c861f 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment25.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment25.types
@@ -1,12 +1,12 @@
=== tests/cases/conformance/salsa/bug24703.js ===
var Common = {};
->Common : { [x: string]: any; I: typeof I; O: typeof O; }
->{} : { [x: string]: any; I: typeof I; O: typeof O; }
+>Common : typeof Common
+>{} : { [x: string]: any; }
Common.I = class {
>Common.I = class { constructor() { this.i = 1 }} : typeof I
>Common.I : typeof I
->Common : { [x: string]: any; I: typeof I; O: typeof O; }
+>Common : typeof Common
>I : typeof I
>class { constructor() { this.i = 1 }} : typeof I
@@ -22,11 +22,11 @@ Common.I = class {
Common.O = class extends Common.I {
>Common.O = class extends Common.I { constructor() { super() this.o = 2 }} : typeof O
>Common.O : typeof O
->Common : { [x: string]: any; I: typeof I; O: typeof O; }
+>Common : typeof Common
>O : typeof O
>class extends Common.I { constructor() { super() this.o = 2 }} : typeof O
>Common.I : I
->Common : { [x: string]: any; I: typeof I; O: typeof O; }
+>Common : typeof Common
>I : typeof I
constructor() {
@@ -46,14 +46,14 @@ var o = new Common.O()
>o : O
>new Common.O() : O
>Common.O : typeof O
->Common : { [x: string]: any; I: typeof I; O: typeof O; }
+>Common : typeof Common
>O : typeof O
var i = new Common.I()
>i : I
>new Common.I() : I
>Common.I : typeof I
->Common : { [x: string]: any; I: typeof I; O: typeof O; }
+>Common : typeof Common
>I : typeof I
o.i
diff --git a/tests/baselines/reference/typeFromPropertyAssignment26.errors.txt b/tests/baselines/reference/typeFromPropertyAssignment26.errors.txt
new file mode 100644
index 00000000000..0cc52135152
--- /dev/null
+++ b/tests/baselines/reference/typeFromPropertyAssignment26.errors.txt
@@ -0,0 +1,24 @@
+tests/cases/conformance/salsa/bug24730.js(11,14): error TS2339: Property 'doesNotExist' does not exist on type 'C'.
+tests/cases/conformance/salsa/bug24730.js(12,26): error TS2339: Property 'doesntExistEither' does not exist on type 'number'.
+
+
+==== tests/cases/conformance/salsa/bug24730.js (2 errors) ====
+ var UI = {}
+ UI.TreeElement = class {
+ constructor() {
+ this.treeOutline = 12
+ }
+ };
+ UI.context = new UI.TreeElement()
+
+ class C extends UI.TreeElement {
+ onpopulate() {
+ this.doesNotExist
+ ~~~~~~~~~~~~
+!!! error TS2339: Property 'doesNotExist' does not exist on type 'C'.
+ this.treeOutline.doesntExistEither()
+ ~~~~~~~~~~~~~~~~~
+!!! error TS2339: Property 'doesntExistEither' does not exist on type 'number'.
+ }
+ };
+
\ No newline at end of file
diff --git a/tests/baselines/reference/typeFromPropertyAssignment26.symbols b/tests/baselines/reference/typeFromPropertyAssignment26.symbols
new file mode 100644
index 00000000000..f70413c819f
--- /dev/null
+++ b/tests/baselines/reference/typeFromPropertyAssignment26.symbols
@@ -0,0 +1,43 @@
+=== tests/cases/conformance/salsa/bug24730.js ===
+var UI = {}
+>UI : Symbol(UI, Decl(bug24730.js, 0, 3), Decl(bug24730.js, 0, 11))
+
+UI.TreeElement = class {
+>UI.TreeElement : Symbol(UI.TreeElement, Decl(bug24730.js, 0, 11))
+>UI : Symbol(UI, Decl(bug24730.js, 0, 3), Decl(bug24730.js, 0, 11))
+>TreeElement : Symbol(UI.TreeElement, Decl(bug24730.js, 0, 11))
+
+ constructor() {
+ this.treeOutline = 12
+>this.treeOutline : Symbol(TreeElement.treeOutline, Decl(bug24730.js, 2, 19))
+>this : Symbol(TreeElement, Decl(bug24730.js, 1, 16))
+>treeOutline : Symbol(TreeElement.treeOutline, Decl(bug24730.js, 2, 19))
+ }
+};
+UI.context = new UI.TreeElement()
+>UI.context : Symbol(UI.context, Decl(bug24730.js, 5, 2))
+>UI : Symbol(UI, Decl(bug24730.js, 0, 3), Decl(bug24730.js, 0, 11))
+>context : Symbol(UI.context, Decl(bug24730.js, 5, 2))
+>UI.TreeElement : Symbol(UI.TreeElement, Decl(bug24730.js, 0, 11))
+>UI : Symbol(UI, Decl(bug24730.js, 0, 3), Decl(bug24730.js, 0, 11))
+>TreeElement : Symbol(UI.TreeElement, Decl(bug24730.js, 0, 11))
+
+class C extends UI.TreeElement {
+>C : Symbol(C, Decl(bug24730.js, 6, 33))
+>UI.TreeElement : Symbol(UI.TreeElement, Decl(bug24730.js, 0, 11))
+>UI : Symbol(UI, Decl(bug24730.js, 0, 3), Decl(bug24730.js, 0, 11))
+>TreeElement : Symbol(UI.TreeElement, Decl(bug24730.js, 0, 11))
+
+ onpopulate() {
+>onpopulate : Symbol(C.onpopulate, Decl(bug24730.js, 8, 32))
+
+ this.doesNotExist
+>this : Symbol(C, Decl(bug24730.js, 6, 33))
+
+ this.treeOutline.doesntExistEither()
+>this.treeOutline : Symbol(TreeElement.treeOutline, Decl(bug24730.js, 2, 19))
+>this : Symbol(C, Decl(bug24730.js, 6, 33))
+>treeOutline : Symbol(TreeElement.treeOutline, Decl(bug24730.js, 2, 19))
+ }
+};
+
diff --git a/tests/baselines/reference/typeFromPropertyAssignment26.types b/tests/baselines/reference/typeFromPropertyAssignment26.types
new file mode 100644
index 00000000000..d40ca741372
--- /dev/null
+++ b/tests/baselines/reference/typeFromPropertyAssignment26.types
@@ -0,0 +1,55 @@
+=== tests/cases/conformance/salsa/bug24730.js ===
+var UI = {}
+>UI : typeof UI
+>{} : { [x: string]: any; }
+
+UI.TreeElement = class {
+>UI.TreeElement = class { constructor() { this.treeOutline = 12 }} : typeof TreeElement
+>UI.TreeElement : typeof TreeElement
+>UI : typeof UI
+>TreeElement : typeof TreeElement
+>class { constructor() { this.treeOutline = 12 }} : typeof TreeElement
+
+ constructor() {
+ this.treeOutline = 12
+>this.treeOutline = 12 : 12
+>this.treeOutline : number
+>this : this
+>treeOutline : number
+>12 : 12
+ }
+};
+UI.context = new UI.TreeElement()
+>UI.context = new UI.TreeElement() : TreeElement
+>UI.context : TreeElement
+>UI : typeof UI
+>context : TreeElement
+>new UI.TreeElement() : TreeElement
+>UI.TreeElement : typeof TreeElement
+>UI : typeof UI
+>TreeElement : typeof TreeElement
+
+class C extends UI.TreeElement {
+>C : C
+>UI.TreeElement : TreeElement
+>UI : typeof UI
+>TreeElement : typeof TreeElement
+
+ onpopulate() {
+>onpopulate : () => void
+
+ this.doesNotExist
+>this.doesNotExist : any
+>this : this
+>doesNotExist : any
+
+ this.treeOutline.doesntExistEither()
+>this.treeOutline.doesntExistEither() : any
+>this.treeOutline.doesntExistEither : any
+>this.treeOutline : number
+>this : this
+>treeOutline : number
+>doesntExistEither : any
+ }
+};
+
diff --git a/tests/baselines/reference/typeFromPropertyAssignment4.types b/tests/baselines/reference/typeFromPropertyAssignment4.types
index 90b97d91d0c..612a0f696e1 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment4.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment4.types
@@ -1,13 +1,13 @@
=== tests/cases/conformance/salsa/def.js ===
var Outer = {};
->Outer : { [x: string]: any; Inner: typeof Inner; }
->{} : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
+>{} : { [x: string]: any; }
=== tests/cases/conformance/salsa/a.js ===
Outer.Inner = class {
>Outer.Inner = class { constructor() { /** @type {number} */ this.y = 12 }} : typeof Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
>class { constructor() { /** @type {number} */ this.y = 12 }} : typeof Inner
@@ -35,7 +35,7 @@ var inner = new Outer.Inner()
>inner : Inner
>new Outer.Inner() : Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
inner.y
@@ -57,7 +57,7 @@ var z = new Outer.Inner()
>z : Inner
>new Outer.Inner() : Inner
>Outer.Inner : typeof Inner
->Outer : { [x: string]: any; Inner: typeof Inner; }
+>Outer : typeof Outer
>Inner : typeof Inner
z.y
diff --git a/tests/baselines/reference/typeFromPropertyAssignment7.types b/tests/baselines/reference/typeFromPropertyAssignment7.types
index c17abf32163..395dbee2c41 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment7.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment7.types
@@ -1,12 +1,12 @@
=== tests/cases/conformance/salsa/a.js ===
var obj = {};
->obj : { [x: string]: any; method(hunch: any): boolean; }
->{} : { [x: string]: any; method(hunch: any): boolean; }
+>obj : typeof obj
+>{} : { [x: string]: any; }
obj.method = function (hunch) {
>obj.method = function (hunch) { return true;} : (hunch: any) => boolean
>obj.method : (hunch: any) => boolean
->obj : { [x: string]: any; method(hunch: any): boolean; }
+>obj : typeof obj
>method : (hunch: any) => boolean
>function (hunch) { return true;} : (hunch: any) => boolean
>hunch : any
@@ -18,6 +18,6 @@ var b = obj.method();
>b : boolean
>obj.method() : boolean
>obj.method : (hunch: any) => boolean
->obj : { [x: string]: any; method(hunch: any): boolean; }
+>obj : typeof obj
>method : (hunch: any) => boolean
diff --git a/tests/baselines/reference/typeFromPropertyAssignment8.types b/tests/baselines/reference/typeFromPropertyAssignment8.types
index 71ebad0624c..8aa93afb463 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment8.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment8.types
@@ -1,27 +1,27 @@
=== tests/cases/conformance/salsa/a.js ===
var my = my || {};
->my : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->my || {} : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->my : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->{} : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
+>my : typeof my
+>my || {} : typeof my | { [x: string]: any; }
+>my : typeof my
+>{} : { [x: string]: any; }
my.app = my.app || {};
->my.app = my.app || {} : { [x: string]: any; Application: () => void; }
->my.app : { [x: string]: any; Application: () => void; }
->my : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
->my.app || {} : { [x: string]: any; Application: () => void; }
->my.app : { [x: string]: any; Application: () => void; }
->my : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
->{} : { [x: string]: any; Application: () => void; }
+>my.app = my.app || {} : typeof my.app
+>my.app : typeof my.app
+>my : typeof my
+>app : typeof my.app
+>my.app || {} : { [x: string]: any; }
+>my.app : typeof my.app
+>my : typeof my
+>app : typeof my.app
+>{} : { [x: string]: any; }
my.app.Application = (function () {
>my.app.Application = (function () {var Application = function () { //...};return Application;})() : () => void
>my.app.Application : () => void
->my.app : { [x: string]: any; Application: () => void; }
->my : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
+>my.app : typeof my.app
+>my : typeof my
+>app : typeof my.app
>Application : () => void
>(function () {var Application = function () { //...};return Application;})() : () => void
>(function () {var Application = function () { //...};return Application;}) : () => () => void
@@ -40,37 +40,37 @@ return Application;
my.app.Application()
>my.app.Application() : void
>my.app.Application : () => void
->my.app : { [x: string]: any; Application: () => void; }
->my : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
+>my.app : typeof my.app
+>my : typeof my
+>app : typeof my.app
>Application : () => void
=== tests/cases/conformance/salsa/b.js ===
var min = window.min || {};
->min : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
+>min : typeof min
>window.min || {} : any
>window.min : any
>window : Window
>min : any
->{} : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
+>{} : { [x: string]: any; }
min.app = min.app || {};
->min.app = min.app || {} : { [x: string]: any; Application: () => void; }
->min.app : { [x: string]: any; Application: () => void; }
->min : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
->min.app || {} : { [x: string]: any; Application: () => void; }
->min.app : { [x: string]: any; Application: () => void; }
->min : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
->{} : { [x: string]: any; Application: () => void; }
+>min.app = min.app || {} : typeof min.app
+>min.app : typeof min.app
+>min : typeof min
+>app : typeof min.app
+>min.app || {} : { [x: string]: any; }
+>min.app : typeof min.app
+>min : typeof min
+>app : typeof min.app
+>{} : { [x: string]: any; }
min.app.Application = (function () {
>min.app.Application = (function () {var Application = function () { //...};return Application;})() : () => void
>min.app.Application : () => void
->min.app : { [x: string]: any; Application: () => void; }
->min : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
+>min.app : typeof min.app
+>min : typeof min
+>app : typeof min.app
>Application : () => void
>(function () {var Application = function () { //...};return Application;})() : () => void
>(function () {var Application = function () { //...};return Application;}) : () => () => void
@@ -89,8 +89,8 @@ return Application;
min.app.Application()
>min.app.Application() : void
>min.app.Application : () => void
->min.app : { [x: string]: any; Application: () => void; }
->min : { [x: string]: any; app: { [x: string]: any; Application: () => void; }; }
->app : { [x: string]: any; Application: () => void; }
+>min.app : typeof min.app
+>min : typeof min
+>app : typeof min.app
>Application : () => void
diff --git a/tests/baselines/reference/typeFromPropertyAssignment9.symbols b/tests/baselines/reference/typeFromPropertyAssignment9.symbols
index 72dd84e4d64..27188c71b32 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment9.symbols
+++ b/tests/baselines/reference/typeFromPropertyAssignment9.symbols
@@ -40,7 +40,7 @@ my.predicate.query = function () {
var me = this;
>me : Symbol(me, Decl(a.js, 9, 7))
->this : Symbol(__object, Decl(a.js, 7, 30))
+>this : Symbol(my.predicate, Decl(a.js, 6, 15), Decl(a.js, 8, 3), Decl(a.js, 13, 3))
me.property = false;
>me : Symbol(me, Decl(a.js, 9, 7))
diff --git a/tests/baselines/reference/typeFromPropertyAssignment9.types b/tests/baselines/reference/typeFromPropertyAssignment9.types
index 61d4cb06b71..e9212f95067 100644
--- a/tests/baselines/reference/typeFromPropertyAssignment9.types
+++ b/tests/baselines/reference/typeFromPropertyAssignment9.types
@@ -1,15 +1,15 @@
=== tests/cases/conformance/salsa/a.js ===
var my = my || {};
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->my || {} : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->{} : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
+>my : typeof my
+>my || {} : typeof my | { [x: string]: any; }
+>my : typeof my
+>{} : { [x: string]: any; }
/** @param {number} n */
my.method = function(n) {
>my.method = function(n) { return n + 1;} : (n: number) => number
>my.method : (n: number) => number
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
+>my : typeof my
>method : (n: number) => number
>function(n) { return n + 1;} : (n: number) => number
>n : number
@@ -22,45 +22,45 @@ my.method = function(n) {
my.number = 1;
>my.number = 1 : 1
>my.number : number
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
+>my : typeof my
>number : number
>1 : 1
my.object = {};
>my.object = {} : { [x: string]: any; }
>my.object : { [x: string]: any; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
+>my : typeof my
>object : { [x: string]: any; }
>{} : { [x: string]: any; }
my.predicate = my.predicate || {};
->my.predicate = my.predicate || {} : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my.predicate || {} : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->{} : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate = my.predicate || {} : typeof my.predicate
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
+>my.predicate || {} : { [x: string]: any; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
+>{} : { [x: string]: any; }
my.predicate.query = function () {
>my.predicate.query = function () { var me = this; me.property = false;} : { (): void; another(): number; result: string; }
>my.predicate.query : { (): void; another(): number; result: string; }
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
>query : { (): void; another(): number; result: string; }
>function () { var me = this; me.property = false;} : { (): void; another(): number; result: string; }
var me = this;
->me : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->this : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>me : typeof my.predicate
+>this : typeof my.predicate
me.property = false;
>me.property = false : false
>me.property : any
->me : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>me : typeof my.predicate
>property : any
>false : false
@@ -69,18 +69,18 @@ var q = new my.predicate.query();
>q : any
>new my.predicate.query() : any
>my.predicate.query : { (): void; another(): number; result: string; }
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
>query : { (): void; another(): number; result: string; }
my.predicate.query.another = function () {
>my.predicate.query.another = function () { return 1;} : () => number
>my.predicate.query.another : () => number
>my.predicate.query : { (): void; another(): number; result: string; }
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
>query : { (): void; another(): number; result: string; }
>another : () => number
>function () { return 1;} : () => number
@@ -92,9 +92,9 @@ my.predicate.query.result = 'none'
>my.predicate.query.result = 'none' : "none"
>my.predicate.query.result : string
>my.predicate.query : { (): void; another(): number; result: string; }
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
>query : { (): void; another(): number; result: string; }
>result : string
>'none' : "none"
@@ -105,15 +105,15 @@ my.predicate.query.result = 'none'
my.predicate.sort = my.predicate.sort || function (first, second) {
>my.predicate.sort = my.predicate.sort || function (first, second) { return first > second ? first : second;} : (first: number, second: number) => number
>my.predicate.sort : (first: number, second: number) => number
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
>sort : (first: number, second: number) => number
>my.predicate.sort || function (first, second) { return first > second ? first : second;} : (first: number, second: number) => number
>my.predicate.sort : (first: number, second: number) => number
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
>sort : (first: number, second: number) => number
>function (first, second) { return first > second ? first : second;} : (first: number, second: number) => number
>first : number
@@ -130,9 +130,9 @@ my.predicate.sort = my.predicate.sort || function (first, second) {
my.predicate.type = class {
>my.predicate.type = class { m() { return 101; }} : typeof type
>my.predicate.type : typeof type
->my.predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
->my : { [x: string]: any; method(n: number): number; number: number; object: { [x: string]: any; }; predicate: { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }; }
->predicate : { [x: string]: any; query: { (): void; another(): number; result: string; }; sort(first: number, second: number): number; type: typeof type; }
+>my.predicate : typeof my.predicate
+>my : typeof my
+>predicate : typeof my.predicate
>type : typeof type
>class { m() { return 101; }} : typeof type
@@ -144,17 +144,17 @@ my.predicate.type = class {
// global-ish prefixes
var min = window.min || {};
->min : { [x: string]: any; nest: { (): void; other: typeof other; }; property: { [x: string]: any; }; }
+>min : typeof min
>window.min || {} : any
>window.min : any
>window : Window
>min : any
->{} : { [x: string]: any; nest: { (): void; other: typeof other; }; property: { [x: string]: any; }; }
+>{} : { [x: string]: any; }
min.nest = this.min.nest || function () { };
>min.nest = this.min.nest || function () { } : { (): void; other: typeof other; }
>min.nest : { (): void; other: typeof other; }
->min : { [x: string]: any; nest: { (): void; other: typeof other; }; property: { [x: string]: any; }; }
+>min : typeof min
>nest : { (): void; other: typeof other; }
>this.min.nest || function () { } : { (): void; other: typeof other; }
>this.min.nest : any
@@ -168,7 +168,7 @@ min.nest.other = self.min.nest.other || class { };
>min.nest.other = self.min.nest.other || class { } : typeof other
>min.nest.other : typeof other
>min.nest : { (): void; other: typeof other; }
->min : { [x: string]: any; nest: { (): void; other: typeof other; }; property: { [x: string]: any; }; }
+>min : typeof min
>nest : { (): void; other: typeof other; }
>other : typeof other
>self.min.nest.other || class { } : typeof other
@@ -184,7 +184,7 @@ min.nest.other = self.min.nest.other || class { };
min.property = global.min.property || {};
>min.property = global.min.property || {} : { [x: string]: any; }
>min.property : { [x: string]: any; }
->min : { [x: string]: any; nest: { (): void; other: typeof other; }; property: { [x: string]: any; }; }
+>min : typeof min
>property : { [x: string]: any; }
>global.min.property || {} : { [x: string]: any; }
>global.min.property : any
diff --git a/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder.types b/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder.types
index 191f45e3cb1..947028db385 100644
--- a/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder.types
+++ b/tests/baselines/reference/typeFromPropertyAssignmentOutOfOrder.types
@@ -2,7 +2,7 @@
First.Item = class I {}
>First.Item = class I {} : typeof I
>First.Item : typeof I
->First : { [x: string]: any; Item: typeof I; }
+>First : typeof First
>Item : typeof I
>class I {} : typeof I
>I : typeof I
@@ -10,21 +10,21 @@ First.Item = class I {}
Common.Object = class extends First.Item {}
>Common.Object = class extends First.Item {} : typeof Object
>Common.Object : typeof Object
->Common : { [x: string]: any; Object: typeof Object; }
+>Common : typeof Common
>Object : typeof Object
>class extends First.Item {} : typeof Object
>First.Item : I
->First : { [x: string]: any; Item: typeof I; }
+>First : typeof First
>Item : typeof I
Workspace.Object = class extends Common.Object {}
>Workspace.Object = class extends Common.Object {} : typeof Object
>Workspace.Object : typeof Object
->Workspace : { [x: string]: any; Object: typeof Object; }
+>Workspace : typeof Workspace
>Object : typeof Object
>class extends Common.Object {} : typeof Object
>Common.Object : Object
->Common : { [x: string]: any; Object: typeof Object; }
+>Common : typeof Common
>Object : typeof Object
/** @type {Workspace.Object} */
@@ -33,14 +33,14 @@ var am;
=== tests/cases/conformance/salsa/roots.js ===
var First = {};
->First : { [x: string]: any; Item: typeof I; }
->{} : { [x: string]: any; Item: typeof I; }
+>First : typeof First
+>{} : { [x: string]: any; }
var Common = {};
->Common : { [x: string]: any; Object: typeof Object; }
->{} : { [x: string]: any; Object: typeof Object; }
+>Common : typeof Common
+>{} : { [x: string]: any; }
var Workspace = {};
->Workspace : { [x: string]: any; Object: typeof Object; }
->{} : { [x: string]: any; Object: typeof Object; }
+>Workspace : typeof Workspace
+>{} : { [x: string]: any; }
diff --git a/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types b/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types
index 53296325274..cd7823d00b2 100644
--- a/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types
+++ b/tests/baselines/reference/typeFromPropertyAssignmentWithExport.types
@@ -2,13 +2,13 @@
// this is a javascript file...
export const Adapter = {};
->Adapter : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod(): void; }
->{} : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod(): void; }
+>Adapter : typeof Adapter
+>{} : { [x: string]: any; }
Adapter.prop = {};
>Adapter.prop = {} : { [x: string]: any; }
>Adapter.prop : { [x: string]: any; }
->Adapter : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod(): void; }
+>Adapter : typeof Adapter
>prop : { [x: string]: any; }
>{} : { [x: string]: any; }
@@ -16,7 +16,7 @@ Adapter.prop = {};
Adapter.asyncMethod = function() {}
>Adapter.asyncMethod = function() {} : () => void
>Adapter.asyncMethod : () => void
->Adapter : { [x: string]: any; prop: { [x: string]: any; }; asyncMethod(): void; }
+>Adapter : typeof Adapter
>asyncMethod : () => void
>function() {} : () => void
diff --git a/tests/baselines/reference/typedefCrossModule3.types b/tests/baselines/reference/typedefCrossModule3.types
index 9d3767dcbba..b9722719895 100644
--- a/tests/baselines/reference/typedefCrossModule3.types
+++ b/tests/baselines/reference/typedefCrossModule3.types
@@ -1,21 +1,21 @@
=== tests/cases/conformance/jsdoc/mod2.js ===
/** @typedef {number} Foo */
const ns = {};
->ns : { [x: string]: any; Foo: typeof Foo; }
->{} : { [x: string]: any; Foo: typeof Foo; }
+>ns : typeof ns
+>{} : { [x: string]: any; }
ns.Foo = class {}
>ns.Foo = class {} : typeof Foo
>ns.Foo : typeof Foo
->ns : { [x: string]: any; Foo: typeof Foo; }
+>ns : typeof ns
>Foo : typeof Foo
>class {} : typeof Foo
module.exports = ns;
->module.exports = ns : { [x: string]: any; Foo: typeof Foo; }
+>module.exports = ns : typeof ns
>module.exports : any
>module : any
>exports : any
->ns : { [x: string]: any; Foo: typeof Foo; }
+>ns : typeof ns
diff --git a/tests/baselines/reference/user/TypeScript-Node-Starter.log b/tests/baselines/reference/user/TypeScript-Node-Starter.log
index 9a0b3b00726..affbd99af1e 100644
--- a/tests/baselines/reference/user/TypeScript-Node-Starter.log
+++ b/tests/baselines/reference/user/TypeScript-Node-Starter.log
@@ -1,5 +1,7 @@
Exit Code: 1
Standard output:
+node_modules/@types/jquery/index.d.ts(6366,66): error TS2344: Type '"timeout" | "onreadystatechange" | "responseType" | "withCredentials" | "msCaching"' does not satisfy the constraint '"abort" | "open" | "timeout" | "send" | "DONE" | "response" | "getAllResponseHeaders" | "getRespo...'.
+ Type '"msCaching"' is not assignable to type '"abort" | "open" | "timeout" | "send" | "DONE" | "response" | "getAllResponseHeaders" | "getRespo...'.
node_modules/@types/passport-facebook/index.d.ts(50,31): error TS2689: Cannot extend an interface 'passport.Strategy'. Did you mean 'implements'?
diff --git a/tests/baselines/reference/user/acorn.log b/tests/baselines/reference/user/acorn.log
index c5b8d47654d..e17b6b539f7 100644
--- a/tests/baselines/reference/user/acorn.log
+++ b/tests/baselines/reference/user/acorn.log
@@ -8,6 +8,7 @@ node_modules/acorn/bin/_acorn.js(63,23): error TS2345: Argument of type 'string
node_modules/acorn/bin/run_test262.js(3,21): error TS2307: Cannot find module 'test262-parser-runner'.
node_modules/acorn/dist/acorn.es.js(36,1): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/acorn/dist/acorn.es.js(36,32): error TS2322: Type 'null' is not assignable to type 'string'.
+node_modules/acorn/dist/acorn.es.js(410,56): error TS2339: Property 'push' does not exist on type '(token: any) => any'.
node_modules/acorn/dist/acorn.es.js(543,43): error TS2339: Property 'startNode' does not exist on type 'Parser'.
node_modules/acorn/dist/acorn.es.js(544,8): error TS2339: Property 'nextToken' does not exist on type 'Parser'.
node_modules/acorn/dist/acorn.es.js(545,15): error TS2339: Property 'parseTopLevel' does not exist on type 'Parser'.
@@ -56,6 +57,7 @@ node_modules/acorn/dist/acorn.js(3,34): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn.js(3,47): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/acorn.js(42,1): error TS2322: Type 'null' is not assignable to type 'string'.
node_modules/acorn/dist/acorn.js(42,32): error TS2322: Type 'null' is not assignable to type 'string'.
+node_modules/acorn/dist/acorn.js(416,56): error TS2339: Property 'push' does not exist on type '(token: any) => any'.
node_modules/acorn/dist/acorn.js(549,43): error TS2339: Property 'startNode' does not exist on type 'Parser'.
node_modules/acorn/dist/acorn.js(550,8): error TS2339: Property 'nextToken' does not exist on type 'Parser'.
node_modules/acorn/dist/acorn.js(551,15): error TS2339: Property 'parseTopLevel' does not exist on type 'Parser'.
@@ -145,11 +147,11 @@ node_modules/acorn/dist/acorn_loose.js(261,31): error TS2322: Type '{ start: any
node_modules/acorn/dist/acorn_loose.js(264,21): error TS2339: Property 'loc' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.js(266,55): error TS2339: Property 'start' does not exist on type 'true'.
node_modules/acorn/dist/acorn_loose.js(267,55): error TS2339: Property 'end' does not exist on type 'true'.
-node_modules/acorn/dist/walk.es.js(162,41): error TS2339: Property 'node' does not exist on type 'never'.
+node_modules/acorn/dist/walk.es.js(155,41): error TS2339: Property 'node' does not exist on type 'never'.
node_modules/acorn/dist/walk.js(3,9): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/walk.js(3,34): error TS2304: Cannot find name 'define'.
node_modules/acorn/dist/walk.js(3,47): error TS2304: Cannot find name 'define'.
-node_modules/acorn/dist/walk.js(168,41): error TS2339: Property 'node' does not exist on type 'never'.
+node_modules/acorn/dist/walk.js(161,41): error TS2339: Property 'node' does not exist on type 'never'.
diff --git a/tests/baselines/reference/user/adonis-framework.log b/tests/baselines/reference/user/adonis-framework.log
index 0eb865c4208..5381d3e452e 100644
--- a/tests/baselines/reference/user/adonis-framework.log
+++ b/tests/baselines/reference/user/adonis-framework.log
@@ -36,7 +36,7 @@ node_modules/adonis-framework/src/Env/index.js(56,15): error TS2304: Cannot find
node_modules/adonis-framework/src/Env/index.js(80,15): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Event/index.js(13,21): error TS2307: Cannot find module 'adonis-fold'.
node_modules/adonis-framework/src/Event/index.js(128,5): error TS2322: Type '() => {}[]' is not assignable to type 'any[]'.
- Property 'flatMap' is missing in type '() => {}[]'.
+ Property 'push' is missing in type '() => {}[]'.
node_modules/adonis-framework/src/Event/index.js(153,25): error TS2339: Property 'wildcard' does not exist on type 'EventEmitter2'.
node_modules/adonis-framework/src/Event/index.js(188,17): error TS2304: Cannot find name 'Spread'.
node_modules/adonis-framework/src/Event/index.js(207,24): error TS2304: Cannot find name 'Sring'.
@@ -151,7 +151,6 @@ node_modules/adonis-framework/src/Session/SessionManager.js(71,76): error TS2339
node_modules/adonis-framework/src/Session/Store.js(28,13): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/Store.js(80,13): error TS2304: Cannot find name 'Mixed'.
node_modules/adonis-framework/src/Session/index.js(10,14): error TS2304: Cannot find name 'SessionDriver'.
-node_modules/adonis-framework/src/Session/index.js(11,2): error TS1003: Identifier expected.
node_modules/adonis-framework/src/Session/index.js(11,11): error TS2304: Cannot find name 'Class'.
node_modules/adonis-framework/src/Session/index.js(46,15): error TS2304: Cannot find name 'SessionDriver'.
node_modules/adonis-framework/src/Session/index.js(48,14): error TS1056: Accessors are only available when targeting ECMAScript 5 and higher.
diff --git a/tests/baselines/reference/user/antd.log b/tests/baselines/reference/user/antd.log
deleted file mode 100644
index c40583096ed..00000000000
--- a/tests/baselines/reference/user/antd.log
+++ /dev/null
@@ -1,9 +0,0 @@
-Exit Code: 1
-Standard output:
-node_modules/antd/lib/_util/type.d.ts(8,63): error TS2344: Type 'keyof T' does not satisfy the constraint 'string'.
- Type 'string | number | symbol' is not assignable to type 'string'.
- Type 'number' is not assignable to type 'string'.
-
-
-
-Standard error:
diff --git a/tests/baselines/reference/user/async.log b/tests/baselines/reference/user/async.log
index 5c1efc71f02..689953c4bf5 100644
--- a/tests/baselines/reference/user/async.log
+++ b/tests/baselines/reference/user/async.log
@@ -131,7 +131,7 @@ node_modules/async/dist/async.js(2450,5): error TS2322: Type '{ [x: string]: any
node_modules/async/dist/async.js(2521,9): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/async/dist/async.js(2564,31): error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[] | undefined'.
Type 'IArguments' is not assignable to type 'any[]'.
- Property 'flatMap' is missing in type 'IArguments'.
+ Property 'push' is missing in type 'IArguments'.
node_modules/async/dist/async.js(2663,16): error TS2722: Cannot invoke an object which is possibly 'undefined'.
node_modules/async/dist/async.js(2682,31): error TS1005: ']' expected.
node_modules/async/dist/async.js(2707,31): error TS1005: ']' expected.
@@ -174,7 +174,7 @@ node_modules/async/dist/async.js(4163,26): error TS2339: Property 'process' does
node_modules/async/dist/async.js(4167,14): error TS2339: Property 'unshift' does not exist on type 'NodeModule'.
node_modules/async/dist/async.js(4381,5): error TS2322: Type 'any[] | {}' is not assignable to type 'any[]'.
Type '{}' is not assignable to type 'any[]'.
- Property 'flatMap' is missing in type '{}'.
+ Property 'length' is missing in type '{}'.
node_modules/async/dist/async.js(4617,17): error TS2532: Object is possibly 'undefined'.
node_modules/async/dist/async.js(4617,17): error TS2684: The 'this' context of type 'Function | undefined' is not assignable to method's 'this' of type 'Function'.
Type 'undefined' is not assignable to type 'Function'.
diff --git a/tests/baselines/reference/user/bcryptjs.log b/tests/baselines/reference/user/bcryptjs.log
index 306680eacd5..96ba9e99252 100644
--- a/tests/baselines/reference/user/bcryptjs.log
+++ b/tests/baselines/reference/user/bcryptjs.log
@@ -3,9 +3,9 @@ Standard output:
node_modules/bcryptjs/scripts/build.js(1,26): error TS2307: Cannot find module 'metascript'.
node_modules/bcryptjs/scripts/build.js(32,1): error TS2322: Type '{ VERSION: any; }' is not assignable to type '{ [x: string]: any; VERSION: any; ISAAC: boolean; }'.
Property 'ISAAC' is missing in type '{ VERSION: any; }'.
-node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'Int32Array | number[]' is not assignable to parameter of type 'number[]'.
+node_modules/bcryptjs/src/bcrypt/impl.js(516,22): error TS2345: Argument of type 'number[] | Int32Array' is not assignable to parameter of type 'number[]'.
Type 'Int32Array' is not assignable to type 'number[]'.
- Property 'flatMap' is missing in type 'Int32Array'.
+ Property 'push' is missing in type 'Int32Array'.
node_modules/bcryptjs/src/bcrypt/impl.js(546,26): error TS2345: Argument of type 'null' is not assignable to parameter of type 'Error'.
node_modules/bcryptjs/src/bcrypt/impl.js(658,23): error TS2345: Argument of type 'number[] | undefined' is not assignable to parameter of type 'number[]'.
Type 'undefined' is not assignable to type 'number[]'.
@@ -21,7 +21,7 @@ node_modules/bcryptjs/src/bcrypt/prng/accum.js(66,22): error TS2339: Property 'd
node_modules/bcryptjs/src/bcrypt/prng/accum.js(67,22): error TS2339: Property 'detachEvent' does not exist on type 'Document'.
node_modules/bcryptjs/src/bcrypt/util.js(20,5): error TS2304: Cannot find name 'utfx'.
node_modules/bcryptjs/src/bcrypt.js(25,13): error TS2322: Type 'Buffer' is not assignable to type 'number[]'.
- Property 'flatMap' is missing in type 'Buffer'.
+ Property 'push' is missing in type 'Buffer'.
node_modules/bcryptjs/src/bcrypt.js(94,14): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
node_modules/bcryptjs/src/bcrypt.js(150,5): error TS2322: Type 'string | undefined' is not assignable to type 'string'.
Type 'undefined' is not assignable to type 'string'.
diff --git a/tests/baselines/reference/user/chrome-devtools-frontend.log b/tests/baselines/reference/user/chrome-devtools-frontend.log
index af2c17426e3..c4b534bb3ea 100644
--- a/tests/baselines/reference/user/chrome-devtools-frontend.log
+++ b/tests/baselines/reference/user/chrome-devtools-frontend.log
@@ -1,17 +1,16 @@
Exit Code: 1
Standard output:
-../../../../built/local/lib.dom.d.ts(2257,11): error TS2300: Duplicate identifier 'CSSRule'.
-../../../../built/local/lib.dom.d.ts(2276,13): error TS2300: Duplicate identifier 'CSSRule'.
-../../../../built/local/lib.dom.d.ts(2966,11): error TS2300: Duplicate identifier 'Comment'.
-../../../../built/local/lib.dom.d.ts(2970,13): error TS2300: Duplicate identifier 'Comment'.
-../../../../built/local/lib.dom.d.ts(4611,11): error TS2300: Duplicate identifier 'Event'.
-../../../../built/local/lib.dom.d.ts(4636,13): error TS2300: Duplicate identifier 'Event'.
-../../../../built/local/lib.dom.d.ts(10095,11): error TS2300: Duplicate identifier 'Position'.
-../../../../built/local/lib.dom.d.ts(10100,13): error TS2300: Duplicate identifier 'Position'.
-../../../../built/local/lib.dom.d.ts(10588,11): error TS2300: Duplicate identifier 'Request'.
-../../../../built/local/lib.dom.d.ts(10606,13): error TS2300: Duplicate identifier 'Request'.
-../../../../built/local/lib.dom.d.ts(14923,11): error TS2300: Duplicate identifier 'Window'.
-../../../../built/local/lib.dom.d.ts(15121,13): error TS2300: Duplicate identifier 'Window'.
+../../../../built/local/lib.dom.d.ts(2662,11): error TS2300: Duplicate identifier 'CSSRule'.
+../../../../built/local/lib.dom.d.ts(2681,13): error TS2300: Duplicate identifier 'CSSRule'.
+../../../../built/local/lib.dom.d.ts(3371,11): error TS2300: Duplicate identifier 'Comment'.
+../../../../built/local/lib.dom.d.ts(3375,13): error TS2300: Duplicate identifier 'Comment'.
+../../../../built/local/lib.dom.d.ts(5186,11): error TS2300: Duplicate identifier 'Event'.
+../../../../built/local/lib.dom.d.ts(5211,13): error TS2300: Duplicate identifier 'Event'.
+../../../../built/local/lib.dom.d.ts(11011,11): error TS2300: Duplicate identifier 'Position'.
+../../../../built/local/lib.dom.d.ts(11700,11): error TS2300: Duplicate identifier 'Request'.
+../../../../built/local/lib.dom.d.ts(11780,13): error TS2300: Duplicate identifier 'Request'.
+../../../../built/local/lib.dom.d.ts(16002,11): error TS2300: Duplicate identifier 'Window'.
+../../../../built/local/lib.dom.d.ts(16199,13): error TS2300: Duplicate identifier 'Window'.
../../../../built/local/lib.es5.d.ts(1346,11): error TS2300: Duplicate identifier 'ArrayLike'.
../../../../built/local/lib.es5.d.ts(1382,6): error TS2300: Duplicate identifier 'Record'.
../../../../node_modules/@types/node/index.d.ts(150,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'module' must be of type '{ [x: string]: any; }', but here has type 'NodeModule'.
@@ -32,14 +31,12 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(280,5): error TS2322:
node_modules/chrome-devtools-frontend/front_end/Runtime.js(283,7): error TS2554: Expected 2-3 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(398,24): error TS1138: Parameter declaration expected.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(398,24): error TS8024: JSDoc '@param' tag has name 'function', but there is no parameter with that name.
-node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,9): error TS2322: Type 'Function' is not assignable to type 'new () => any'.
- Type 'Function' provides no match for the signature 'new (): any'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(527,49): error TS2352: Type 'Window' cannot be converted to type 'Function'.
Property 'apply' is missing in type 'Window'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(539,20): error TS2351: Cannot use 'new' with an expression whose type lacks a call or construct signature.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(693,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'.
- Type 'boolean' is not assignable to type 'undefined'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(693,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'.
+ Type 'boolean' is not assignable to type 'undefined'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(705,5): error TS2322: Type 'Promise' is not assignable to type 'Promise'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(715,7): error TS2322: Type 'Promise' is not assignable to type 'Promise'.
node_modules/chrome-devtools-frontend/front_end/Runtime.js(721,5): error TS2322: Type 'Promise' is not assignable to type 'Promise'.
@@ -50,7 +47,6 @@ node_modules/chrome-devtools-frontend/front_end/Runtime.js(1088,15): error TS235
node_modules/chrome-devtools-frontend/front_end/Tests.js(107,5): error TS2322: Type 'Timer' is not assignable to type 'number'.
node_modules/chrome-devtools-frontend/front_end/Tests.js(208,5): error TS2554: Expected 4 arguments, but got 3.
node_modules/chrome-devtools-frontend/front_end/Tests.js(221,7): error TS2554: Expected 4 arguments, but got 3.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(378,10): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
node_modules/chrome-devtools-frontend/front_end/Tests.js(397,5): error TS2554: Expected 4 arguments, but got 3.
node_modules/chrome-devtools-frontend/front_end/Tests.js(416,5): error TS2554: Expected 4 arguments, but got 3.
node_modules/chrome-devtools-frontend/front_end/Tests.js(440,5): error TS2554: Expected 4 arguments, but got 3.
@@ -60,14 +56,10 @@ node_modules/chrome-devtools-frontend/front_end/Tests.js(590,27): error TS2554:
node_modules/chrome-devtools-frontend/front_end/Tests.js(687,7): error TS2554: Expected 3 arguments, but got 2.
node_modules/chrome-devtools-frontend/front_end/Tests.js(711,7): error TS2554: Expected 3 arguments, but got 2.
node_modules/chrome-devtools-frontend/front_end/Tests.js(735,5): error TS2554: Expected 4 arguments, but got 3.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(769,28): error TS2339: Property 'networkPresets' does not exist on type 'typeof MobileThrottling'.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(775,28): error TS2339: Property 'networkPresets' does not exist on type 'typeof MobileThrottling'.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(781,28): error TS2339: Property 'networkPresets' does not exist on type 'typeof MobileThrottling'.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(814,31): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
node_modules/chrome-devtools-frontend/front_end/Tests.js(816,7): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/Tests.js(847,9): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/Tests.js(848,9): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(886,29): error TS2339: Property 'getPreferences' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/Tests.js(886,29): error TS2339: Property 'getPreferences' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/Tests.js(890,17): error TS2339: Property '_instanceForTest' does not exist on type 'typeof Main'.
node_modules/chrome-devtools-frontend/front_end/Tests.js(893,7): error TS2554: Expected 3 arguments, but got 2.
node_modules/chrome-devtools-frontend/front_end/Tests.js(894,7): error TS2554: Expected 3 arguments, but got 2.
@@ -96,19 +88,15 @@ node_modules/chrome-devtools-frontend/front_end/Tests.js(977,11): error TS2554:
node_modules/chrome-devtools-frontend/front_end/Tests.js(978,11): error TS2554: Expected 3 arguments, but got 2.
node_modules/chrome-devtools-frontend/front_end/Tests.js(986,5): error TS2554: Expected 3 arguments, but got 2.
node_modules/chrome-devtools-frontend/front_end/Tests.js(988,5): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(1033,25): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/Tests.js(1040,23): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/Tests.js(1084,20): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
node_modules/chrome-devtools-frontend/front_end/Tests.js(1139,33): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/Tests.js(1142,31): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/Tests.js(1186,5): error TS2554: Expected 4 arguments, but got 3.
node_modules/chrome-devtools-frontend/front_end/Tests.js(1199,9): error TS2554: Expected 4 arguments, but got 3.
-node_modules/chrome-devtools-frontend/front_end/Tests.js(1199,28): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
node_modules/chrome-devtools-frontend/front_end/Tests.js(1229,10): error TS2339: Property 'uiTests' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/Tests.js(1229,41): error TS2339: Property 'domAutomationController' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(9,11): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(11,46): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(45,27): error TS2694: Namespace 'DOMNode' has no exported member 'Attribute'.
+node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(45,27): error TS2694: Namespace 'SDK.DOMNode' has no exported member 'Attribute'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(64,18): error TS2339: Property 'setTextContentTruncatedIfNeeded' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(77,26): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(79,26): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -121,7 +109,7 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(180,15): error TS2339: Property 'keyCode' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(180,70): error TS2339: Property 'keyIdentifier' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(182,13): error TS2339: Property 'consume' does not exist on type 'Event'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(209,39): error TS2694: Namespace 'SuggestBox' has no exported member 'Suggestions'.
+node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(209,39): error TS2694: Namespace 'UI.SuggestBox' has no exported member 'Suggestions'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAAttributesView.js(213,36): error TS2339: Property '_isEditingName' does not exist on type 'ARIAAttributePrompt'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAConfig.js(5,28): error TS2339: Property '_config' does not exist on type 'typeof ARIAMetadata'.
node_modules/chrome-devtools-frontend/front_end/accessibility/ARIAMetadata.js(56,35): error TS2339: Property '_instance' does not exist on type 'typeof ARIAMetadata'.
@@ -187,7 +175,6 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeV
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(88,45): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(90,55): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(118,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(124,32): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(134,20): error TS2339: Property '_originalTextContent' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(142,18): error TS2339: Property 'setTextContentTruncatedIfNeeded' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(144,18): error TS2339: Property 'title' does not exist on type 'Element'.
@@ -196,7 +183,6 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeV
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(167,33): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(168,19): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(179,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(182,32): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(201,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(207,76): error TS2345: Argument of type '{ deferredNode: DeferredDOMNode; }' is not assignable to parameter of type '{ deferredNode: DeferredDOMNode; idref: string; }'.
Property 'idref' is missing in type '{ deferredNode: DeferredDOMNode; }'.
@@ -205,10 +191,6 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeV
Property 'idref' is missing in type '{ deferredNode: DeferredDOMNode; }'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(222,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(256,28): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(258,12): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(258,55): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(259,12): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(259,58): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(267,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(288,26): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(292,26): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -220,10 +202,7 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeV
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(355,77): error TS2345: Argument of type '{ idref: any; }' is not assignable to parameter of type '{ deferredNode: DeferredDOMNode; idref: string; }'.
Property 'deferredNode' is missing in type '{ idref: any; }'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(361,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(368,33): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(369,33): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(382,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(386,38): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(395,37): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(396,23): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(396,31): error TS2554: Expected 2 arguments, but got 1.
@@ -236,78 +215,83 @@ node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeV
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(431,26): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(435,28): error TS2339: Property 'createTextChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(438,28): error TS2339: Property 'createTextChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(445,20): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(445,62): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(461,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(481,20): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(492,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(521,84): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(522,20): error TS2339: Property 'createTextChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(535,24): error TS2694: Namespace 'Protocol' has no exported member 'Accessibility'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(619,26): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilityNodeView.js(626,33): error TS2339: Property 'Accessibility' does not exist on type 'typeof Protocol'.
+node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(15,37): error TS2345: Argument of type 'AXBreadcrumbsPane' is not assignable to parameter of type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+ Property '_axSidebarView' does not exist on type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(17,37): error TS2345: Argument of type 'ARIAAttributesPane' is not assignable to parameter of type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+ Property '_noPropertiesInfo' does not exist on type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(19,37): error TS2345: Argument of type 'AXNodeSubPane' is not assignable to parameter of type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+ Property '_noNodeInfo' does not exist on type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(59,39): error TS2345: Argument of type 'ARIAAttributesPane' is not assignable to parameter of type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(61,41): error TS2345: Argument of type 'ARIAAttributesPane' is not assignable to parameter of type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
+ Property '_noPropertiesInfo' does not exist on type '{ [x: string]: any; viewId(): string; title(): string; isCloseable(): boolean; isTransient(): boo...'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(129,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(141,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/accessibility/AccessibilitySidebarView.js(195,29): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/accessibility_test_runner/AccessibilityPaneTestRunner.js(11,15): error TS2339: Property 'runtime' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/accessibility_test_runner/AccessibilityPaneTestRunner.js(17,12): error TS2339: Property 'runtime' does not exist on type 'Window'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(7,11): error TS2339: Property 'AnimationGroupPreviewUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(7,11): error TS2339: Property 'AnimationGroupPreviewUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(14,18): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(15,39): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(17,47): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(18,30): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(70,37): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(8,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationGroupPreviewUI.js(70,37): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(8,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(15,26): error TS2339: Property 'animationAgent' does not exist on type 'Target'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(16,12): error TS2339: Property 'registerAnimationDispatcher' does not exist on type 'Target'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(16,54): error TS2339: Property 'AnimationDispatcher' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(28,47): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(35,45): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(16,54): error TS2339: Property 'AnimationDispatcher' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(28,47): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(35,45): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(49,29): error TS2339: Property 'remove' does not exist on type 'string[]'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(54,24): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(61,31): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(61,31): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(65,31): error TS2339: Property 'remove' does not exist on type 'string[]'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(104,45): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(123,26): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(168,33): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(171,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(180,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(104,45): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(123,26): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(168,33): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(171,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(180,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(183,24): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(188,34): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(188,34): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(189,46): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(194,24): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(198,26): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(198,26): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(202,25): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(290,51): error TS2694: Namespace 'Animation' has no exported member 'Type'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(293,59): error TS2694: Namespace 'Animation' has no exported member 'Type'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(328,35): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(330,40): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(358,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(367,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(290,51): error TS2694: Namespace 'Animation.AnimationModel.Animation' has no exported member 'Type'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(293,59): error TS2694: Namespace 'Animation.AnimationModel.Animation' has no exported member 'Type'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(328,35): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(330,40): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(358,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(367,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(370,24): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(376,43): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(474,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(376,43): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(474,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(476,24): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(481,28): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(481,28): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(486,32): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(490,28): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(512,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(490,28): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(512,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(514,24): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(553,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(553,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(583,43): error TS2339: Property 'remove' does not exist on type 'Map'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(665,37): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(665,37): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(691,24): error TS2304: Cannot find name 'Image'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(708,11): error TS2339: Property 'AnimationDispatcher' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(708,11): error TS2339: Property 'AnimationDispatcher' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(731,24): error TS2694: Namespace 'Protocol' has no exported member 'Animation'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(741,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(747,67): error TS2694: Namespace 'ScreenshotCapture' has no exported member 'Request'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(751,53): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(741,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(747,67): error TS2694: Namespace 'Animation.AnimationModel.ScreenshotCapture' has no exported member 'Request'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(751,53): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(778,24): error TS2694: Namespace 'Protocol' has no exported member 'Page'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(782,60): error TS2694: Namespace 'ScreenshotCapture' has no exported member 'Request'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(810,65): error TS1003: Identifier expected.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(811,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(782,60): error TS2694: Namespace 'Animation.AnimationModel.ScreenshotCapture' has no exported member 'Request'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(811,11): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationModel.js(811,44): error TS2300: Duplicate identifier 'Request'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(7,11): error TS2339: Property 'AnimationScreenshotPopover' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(7,11): error TS2339: Property 'AnimationScreenshotPopover' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(9,23): error TS2304: Cannot find name 'Image'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(18,39): error TS2345: Argument of type 'new (width?: number, height?: number) => HTMLImageElement' is not assignable to parameter of type 'Node'.
Property 'baseURI' is missing in type 'new (width?: number, height?: number) => HTMLImageElement'.
@@ -319,19 +303,19 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPop
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(42,39): error TS2339: Property 'window' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(53,50): error TS2339: Property 'style' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationScreenshotPopover.js(55,52): error TS2339: Property 'style' does not exist on type 'new (width?: number, height?: number) => HTMLImageElement'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(8,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(8,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(14,38): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(19,53): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(20,44): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(21,32): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(26,32): error TS2694: Namespace 'Protocol' has no exported member 'DOM'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(36,47): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(44,67): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(52,67): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(80,19): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(81,47): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(89,19): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(90,50): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(36,47): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(44,67): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(52,67): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(80,19): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(81,47): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(89,19): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(90,50): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(103,57): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(105,28): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(110,48): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -341,7 +325,7 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(1
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(117,46): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(119,34): 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/animation/AnimationTimeline.js(123,40): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(123,40): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(125,45): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | string[]'.
Type 'TemplateStringsArray' is not assignable to type 'string[]'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(125,72): error TS2554: Expected 2 arguments, but got 1.
@@ -352,7 +336,7 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(1
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(138,35): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(139,41): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(144,48): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(145,36): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(145,36): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(148,31): 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/animation/AnimationTimeline.js(165,19): error TS2694: Namespace 'UI' has no exported member 'PopoverRequest'.
@@ -361,30 +345,33 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(1
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(176,44): error TS2339: Property 'keysArray' does not exist on type 'Map'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(177,63): error TS2339: Property 'parentElement' does not exist on type 'EventTarget'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(194,30): error TS2304: Cannot find name 'Image'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(197,25): error TS2339: Property 'AnimationScreenshotPopover' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(197,25): error TS2339: Property 'AnimationScreenshotPopover' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(208,50): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(208,67): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(216,67): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(216,67): error TS2339: Property 'AnimationModel' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(218,34): error TS2345: Argument of type 'number' is not assignable to parameter of type '{ [x: string]: any; WindowDocked: number; WindowUndocked: number; ScriptsBreakpointSet: number; T...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(233,42): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(235,47): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(244,38): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(233,42): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(235,47): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(244,38): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(246,36): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(249,38): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(249,38): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(251,36): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(254,38): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(254,38): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(256,36): error TS2554: Expected 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(334,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(359,28): error TS2345: Argument of type '(left: AnimationGroup, right: AnimationGroup) => boolean' is not assignable to parameter of type '(a: any, b: any) => number'.
Type 'boolean' is not assignable to type 'number'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(373,33): error TS2339: Property 'AnimationGroupPreviewUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(373,33): error TS2339: Property 'AnimationGroupPreviewUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(386,23): error TS2339: Property 'remove' does not exist on type 'any[]'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(390,11): error TS2339: Property 'consume' does not exist on type 'Event'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(445,30): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(450,37): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(445,30): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(450,37): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(457,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(484,36): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(565,51): error TS2339: Property 'animate' does not exist on type 'Element'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(566,9): error TS2345: Argument of type '{ transform: string; }[]' is not assignable to parameter of type 'PropertyIndexedKeyframes | Keyframe[]'.
+ Type '{ transform: string; }[]' is not assignable to type 'Keyframe[]'.
+ Type '{ transform: string; }' is not assignable to type 'Keyframe'.
+ Property 'alignContent' is missing in type '{ transform: string; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(571,18): error TS2339: Property 'window' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(587,44): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(589,20): error TS2339: Property 'window' does not exist on type 'Element'.
@@ -393,136 +380,77 @@ node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(6
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(627,41): error TS2339: Property 'x' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(637,23): error TS2339: Property 'x' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(640,44): error TS2339: Property 'millisToString' does not exist on type 'NumberConstructor'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(655,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(658,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(667,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(655,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(658,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(667,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(673,38): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(674,42): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(713,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(730,28): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(733,28): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(7,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(713,11): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(730,28): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationTimeline.js(733,28): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(7,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(21,39): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(24,31): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(25,48): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(26,50): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(30,73): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(37,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(45,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(46,27): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(25,48): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(26,50): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(30,73): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(37,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(45,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(46,27): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(46,59): error TS2339: Property 'hashCode' does not exist on type 'StringConstructor'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(69,30): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(70,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(71,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(72,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(87,71): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(100,28): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(70,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(71,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(72,39): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(87,71): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(100,28): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(129,23): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(131,41): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(133,40): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(145,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(147,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(149,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(131,41): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(133,40): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(145,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(147,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(149,29): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(170,32): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(173,41): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(174,41): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(173,41): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(174,41): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(181,53): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(182,53): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(185,11): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(188,13): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(193,13): error TS2339: Property 'style' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(196,36): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(196,36): error TS2339: Property 'AnimationTimeline' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(197,13): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(206,55): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(208,63): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(213,68): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(206,55): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(208,63): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(213,68): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(218,9): error TS2365: Operator '===' cannot be applied to types '{ [x: string]: any; CSSTransition: string; CSSAnimation: string; WebAnimation: string; }' and 'string'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(240,52): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(242,61): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(245,70): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(240,52): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(242,61): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(245,70): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(255,94): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(258,11): error TS2339: Property 'style' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(264,21): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(272,70): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(281,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(282,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(293,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(295,49): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(306,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(316,37): error TS2694: Namespace 'AnimationUI' has no exported member 'MouseEvents'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(264,21): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(272,70): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(281,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(282,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(293,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(295,49): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(306,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(316,37): error TS2694: Namespace 'Animation.AnimationUI' has no exported member 'MouseEvents'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(321,15): error TS2339: Property 'buttons' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(327,30): error TS2339: Property 'clientX' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(328,11): error TS2339: Property 'consume' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(338,33): error TS2339: Property 'clientX' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(348,33): error TS2339: Property 'clientX' does not exist on type 'Event'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(351,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(351,44): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(380,11): error TS2339: Property 'consume' does not exist on type 'Event'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(387,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(394,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(402,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffectReadOnly, timeline?: AnimationTimeline): Animation; prototype: Ani...'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(20,26): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(31,26): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(41,26): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(53,40): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(77,30): error TS2339: Property 'framesByFrameId' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(78,27): error TS2339: Property 'framesByFrameId' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(80,26): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(83,35): error TS2339: Property 'framesByFrameId' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(85,25): error TS2339: Property 'framesByFrameId' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(102,18): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(130,32): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(131,29): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(144,29): error TS2339: Property 'applicationCacheStatusesRecords' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(145,27): error TS2339: Property 'applicationCacheStatusesRecords' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(149,25): error TS2339: Property 'applicationCacheStatusesRecords' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(156,32): error TS2339: Property 'applicationCacheStatusesRecords' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(157,29): error TS2339: Property 'applicationCacheStatusesRecords' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(159,27): error TS2339: Property 'applicationCacheStatusesRecords' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(161,31): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(162,31): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(163,29): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(165,34): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(166,31): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(174,39): error TS2339: Property 'applicationCacheStatusesRecords' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(182,30): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(183,27): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/AppcacheTestRunner.js(185,25): error TS2339: Property 'awaitedFrameStatusEventsCount' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(11,6): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(13,6): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(19,6): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(21,30): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(387,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(394,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
+node_modules/chrome-devtools-frontend/front_end/animation/AnimationUI.js(402,11): error TS2339: Property 'AnimationUI' does not exist on type '{ new (effect?: AnimationEffect, timeline?: AnimationTimeline): Animation; prototype: Animation; }'.
node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(32,5): error TS2304: Cannot find name 'promise'.
node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(40,11): error TS2304: Cannot find name 'promise'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(61,6): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(68,30): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(70,6): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
node_modules/chrome-devtools-frontend/front_end/application_test_runner/CacheStorageTestRunner.js(135,10): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/IndexedDBTestRunner.js(12,33): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/IndexedDBTestRunner.js(47,35): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
node_modules/chrome-devtools-frontend/front_end/application_test_runner/IndexedDBTestRunner.js(140,24): error TS2554: Expected 1 arguments, but got 2.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/IndexedDBTestRunner.js(140,96): error TS2339: Property 'securityOriginManager' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(20,14): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(34,14): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(37,59): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(69,11): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(71,30): error TS2339: Property '_testSourceNavigator' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(72,27): error TS2339: Property '_testSourceNavigator' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(73,27): error TS2339: Property '_testSourceNavigator' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourceTreeTestRunner.js(76,71): error TS2339: Property '_testSourceNavigator' does not exist on type 'typeof ApplicationTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(18,20): error TS2339: Property 'mainTarget' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(30,19): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(31,16): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(48,18): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(56,16): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(76,8): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(77,26): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(90,14): error TS2339: Property 'resourceTreeModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(103,21): error TS2339: Property 'mainTarget' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(107,21): error TS2339: Property 'mainTarget' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ResourcesTestRunner.js(111,21): error TS2339: Property 'mainTarget' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ServiceWorkersTestRunner.js(44,19): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ServiceWorkersTestRunner.js(55,14): error TS2339: Property 'serviceWorkerManager' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/application_test_runner/ServiceWorkersTestRunner.js(57,18): error TS2339: Property 'serviceWorkerManager' does not exist on type 'typeof TestRunner'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(16,50): error TS2345: Argument of type '(msg: string) => void' is not assignable to parameter of type '(arg0: string) => undefined'.
Type 'void' is not assignable to type 'undefined'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(16,76): error TS2555: Expected at least 2 arguments, but got 1.
@@ -548,7 +476,7 @@ node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(162,25):
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(183,73): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(184,44): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(188,24): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(190,46): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(190,46): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(193,9): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(200,57): error TS2339: Property 'consume' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(202,34): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'.
@@ -583,20 +511,18 @@ node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(511,32):
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(511,58): error TS2339: Property 'message' does not exist on type 'any[]'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(514,49): error TS2339: Property 'progressBarClass' does not exist on type 'any[]'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(523,5): error TS2322: Type '{ [x: string]: any; progressBarClass: string; message: string; statusMessagePrefix: string; order...' is not assignable to type 'any[]'.
- Property 'flatMap' is missing in type '{ [x: string]: any; progressBarClass: string; message: string; statusMessagePrefix: string; order...'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(523,5): error TS2322: Type '{ [x: string]: any; progressBarClass: string; message: string; statusMessagePrefix: string; order...' is not assignable to type 'any[]'.
+ Property 'length' is missing in type '{ [x: string]: any; progressBarClass: string; message: string; statusMessagePrefix: string; order...'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(553,32): error TS2345: Argument of type 'TemplateStringsArray' is not assignable to parameter of type 'string | string[]'.
Type 'TemplateStringsArray' is not assignable to type 'string[]'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(594,38): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(597,21): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(625,33): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(630,75): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(679,53): error TS2304: Cannot find name 'ReportRenderer'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(690,15): error TS2503: Cannot find namespace 'ReportRenderer'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(701,15): error TS2503: Cannot find namespace 'ReportRenderer'.
-node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(717,97): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(718,22): error TS2551: Property 'Preset' does not exist on type 'typeof Audits2Panel'. Did you mean 'Presets'?
-node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(720,42): error TS2694: Namespace 'Audits2Panel' has no exported member 'Preset'.
+node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(720,42): error TS2694: Namespace 'Audits2.Audits2Panel' has no exported member 'Preset'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(780,25): error TS2503: Cannot find namespace 'ReportRenderer'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(832,25): error TS2503: Cannot find namespace 'ReportRenderer'.
node_modules/chrome-devtools-frontend/front_end/audits2/Audits2Panel.js(901,15): error TS2503: Cannot find namespace 'ReportRenderer'.
@@ -746,7 +672,6 @@ node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/repo
node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/report-renderer.js(237,16): error TS2339: Property 'ReportJSON' does not exist on type 'typeof ReportRenderer'.
node_modules/chrome-devtools-frontend/front_end/audits2/lighthouse/renderer/util.js(124,5): error TS2322: Type '{}' is not assignable to type '{ numPathParts: number; preserveQuery: boolean; preserveHost: boolean; }'.
Property 'numPathParts' is missing in type '{}'.
-node_modules/chrome-devtools-frontend/front_end/audits2_test_runner/Audits2TestRunner.js(14,38): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
node_modules/chrome-devtools-frontend/front_end/audits2_test_runner/Audits2TestRunner.js(76,33): error TS2339: Property 'textElement' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/audits2_test_runner/Audits2TestRunner.js(77,40): error TS2339: Property 'checkboxElement' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/audits2_test_runner/Audits2TestRunner.js(89,29): error TS2339: Property 'disabled' does not exist on type 'Element'.
@@ -757,11 +682,12 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(46,10): error TS2339: Property 'listenForStatus' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(51,25): error TS2339: Property 'runLighthouseInWorker' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(52,27): error TS2503: Cannot find namespace 'ReportRenderer'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(128,1): error TS2322: Type 'Window' is not assignable to type 'typeof global'.
- Types of property 'document' are incompatible.
- Type 'Document' is not assignable to type '{ [x: string]: any; documentElement: { [x: string]: any; style: { [x: string]: any; WebkitAppeara...'.
- Property 'URL' does not exist on type '{ [x: string]: any; documentElement: { [x: string]: any; style: { [x: string]: any; WebkitAppeara...'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(129,8): error TS2339: Property 'isVinn' does not exist on type 'typeof global'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(128,1): error TS2322: Type 'Window' is not assignable to type 'Global'.
+ Property 'Array' is missing in type 'Window'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(129,8): error TS2339: Property 'isVinn' does not exist on type 'Global'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(130,8): error TS2339: Property 'document' does not exist on type 'Global'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(131,8): error TS2339: Property 'document' does not exist on type 'Global'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/Audits2Service.js(132,8): error TS2339: Property 'document' does not exist on type 'Global'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,1): error TS2322: Type '(o: any, u: any) => any' is not assignable to type 'NodeRequire'.
Property 'resolve' is missing in type '(o: any, u: any) => any'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(2,121): error TS2554: Expected 1 arguments, but got 2.
@@ -775,7 +701,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(9093,1): error TS2554: Expected 0-2 arguments, but got 3.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9117,1): error TS2554: Expected 0-2 arguments, but got 3.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9467,15): error TS2339: Property 'axe' does not exist on type 'Window'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9708,34): error TS2345: Argument of type 'any[][]' is not assignable to parameter of type 'Iterable<[any, any]>'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9708,34): error TS2345: Argument of type 'any[][]' is not assignable to parameter of type 'ReadonlyArray<[any, any]>'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9948,10): error TS2693: 'ShadowRoot' only refers to a type, but is being used as a value here.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(9969,4): error TS2693: 'ShadowRoot' only refers to a type, but is being used as a value here.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(10092,16): error TS2304: Cannot find name 'd41d8cd98f00b204e9800998ecf8427e_LibraryDetectorTests'.
@@ -786,7 +712,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(13607,7): error TS2339: Property 'protocolMethod' does not exist on type 'Error'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(13608,7): error TS2339: Property 'protocolError' does not exist on type 'Error'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(14352,1): error TS2722: Cannot invoke an object which is possibly 'undefined'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(14860,28): error TS2339: Property '__nativeError' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(14940,8): error TS2339: Property '____lastLongTask' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(14941,27): error TS2339: Property 'PerformanceObserver' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(14946,8): error TS2339: Property '____lastLongTask' does not exist on type 'Window'.
@@ -1070,7 +995,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(39899,1): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39909,1): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39957,1): error TS2304: Cannot find name 'WebInspector'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39957,68): error TS2339: Property 'message' does not exist on type 'FileReaderProgressEvent'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39957,68): error TS2339: Property 'message' does not exist on type 'ProgressEvent'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39963,1): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39980,16): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(39986,1): error TS2304: Cannot find name 'WebInspector'.
@@ -1680,7 +1605,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(49936,1): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(49943,1): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50006,1): error TS2304: Cannot find name 'WebInspector'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50008,10): error TS2339: Property 'Agents' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50015,29): error TS2304: Cannot find name 'InspectorBackendClass'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50016,10): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50025,1): error TS2304: Cannot find name 'WebInspector'.
@@ -1693,9 +1617,8 @@ node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighth
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50135,32): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50143,32): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50162,46): error TS2304: Cannot find name 'WebInspector'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50206,23): error TS2339: Property 'inspectedURLChanged' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50206,23): error TS2339: Property 'inspectedURLChanged' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50207,46): error TS2304: Cannot find name 'WebInspector'.
-node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50210,20): error TS2339: Property 'Agents' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50218,1): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50220,1): error TS2304: Cannot find name 'WebInspector'.
node_modules/chrome-devtools-frontend/front_end/audits2_worker/lighthouse/lighthouse-background.js(50224,1): error TS2304: Cannot find name 'WebInspector'.
@@ -3232,7 +3155,6 @@ node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(
node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(216,42): error TS2339: Property 'get' does not exist on type 'Multimap'.
node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(218,30): error TS2339: Property 'set' does not exist on type 'Multimap'.
node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(221,21): error TS2339: Property 'deleteAll' does not exist on type 'Multimap'.
-node_modules/chrome-devtools-frontend/front_end/bindings/CSSWorkspaceBinding.js(232,41): error TS2551: Property 'resourceMapping' does not exist on type 'typeof Bindings'. Did you mean 'ResourceMapping'?
node_modules/chrome-devtools-frontend/front_end/bindings/CompilerScriptMapping.js(48,52): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
node_modules/chrome-devtools-frontend/front_end/bindings/CompilerScriptMapping.js(50,62): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
node_modules/chrome-devtools-frontend/front_end/bindings/CompilerScriptMapping.js(59,56): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
@@ -3241,7 +3163,11 @@ node_modules/chrome-devtools-frontend/front_end/bindings/CompilerScriptMapping.j
node_modules/chrome-devtools-frontend/front_end/bindings/CompilerScriptMapping.js(202,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/CompilerScriptMapping.js(218,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(39,25): error TS2694: Namespace 'Workspace' has no exported member 'projectTypes'.
+node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(48,26): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boo...'.
+ Type 'ContentProviderBasedProject' is not assignable to type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boo...'.
+ Property '_contentProviders' does not exist on type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boo...'.
node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(180,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
+node_modules/chrome-devtools-frontend/front_end/bindings/ContentProviderBasedProject.js(306,33): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; workspace(): Workspace; id(): string; type(): string; isServiceProject(): boo...'.
node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(51,31): error TS2339: Property 'remove' does not exist on type 'Map'.
node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(85,5): error TS2322: Type 'StackTraceTopFrameLocation' is not assignable to type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
Property '_updateScheduled' does not exist on type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
@@ -3252,8 +3178,6 @@ node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBindin
node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(276,21): error TS2339: Property 'set' does not exist on type 'Multimap'.
node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(285,21): error TS2339: Property 'delete' does not exist on type 'Multimap'.
node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(292,42): error TS2339: Property 'get' does not exist on type 'Multimap'.
-node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(304,41): error TS2551: Property 'resourceMapping' does not exist on type 'typeof Bindings'. Did you mean 'ResourceMapping'?
-node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(320,33): error TS2551: Property 'resourceMapping' does not exist on type 'typeof Bindings'. Did you mean 'ResourceMapping'?
node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(452,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/bindings/DebuggerWorkspaceBinding.js(460,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/bindings/DefaultScriptMapping.js(44,63): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
@@ -3264,17 +3188,28 @@ node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(43,15): er
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(48,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(55,16): error TS2304: Cannot find name 'FileError'.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(78,17): error TS2304: Cannot find name 'FileError'.
+node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(88,38): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; fileSize(): number; loadedSize(): number; fileName(): string; cancel(): void;...'.
+ Type 'ChunkedFileReader' is not assignable to type '{ [x: string]: any; fileSize(): number; loadedSize(): number; fileName(): string; cancel(): void;...'.
+ Property '_file' does not exist on type '{ [x: string]: any; fileSize(): number; loadedSize(): number; fileName(): string; cancel(): void;...'.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(125,23): error TS2339: Property 'name' does not exist on type 'Blob'.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(130,16): error TS2304: Cannot find name 'FileError'.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(143,22): error TS2339: Property 'readyState' does not exist on type 'EventTarget'.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(146,31): error TS2339: Property 'result' does not exist on type 'EventTarget'.
+node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(154,38): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; fileSize(): number; loadedSize(): number; fileName(): string; cancel(): void;...'.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(178,32): error TS2339: Property 'error' does not exist on type 'EventTarget'.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(194,23): error TS1005: '>' expected.
node_modules/chrome-devtools-frontend/front_end/bindings/FileUtils.js(227,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/LiveLocation.js(11,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/bindings/LiveLocation.js(18,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
-node_modules/chrome-devtools-frontend/front_end/bindings/NetworkProject.js(158,14): error TS2551: Property 'networkProjectManager' does not exist on type 'typeof Bindings'. Did you mean 'NetworkProjectManager'?
-node_modules/chrome-devtools-frontend/front_end/bindings/NetworkProject.js(175,14): error TS2551: Property 'networkProjectManager' does not exist on type 'typeof Bindings'. Did you mean 'NetworkProjectManager'?
+node_modules/chrome-devtools-frontend/front_end/bindings/LiveLocation.js(35,29): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+ Type 'LiveLocationWithPool' is not assignable to type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+ Property '_updateDelegate' does not exist on type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+node_modules/chrome-devtools-frontend/front_end/bindings/LiveLocation.js(42,26): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+ Type 'LiveLocationWithPool' is not assignable to type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+ Property '_updateDelegate' does not exist on type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+node_modules/chrome-devtools-frontend/front_end/bindings/LiveLocation.js(57,32): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+ Type 'LiveLocationWithPool' is not assignable to type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
+ Property '_updateDelegate' does not exist on type '{ [x: string]: any; update(): void; uiLocation(): UILocation; dispose(): void; isBlackboxed(): bo...'.
node_modules/chrome-devtools-frontend/front_end/bindings/NetworkProject.js(184,35): error TS2538: Type 'symbol' cannot be used as an index type.
node_modules/chrome-devtools-frontend/front_end/bindings/NetworkProject.js(192,13): error TS2538: Type 'symbol' cannot be used as an index type.
node_modules/chrome-devtools-frontend/front_end/bindings/NetworkProject.js(223,37): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
@@ -3291,6 +3226,9 @@ node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(181,
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(189,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(197,40): error TS2339: Property 'valuesArray' does not exist on type 'Map'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(204,40): error TS2339: Property 'valuesArray' does not exist on type 'Map'.
+node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(226,29): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
+ Type 'Binding' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
+ Property '_resources' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(254,28): error TS2339: Property 'firstValue' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(262,28): error TS2339: Property 'firstValue' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceMapping.js(270,28): error TS2339: Property 'firstValue' does not exist on type 'Set'.
@@ -3301,8 +3239,6 @@ node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.j
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(141,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(155,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(231,55): error TS2339: Property 'valuesArray' does not exist on type 'Set'.
-node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(262,24): error TS2339: Property 'addEventListener' does not exist on type 'UISourceCode'.
-node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(264,24): error TS2339: Property 'addEventListener' does not exist on type 'UISourceCode'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(284,21): error TS2339: Property '_scriptSource' does not exist on type 'ResourceScriptFile'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(291,38): error TS2339: Property '_scriptSource' does not exist on type 'ResourceScriptFile'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(293,63): error TS2339: Property '_scriptSource' does not exist on type 'ResourceScriptFile'.
@@ -3311,8 +3247,6 @@ node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.j
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(318,26): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(329,82): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Info: string; Warning: string; Error: string; }'.
node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(384,38): error TS2339: Property '_scriptSource' does not exist on type 'ResourceScriptFile'.
-node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(405,24): error TS2339: Property 'removeEventListener' does not exist on type 'UISourceCode'.
-node_modules/chrome-devtools-frontend/front_end/bindings/ResourceScriptMapping.js(407,24): error TS2339: Property 'removeEventListener' does not exist on type 'UISourceCode'.
node_modules/chrome-devtools-frontend/front_end/bindings/SASSSourceMapping.js(43,52): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
node_modules/chrome-devtools-frontend/front_end/bindings/SASSSourceMapping.js(63,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/SASSSourceMapping.js(90,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
@@ -3322,47 +3256,36 @@ node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(111,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(129,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(146,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(192,26): error TS2339: Property 'addEventListener' does not exist on type 'UISourceCode'.
-node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(194,26): error TS2339: Property 'addEventListener' does not exist on type 'UISourceCode'.
+node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(189,67): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
+ Type 'StyleFile' is not assignable to type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
+ Property '_cssModel' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(229,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(239,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
+node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(260,9): error TS2365: Operator '===' cannot be applied to types '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...' and 'UISourceCode'.
+node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(272,9): error TS2365: Operator '!==' cannot be applied to types '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...' and 'UISourceCode'.
+node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(281,11): error TS2365: Operator '===' cannot be applied to types 'CSSStyleSheetHeader' and '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(307,26): error TS2339: Property 'firstValue' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(315,26): error TS2339: Property 'firstValue' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(323,26): error TS2339: Property 'firstValue' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(331,26): error TS2339: Property 'firstValue' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/bindings/StylesSourceMapping.js(342,26): error TS2339: Property 'firstValue' does not exist on type 'Set'.
+node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(85,5): error TS2322: Type 'string | ArrayBuffer' is not assignable to type 'string'.
+ Type 'ArrayBuffer' is not assignable to type 'string'.
node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(91,25): error TS2304: Cannot find name 'FileError'.
node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(96,42): error TS2304: Cannot find name 'FileError'.
node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(176,25): error TS2304: Cannot find name 'FileError'.
node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(185,2): error TS1131: Property or signature expected.
node_modules/chrome-devtools-frontend/front_end/bindings/TempFile.js(189,33): error TS2339: Property 'Chunk' does not exist on type 'typeof TempFileBackingStorage'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(47,8): error TS2339: Property '_workspace' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(48,8): error TS2339: Property '_networkProject' does not exist on type 'typeof BindingsTestRunner'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(48,26): error TS2554: Expected 5 arguments, but got 4.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(49,12): error TS2339: Property '_workspace' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(52,92): error TS2339: Property '_workspace' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(54,8): error TS2339: Property '_failedBindingsCount' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(55,8): error TS2339: Property '_automapping' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(56,40): error TS2339: Property '_workspace' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(56,57): error TS2339: Property '_onBindingAdded' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(56,90): error TS2339: Property '_onBindingRemoved' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(57,30): error TS2339: Property '_automapping' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(57,76): error TS2339: Property '_onBindingFailed' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(58,30): error TS2339: Property '_automapping' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(58,76): error TS2339: Property '_onSweepHappened' does not exist on type 'typeof BindingsTestRunner'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/AutomappingTestRunner.js(71,80): error TS2345: Argument of type 'Promise' is not assignable to parameter of type '() => Promise'.
Type 'Promise' provides no match for the signature '(): Promise'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(23,20): error TS2339: Property 'caseInsensetiveComparator' does not exist on type 'StringConstructor'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(48,5): error TS2304: Cannot find name 'addedLines'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(59,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'url' must be of type 'any', but here has type 'string'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(108,11): error TS2339: Property 'src' does not exist on type 'HTMLElement'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(150,14): error TS2339: Property 'cssModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(159,16): error TS2339: Property 'cssModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(190,27): error TS2339: Property 'debuggerModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(191,32): error TS2339: Property 'debuggerModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/BindingsTestRunner.js(197,27): error TS2339: Property 'cssModel' does not exist on type 'typeof TestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(15,8): error TS2339: Property 'root' does not exist on type 'typeof BindingsTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(16,8): error TS2339: Property 'fileSystemPath' does not exist on type 'typeof BindingsTestRunner'.
+node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(10,23): error TS2339: Property 'isolatedFileSystem' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(45,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
+node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(66,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(103,8): error TS2339: Property '_fileSystem' does not exist on type 'typeof TestFileSystem'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(104,8): error TS2540: Cannot assign to 'name' because it is a constant or a read-only property.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(105,8): error TS2339: Property '_children' does not exist on type 'typeof TestFileSystem'.
@@ -3370,36 +3293,36 @@ node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFil
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(107,8): error TS2339: Property 'isDirectory' does not exist on type 'typeof TestFileSystem'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(108,8): error TS2339: Property '_timestamp' does not exist on type 'typeof TestFileSystem'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(109,8): error TS2339: Property '_parent' does not exist on type 'typeof TestFileSystem'.
+node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(134,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
+node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(159,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
+node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(172,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(263,8): error TS2339: Property '_children' does not exist on type 'typeof TestFileSystem'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(275,8): error TS2551: Property '_entry' does not exist on type 'typeof TestFileSystem'. Did you mean 'Entry'?
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/IsolatedFilesystemTestRunner.js(276,8): error TS2339: Property '_modificationTimesDelta' does not exist on type 'typeof TestFileSystem'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/OverridesTestRunner.js(7,13): error TS1064: The return type of an async function or method must be the global Promise type.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/PersistenceTestRunner.js(76,79): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
node_modules/chrome-devtools-frontend/front_end/bindings_test_runner/PersistenceTestRunner.js(77,82): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Debugger: string; Formatter: string; Network: string; Snippets: string; FileS...'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(7,51): error TS2694: Namespace 'ChangesView' has no exported member 'Row'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(7,51): error TS2694: Namespace 'Changes.ChangesView' has no exported member 'Row'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(9,2): error TS1131: Property or signature expected.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(22,42): error TS2694: Namespace 'ChangesHighlighter' has no exported member 'DiffState'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(22,42): error TS2694: Namespace 'Changes.ChangesHighlighter' has no exported member 'DiffState'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(47,47): error TS2339: Property 'blankLine' does not exist on type 'void'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(48,29): error TS2339: Property 'blankLine' does not exist on type 'void'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(50,29): error TS2339: Property 'token' does not exist on type 'void'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(59,45): error TS2694: Namespace 'ChangesHighlighter' has no exported member 'DiffState'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(78,44): error TS2694: Namespace 'ChangesHighlighter' has no exported member 'DiffState'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(59,45): error TS2694: Namespace 'Changes.ChangesHighlighter' has no exported member 'DiffState'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(78,44): error TS2694: Namespace 'Changes.ChangesHighlighter' has no exported member 'DiffState'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(102,51): error TS2339: Property 'token' does not exist on type 'void'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(129,44): error TS2694: Namespace 'ChangesHighlighter' has no exported member 'DiffState'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(129,44): error TS2694: Namespace 'Changes.ChangesHighlighter' has no exported member 'DiffState'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(142,31): error TS2339: Property 'blankLine' does not exist on type 'void'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(144,39): error TS2339: Property 'blankLine' does not exist on type 'void'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(147,39): error TS2339: Property 'blankLine' does not exist on type 'void'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(155,44): error TS2694: Namespace 'ChangesHighlighter' has no exported member 'DiffState'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(156,45): error TS2694: Namespace 'ChangesHighlighter' has no exported member 'DiffState'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(162,53): error TS2694: Namespace 'ChangesHighlighter' has no exported member 'DiffState'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(155,44): error TS2694: Namespace 'Changes.ChangesHighlighter' has no exported member 'DiffState'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(156,45): error TS2694: Namespace 'Changes.ChangesHighlighter' has no exported member 'DiffState'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(162,53): error TS2694: Namespace 'Changes.ChangesHighlighter' has no exported member 'DiffState'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(169,2): error TS1131: Property or signature expected.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesHighlighter.js(181,28): error TS2339: Property 'DiffState' does not exist on type '(config: any, parserConfig: { diffRows: any[]; baselineLines: string[]; currentLines: string[]; m...'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesSidebar.js(30,90): error TS2339: Property 'uiSourceCode' does not exist on type 'TreeElement'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesSidebar.js(38,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesSidebar.js(101,20): error TS2339: Property 'addEventListener' does not exist on type 'UISourceCode'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesSidebar.js(102,20): error TS2339: Property 'addEventListener' does not exist on type 'UISourceCode'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesSidebar.js(103,20): error TS2339: Property 'addEventListener' does not exist on type 'UISourceCode'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(26,44): error TS2694: Namespace 'ChangesView' has no exported member 'Row'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(26,44): error TS2694: Namespace 'Changes.ChangesView' has no exported member 'Row'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(37,42): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(43,45): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(45,37): error TS2345: Argument of type 'ToolbarButton' is not assignable to parameter of type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'.
@@ -3420,19 +3343,19 @@ node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(167,25):
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(170,28): error TS2339: Property 'pushAll' does not exist on type 'any[]'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(172,26): error TS2339: Property 'pushAll' does not exist on type 'any[]'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(175,51): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(206,45): error TS2694: Namespace 'ChangesView' has no exported member 'Row'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(206,45): error TS2694: Namespace 'Changes.ChangesView' has no exported member 'Row'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(212,46): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(215,15): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(216,19): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(217,15): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(231,46): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(239,45): error TS2694: Namespace 'ChangesView' has no exported member 'Row'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(239,45): error TS2694: Namespace 'Changes.ChangesView' has no exported member 'Row'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(243,41): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(244,42): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(253,45): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(255,46): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(269,37): error TS2694: Namespace 'ChangesView' has no exported member 'RowType'.
-node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(270,38): error TS2694: Namespace 'ChangesView' has no exported member 'Row'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(269,37): error TS2694: Namespace 'Changes.ChangesView' has no exported member 'RowType'.
+node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(270,38): error TS2694: Namespace 'Changes.ChangesView' has no exported member 'Row'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(273,11): error TS2365: Operator '===' cannot be applied to types '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }' and 'string'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(275,11): error TS2365: Operator '===' cannot be applied to types '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }' and 'string'.
node_modules/chrome-devtools-frontend/front_end/changes/ChangesView.js(277,11): error TS2365: Operator '===' cannot be applied to types '{ [x: string]: any; Deletion: string; Addition: string; Equal: string; Spacer: string; }' and 'string'.
@@ -3524,6 +3447,8 @@ node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(6378,11): error
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(6391,10): error TS2339: Property 'linked' does not exist on type 'Doc'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(6454,39): error TS2339: Property 'FileReader' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(6454,60): error TS2339: Property 'File' does not exist on type 'Window'.
+node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(6464,44): error TS2345: Argument of type 'string | ArrayBuffer' is not assignable to parameter of type 'string'.
+ Type 'ArrayBuffer' is not assignable to type 'string'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(6553,25): error TS2339: Property 'CodeMirror' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(7343,11): error TS2339: Property 'copy' does not exist on type '(...args: any[]) => any'.
node_modules/chrome-devtools-frontend/front_end/cm/codemirror.js(7777,11): error TS2339: Property 'wrapper' does not exist on type 'Display'.
@@ -3602,7 +3527,7 @@ node_modules/chrome-devtools-frontend/front_end/cm_modes/coffeescript.js(11,19):
node_modules/chrome-devtools-frontend/front_end/cm_modes/coffeescript.js(11,43): error TS2304: Cannot find name 'define'.
node_modules/chrome-devtools-frontend/front_end/cm_modes/coffeescript.js(12,5): error TS2304: Cannot find name 'define'.
node_modules/chrome-devtools-frontend/front_end/cm_modes/coffeescript.js(41,3): error TS2322: Type 'RegExp' is not assignable to type 'string[]'.
- Property 'flatMap' is missing in type 'RegExp'.
+ Property 'length' is missing in type 'RegExp'.
node_modules/chrome-devtools-frontend/front_end/cm_modes/coffeescript.js(282,24): error TS2339: Property 'exec' does not exist on type 'string[]'.
node_modules/chrome-devtools-frontend/front_end/cm_modes/jsx.js(6,5): error TS2554: Expected 0-1 arguments, but got 3.
node_modules/chrome-devtools-frontend/front_end/cm_modes/jsx.js(6,17): error TS2307: Cannot find module '../../lib/codemirror'.
@@ -3678,16 +3603,18 @@ node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(
Type 'ToolbarToggle' is not assignable to type '{ [x: string]: any; item(): any & any; }'.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(125,27): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(136,28): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(151,27): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(151,27): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(178,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(191,11): error TS2339: Property 'consume' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(201,35): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(207,35): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(232,27): error TS2339: Property 'setEyeDropperActive' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(232,27): error TS2339: Property 'setEyeDropperActive' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(234,29): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
+node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(237,29): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(243,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(251,27): error TS2339: Property 'bringToFront' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(251,27): error TS2339: Property 'bringToFront' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastDetails.js(261,41): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastInfo.js(32,28): error TS2694: Namespace 'CSSModel' has no exported member 'ContrastInfo'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastInfo.js(32,28): error TS2694: Namespace 'SDK.CSSModel' has no exported member 'ContrastInfo'.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastInfo.js(124,53): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...'.
node_modules/chrome-devtools-frontend/front_end/color_picker/ContrastOverlay.js(16,41): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(38,32): error TS2339: Property 'createSVGChild' does not exist on type 'Element'.
@@ -3699,7 +3626,7 @@ node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(64,31):
Type 'ToolbarToggle' is not assignable to type '{ [x: string]: any; item(): any & any; }'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(84,18): error TS2339: Property 'maxLength' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(97,20): error TS2339: Property 'maxLength' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(126,52): error TS2694: Namespace 'Spectrum' has no exported member 'Palette'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(126,52): error TS2694: Namespace 'ColorPicker.Spectrum' has no exported member 'Palette'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(128,46): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(130,57): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(133,49): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -3723,9 +3650,12 @@ node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(221,31)
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(241,27): error TS2339: Property 'focus' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(251,13): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(251,39): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(253,15): error TS2339: Property 'animate' does not exist on type 'Element'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(253,23): error TS2345: Argument of type '{ opacity: number; }[]' is not assignable to parameter of type 'PropertyIndexedKeyframes | Keyframe[]'.
+ Type '{ opacity: number; }[]' is not assignable to type 'Keyframe[]'.
+ Type '{ opacity: number; }' is not assignable to type 'Keyframe'.
+ Property 'alignContent' is missing in type '{ opacity: number; }'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(254,13): error TS2339: Property 'title' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(259,36): error TS2694: Namespace 'Spectrum' has no exported member 'Palette'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(259,36): error TS2694: Namespace 'ColorPicker.Spectrum' has no exported member 'Palette'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(272,22): error TS2339: Property '__mutable' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(273,22): error TS2339: Property '__color' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(277,35): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -3745,12 +3675,12 @@ node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(387,11)
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(387,65): error TS2339: Property 'pageY' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(390,21): error TS2339: Property 'pageX' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(392,11): error TS2339: Property 'pageY' does not exist on type 'Event'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(453,38): error TS2694: Namespace 'Spectrum' has no exported member 'Palette'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(466,36): error TS2694: Namespace 'Spectrum' has no exported member 'Palette'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(481,36): error TS2694: Namespace 'Spectrum' has no exported member 'Palette'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(453,38): error TS2694: Namespace 'ColorPicker.Spectrum' has no exported member 'Palette'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(466,36): error TS2694: Namespace 'ColorPicker.Spectrum' has no exported member 'Palette'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(481,36): error TS2694: Namespace 'ColorPicker.Spectrum' has no exported member 'Palette'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(487,39): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(492,22): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(498,36): error TS2694: Namespace 'Spectrum' has no exported member 'Palette'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(498,36): error TS2694: Namespace 'ColorPicker.Spectrum' has no exported member 'Palette'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(528,18): error TS2339: Property 'style' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(541,34): error TS2345: Argument of type 'string | { [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; H...' is not assignable to parameter of type 'string'.
Type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...' is not assignable to type 'string'.
@@ -3758,7 +3688,7 @@ node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(546,22)
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(565,11): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(567,11): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(570,9): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(598,28): error TS2694: Namespace 'CSSModel' has no exported member 'ContrastInfo'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(598,28): error TS2694: Namespace 'SDK.CSSModel' has no exported member 'ContrastInfo'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(714,24): error TS2339: Property 'value' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(716,24): error TS2339: Property 'value' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(745,16): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'.
@@ -3772,19 +3702,20 @@ node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(782,36)
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(786,28): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(796,52): error TS2345: Argument of type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...' is not assignable to parameter of type 'string'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(821,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(827,27): error TS2339: Property 'setEyeDropperActive' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(827,27): error TS2339: Property 'setEyeDropperActive' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(829,29): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(832,29): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(838,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(845,27): error TS2339: Property 'bringToFront' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(864,77): error TS1003: Identifier expected.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(845,27): error TS2339: Property 'bringToFront' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(865,22): error TS2339: Property 'Palette' does not exist on type 'typeof Spectrum'.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(870,45): error TS2694: Namespace 'Spectrum' has no exported member 'Palette'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(870,45): error TS2694: Namespace 'ColorPicker.Spectrum' has no exported member 'Palette'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(881,37): error TS2339: Property 'catchException' does not exist on type 'Promise'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(918,37): error TS2339: Property 'keysArray' does not exist on type 'Map'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(933,29): error TS2339: Property 'keysArray' does not exist on type 'Map'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(1009,39): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(1016,34): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(1038,27): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/common/Color.js(36,28): error TS2694: Namespace 'Color' has no exported member 'Format'.
+node_modules/chrome-devtools-frontend/front_end/color_picker/Spectrum.js(1038,27): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/common/Color.js(36,28): error TS2694: Namespace 'Common.Color' has no exported member 'Format'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(91,65): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(99,11): error TS2322: Type 'string' is not assignable to type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(133,13): error TS2403: Subsequent variable declarations must have the same type. Variable 'rgba' must be of type 'any', but here has type 'number[]'.
@@ -3804,11 +3735,11 @@ node_modules/chrome-devtools-frontend/front_end/common/Color.js(369,82): error T
node_modules/chrome-devtools-frontend/front_end/common/Color.js(371,82): error TS2339: Property '_blendedFg' does not exist on type '(fgRGBA: number[], bgRGBA: number[]) => number'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(375,61): error TS2339: Property '_blendedFg' does not exist on type '(fgRGBA: number[], bgRGBA: number[]) => number'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(376,43): error TS2339: Property '_blendedFg' does not exist on type '(fgRGBA: number[], bgRGBA: number[]) => number'.
-node_modules/chrome-devtools-frontend/front_end/common/Color.js(409,29): error TS2694: Namespace 'Color' has no exported member 'Format'.
+node_modules/chrome-devtools-frontend/front_end/common/Color.js(409,29): error TS2694: Namespace 'Common.Color' has no exported member 'Format'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(426,5): error TS2322: Type 'string | { [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; H...' is not assignable to type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...'.
Type 'string' is not assignable to type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...'.
-node_modules/chrome-devtools-frontend/front_end/common/Color.js(430,29): error TS2694: Namespace 'Color' has no exported member 'Format'.
-node_modules/chrome-devtools-frontend/front_end/common/Color.js(503,29): error TS2694: Namespace 'Color' has no exported member 'Format'.
+node_modules/chrome-devtools-frontend/front_end/common/Color.js(430,29): error TS2694: Namespace 'Common.Color' has no exported member 'Format'.
+node_modules/chrome-devtools-frontend/front_end/common/Color.js(503,29): error TS2694: Namespace 'Common.Color' has no exported member 'Format'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(518,7): error TS2322: Type 'string' is not assignable to type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(519,5): error TS2322: Type 'string' is not assignable to type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...'.
node_modules/chrome-devtools-frontend/front_end/common/Color.js(563,23): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'.
@@ -3839,47 +3770,41 @@ node_modules/chrome-devtools-frontend/front_end/common/Color.js(935,45): error T
Type '{ min: number; max: number; }' is not assignable to type 'number | { min: number; max: number; count: number; }'.
Type '{ min: number; max: number; }' is not assignable to type '{ min: number; max: number; count: number; }'.
Property 'count' is missing in type '{ min: number; max: number; }'.
-node_modules/chrome-devtools-frontend/front_end/common/Console.js(16,30): error TS2694: Namespace 'Console' has no exported member 'MessageLevel'.
+node_modules/chrome-devtools-frontend/front_end/common/Console.js(16,30): error TS2694: Namespace 'Common.Console' has no exported member 'MessageLevel'.
node_modules/chrome-devtools-frontend/front_end/common/Console.js(21,42): error TS2345: Argument of type 'string | { [x: string]: any; Info: string; Warning: string; Error: string; }' is not assignable to parameter of type '{ [x: string]: any; Info: string; Warning: string; Error: string; }'.
Type 'string' is not assignable to type '{ [x: string]: any; Info: string; Warning: string; Error: string; }'.
node_modules/chrome-devtools-frontend/front_end/common/Console.js(30,27): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Info: string; Warning: string; Error: string; }'.
node_modules/chrome-devtools-frontend/front_end/common/Console.js(37,27): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Info: string; Warning: string; Error: string; }'.
node_modules/chrome-devtools-frontend/front_end/common/Console.js(44,27): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Info: string; Warning: string; Error: string; }'.
-node_modules/chrome-devtools-frontend/front_end/common/Console.js(86,30): error TS2694: Namespace 'Console' has no exported member 'MessageLevel'.
+node_modules/chrome-devtools-frontend/front_end/common/Console.js(86,30): error TS2694: Namespace 'Common.Console' has no exported member 'MessageLevel'.
node_modules/chrome-devtools-frontend/front_end/common/ContentProvider.js(37,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/common/ContentProvider.js(42,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/ContentProvider.js(47,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/common/ContentProvider.js(52,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/ContentProvider.js(60,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(12,31): error TS2694: Namespace 'Renderer' has no exported member 'Options'.
+node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(12,31): error TS2694: Namespace 'Common.Renderer' has no exported member 'Options'.
node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.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/ModuleExtensionInterfaces.js(20,29): error TS2694: Namespace 'Renderer' has no exported member 'Options'.
+node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(20,29): error TS2694: Namespace 'Common.Renderer' has no exported member 'Options'.
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; renderPromise(object: any, options?: any): Promise; }'.
+node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(40,17): error TS2339: Property 'Options' does not exist on type '{ (): void; prototype: { [x: string]: any; }; renderPromise(object: any, options?: any): Promise<...'.
node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(63,15): error TS2339: Property 'runtime' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(81,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/common/ModuleExtensionInterfaces.js(105,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
-node_modules/chrome-devtools-frontend/front_end/common/Object.js(32,52): error TS2694: Namespace 'Object' has no exported member '_listenerCallbackTuple'.
+node_modules/chrome-devtools-frontend/front_end/common/Object.js(32,52): error TS2694: Namespace 'Common.Object' has no exported member '_listenerCallbackTuple'.
node_modules/chrome-devtools-frontend/front_end/common/Object.js(39,31): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/common/Object.js(41,35): error TS2694: Namespace 'EventTarget' has no exported member 'EventDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/common/Object.js(41,35): error TS2694: Namespace 'Common.EventTarget' has no exported member 'EventDescriptor'.
node_modules/chrome-devtools-frontend/front_end/common/Object.js(73,31): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/common/Object.js(109,36): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/common/Object.js(118,2): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/common/Object.js(119,8): error TS2300: Duplicate identifier 'Event'.
-node_modules/chrome-devtools-frontend/front_end/common/Object.js(119,8): error TS2339: Property 'Event' does not exist on type 'typeof Common'.
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(123,2): error TS1003: Identifier expected.
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(133,2): error TS1003: Identifier expected.
-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; }'.
-node_modules/chrome-devtools-frontend/front_end/common/Object.js(137,39): error TS2694: Namespace '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 'EventTarget' has no exported member 'EventDescriptor'.
+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(137,39): error TS2694: Namespace 'Common.EventTarget' has no exported member 'EventDescriptor'.
+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'.
@@ -3916,7 +3841,6 @@ node_modules/chrome-devtools-frontend/front_end/common/Settings.js(535,18): erro
node_modules/chrome-devtools-frontend/front_end/common/Settings.js(541,18): error TS2339: Property 'horizontal' does not exist on type '{}'.
node_modules/chrome-devtools-frontend/front_end/common/Settings.js(542,18): error TS2339: Property 'horizontal' does not exist on type '{}'.
node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(102,5): error TS2322: Type 'Timer' is not assignable to type 'number'.
-node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(113,34): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/common/Throttler.js(114,18): error TS2339: Property 'FinishCallback' does not exist on type 'typeof Throttler'.
node_modules/chrome-devtools-frontend/front_end/common/UIString.js(40,17): error TS2339: Property 'vsprintf' does not exist on type 'StringConstructor'.
node_modules/chrome-devtools-frontend/front_end/common/UIString.js(62,36): error TS2339: Property 'tokenizeFormatString' does not exist on type 'StringConstructor'.
@@ -3929,7 +3853,7 @@ node_modules/chrome-devtools-frontend/front_end/common/Worker.js(82,25): error T
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(39,45): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(40,46): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(41,38): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(43,96): error TS2694: Namespace 'DOMBreakpointsSidebarPane' has no exported member 'Item'.
+node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(43,96): error TS2694: Namespace 'Components.DOMBreakpointsSidebarPane' has no exported member 'Item'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(75,38): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(78,16): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(80,37): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -3941,7 +3865,6 @@ node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebar
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(157,13): error TS2339: Property '_item' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(177,45): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(180,45): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(233,106): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(234,38): error TS2300: Duplicate identifier 'Item'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(234,38): error TS2339: Property 'Item' does not exist on type 'typeof DOMBreakpointsSidebarPane'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(237,61): error TS2555: Expected at least 2 arguments, but got 1.
@@ -3950,7 +3873,7 @@ node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebar
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(243,61): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(244,63): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(245,57): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(267,52): error TS2694: Namespace 'DOMBreakpoint' has no exported member 'Type'.
+node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(267,52): error TS2694: Namespace 'SDK.DOMDebuggerModel.DOMBreakpoint' has no exported member 'Type'.
node_modules/chrome-devtools-frontend/front_end/components/DOMBreakpointsSidebarPane.js(276,72): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DOMPresentationUtils.js(46,35): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/DOMPresentationUtils.js(51,35): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -3983,18 +3906,18 @@ node_modules/chrome-devtools-frontend/front_end/components/DOMPresentationUtils.
node_modules/chrome-devtools-frontend/front_end/components/DOMPresentationUtils.js(643,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/components/DOMPresentationUtils.js(657,19): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DockController.js(42,46): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/components/DockController.js(44,62): error TS2339: Property 'closeWindow' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/components/DockController.js(44,62): error TS2339: Property 'closeWindow' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/components/DockController.js(70,7): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DockController.js(70,41): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DockController.js(70,76): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DockController.js(71,7): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/DockController.js(116,33): error TS2339: Property 'deepActiveElement' does not exist on type 'Document'.
-node_modules/chrome-devtools-frontend/front_end/components/DockController.js(122,27): error TS2339: Property 'setIsDocked' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/components/DockController.js(193,5): error TS2322: 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; }'.
+node_modules/chrome-devtools-frontend/front_end/components/DockController.js(122,27): error TS2339: Property 'setIsDocked' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/components/DockController.js(193,5): error TS2322: 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/components/DockController.js(193,5): error TS2322: 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; }'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(62,24): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(125,94): error TS2339: Property 'remove' does not exist on type 'Map'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(127,41): error TS2339: Property 'remove' does not exist on type 'Map'.
@@ -4009,7 +3932,7 @@ node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(390,12):
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(392,12): error TS2339: Property 'href' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(418,10): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(432,31): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(440,33): error TS2339: Property 'TextUtils' does not exist on type 'typeof TextUtils'.
+node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(440,43): error TS2339: Property 'splitStringByRegexes' does not exist on type 'typeof TextUtils'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(443,16): error TS2339: Property 'createTextChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(445,16): error TS2339: Property 'createTextChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(481,27): error TS2694: Namespace 'Components' has no exported member '_LinkInfo'.
@@ -4020,7 +3943,7 @@ node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(504,31):
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(505,28): error TS2339: Property '_linkHandlerSettingInstance' does not exist on type 'typeof Linkifier'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(506,60): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(508,33): error TS2339: Property '_linkHandlerSettingInstance' does not exist on type 'typeof Linkifier'.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(513,36): error TS2694: Namespace 'Linkifier' has no exported member 'LinkHandler'.
+node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(513,36): error TS2694: Namespace 'Components.Linkifier' has no exported member 'LinkHandler'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(517,10): error TS2339: Property 'runtime' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(525,10): error TS2339: Property 'runtime' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(564,9): error TS2322: Type '({ [x: string]: any; section: string; title: string; handler: any; } | { section: string; title: ...' is not assignable to type '{ title: string; handler: () => any; }[]'.
@@ -4031,16 +3954,13 @@ node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(565,16):
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(572,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(580,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(587,16): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(611,46): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(614,105): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(611,46): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(614,105): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(616,5): error TS2322: Type '({ [x: string]: any; section: string; title: string; handler: any; } | { section: string; title: ...' is not assignable to type '{ title: string; handler: () => any; }[]'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(631,2): error TS1131: Property or signature expected.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(642,12): error TS2339: Property '_LinkInfo' does not exist on type 'typeof Components'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(646,2): error TS1131: Property or signature expected.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(654,12): error TS2339: Property 'LinkifyURLOptions' does not exist on type 'typeof Components'.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(665,2): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(666,22): error TS2551: Property 'LinkHandler' does not exist on type 'typeof Linkifier'. Did you mean '_linkHandlers'?
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(668,47): error TS2694: Namespace 'Linkifier' has no exported member 'LinkHandler'.
+node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(668,47): error TS2694: Namespace 'Components.Linkifier' has no exported member 'LinkHandler'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(675,1): error TS8022: JSDoc '@extends' is not attached to a class.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(680,15): error TS2355: A function whose declared type is neither 'void' nor 'any' must return a value.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(703,31): error TS2339: Property 'parentNodeOrShadowHost' does not exist on type 'Node'.
@@ -4052,9 +3972,9 @@ node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(729,14):
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(732,19): error TS2339: Property 'disabled' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(739,30): error TS2339: Property 'value' does not exist on type 'EventTarget'.
node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(748,46): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(769,67): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(779,64): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/components/Reload.js(7,27): error TS2339: Property 'setIsDocked' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(769,67): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/components/Linkifier.js(779,64): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/components/Reload.js(7,27): error TS2339: Property 'setIsDocked' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.js(8,9): error TS2339: Property 'ConsoleContextSelector' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.js(45,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; }'.
@@ -4072,7 +3992,7 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.j
node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.js(323,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleContextSelector.js(336,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(5,9): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(8,45): error TS2694: Namespace 'FilterParser' has no exported member 'ParsedFilter'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(8,45): error TS2694: Namespace 'TextUtils.FilterParser' has no exported member 'ParsedFilter'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(16,45): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(33,26): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(54,24): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -4080,9 +4000,9 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(72,47):
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(83,24): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(87,24): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(90,25): error TS2352: Type 'string' cannot be converted to type '{ [x: string]: any; XML: string; JS: string; Network: string; ConsoleAPI: string; Storage: string...'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(90,61): error TS2694: Namespace 'ConsoleMessage' has no exported member 'MessageSource'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(90,61): error TS2694: Namespace 'ConsoleModel.ConsoleMessage' has no exported member 'MessageSource'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(95,24): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(105,40): error TS2694: Namespace 'FilterParser' has no exported member 'ParsedFilter'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(105,40): error TS2694: Namespace 'TextUtils.FilterParser' has no exported member 'ParsedFilter'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleFilter.js(127,9): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsolePanel.js(32,9): error TS2339: Property 'ConsolePanel' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsolePanel.js(35,26): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -4109,9 +4029,9 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(143,19)
node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(159,11): error TS2339: Property 'consume' does not exist on type 'KeyboardEvent'.
node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(206,19): error TS2339: Property 'ConsolePanel' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(207,38): error TS2345: Argument of type 'number' is not assignable to parameter of type '{ [x: string]: any; WindowDocked: number; WindowUndocked: number; ScriptsBreakpointSet: number; T...'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(217,30): error TS2694: Namespace 'SuggestBox' has no exported member 'Suggestions'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(217,30): error TS2694: Namespace 'UI.SuggestBox' has no exported member 'Suggestions'.
node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(246,20): error TS2339: Property 'focus' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(272,39): error TS2694: Namespace 'SuggestBox' has no exported member 'Suggestions'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(272,39): error TS2694: Namespace 'UI.SuggestBox' has no exported member 'Suggestions'.
node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(300,9): error TS2339: Property 'ConsoleHistoryManager' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsolePrompt.js(387,9): error TS2339: Property 'ConsolePrompt' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(5,9): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -4128,7 +4048,7 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(44,17)
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(44,69): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(47,17): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(47,72): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(57,45): error TS2694: Namespace 'FilterParser' has no exported member 'ParsedFilter'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(57,45): error TS2694: Namespace 'TextUtils.FilterParser' has no exported member 'ParsedFilter'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(64,30): error TS2339: Property 'ConsoleFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(65,35): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(94,38): error TS2339: Property '_filter' does not exist on type 'TreeElement'.
@@ -4167,13 +4087,16 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(241,52
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(242,12): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleSidebar.js(242,55): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(34,9): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(40,50): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; searchCanceled(): void; performSearch(searchConfig: SearchConfig, shouldJump:...'.
+ Type 'ConsoleView' is not assignable to type '{ [x: string]: any; searchCanceled(): void; performSearch(searchConfig: SearchConfig, shouldJump:...'.
+ Property '_searchableView' does not exist on type '{ [x: string]: any; searchCanceled(): void; performSearch(searchConfig: SearchConfig, shouldJump:...'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(42,41): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(45,33): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(46,44): error TS2339: Property 'ConsoleSidebar' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(48,32): error TS2339: Property 'ConsoleViewFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(63,33): error TS2345: Argument of type 'ToolbarButton' is not assignable to parameter of 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; }'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(88,44): error TS2694: Namespace 'ConsoleView' has no exported member 'RegexMatchRange'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(88,44): error TS2694: Namespace 'Console.ConsoleView' has no exported member 'RegexMatchRange'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(92,48): error TS2339: Property 'ConsoleContextSelector' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(98,67): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(102,87): error TS2555: Expected at least 2 arguments, but got 1.
@@ -4274,8 +4197,6 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(955,22):
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(959,123): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(963,61): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1009,44): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1113,78): error TS2339: Property 'highlightedCurrentSearchResultClassName' does not exist on type 'typeof UI'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1122,36): error TS2339: Property 'highlightedCurrentSearchResultClassName' does not exist on type 'typeof UI'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1124,19): error TS2339: Property 'scrollIntoViewIfNeeded' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1183,9): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1185,9): error TS2339: Property 'ConsoleViewFilter' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -4324,10 +4245,9 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1477,9):
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1486,38): error TS2339: Property 'collapsed' does not exist on type 'ConsoleViewMessage'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1493,24): error TS2339: Property 'ConsoleGroup' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1521,9): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1531,31): error TS2339: Property 'bringToFront' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1531,31): error TS2339: Property 'bringToFront' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1535,17): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1538,17): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1547,2): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1548,9): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleView.js(1551,9): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(34,9): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -4433,13 +4353,13 @@ node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(13
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1381,63): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1388,33): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1389,44): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1391,31): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1391,31): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1402,20): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1412,18): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1430,15): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1431,15): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1433,33): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
-node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1435,29): error TS2339: Property 'TextUtils' does not exist on type 'typeof TextUtils'.
+node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1435,39): error TS2339: Property 'splitStringByRegexes' does not exist on type 'typeof TextUtils'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1435,76): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1437,55): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console/ConsoleViewMessage.js(1453,26): error TS2339: Property 'ConsoleViewMessage' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -4573,19 +4493,19 @@ node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(17
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(193,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(196,70): error TS2694: Namespace 'Protocol' has no exported member 'Log'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(207,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(210,63): error TS2694: Namespace 'RuntimeModel' has no exported member 'ExceptionWithTimestamp'.
+node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(210,63): error TS2694: Namespace 'SDK.RuntimeModel' has no exported member 'ExceptionWithTimestamp'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(219,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(228,5): error TS2322: Type 'string' is not assignable to type '{ [x: string]: any; Verbose: string; Info: string; Warning: string; Error: string; }'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(234,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(237,45): error TS2694: Namespace 'RuntimeModel' has no exported member 'ConsoleAPICall'.
+node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(237,45): error TS2694: Namespace 'SDK.RuntimeModel' has no exported member 'ConsoleAPICall'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(269,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(286,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(295,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(298,49): error TS2694: Namespace 'CPUProfilerModel' has no exported member 'EventData'.
+node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(298,49): error TS2694: Namespace 'SDK.CPUProfilerModel' has no exported member 'EventData'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(306,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(309,49): error TS2694: Namespace 'CPUProfilerModel' has no exported member 'EventData'.
+node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(309,49): error TS2694: Namespace 'SDK.CPUProfilerModel' has no exported member 'EventData'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(337,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(340,50): error TS2694: Namespace 'NetworkManager' has no exported member 'Message'.
+node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(340,50): error TS2694: Namespace 'SDK.NetworkManager' has no exported member 'Message'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(355,12): error TS2678: Type 'string' is not comparable to type '{ [x: string]: any; Verbose: string; Info: string; Warning: string; Error: string; }'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(358,12): error TS2678: Type 'string' is not comparable to type '{ [x: string]: any; Verbose: string; Info: string; Warning: string; Error: string; }'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(424,24): error TS2694: Namespace 'Protocol' has no exported member 'Network'.
@@ -4593,7 +4513,7 @@ node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(42
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(426,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(428,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(438,22): error TS2352: Type 'string' cannot be converted to type '{ [x: string]: any; Verbose: string; Info: string; Warning: string; Error: string; }'.
-node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(438,58): error TS2694: Namespace 'ConsoleMessage' has no exported member 'MessageLevel'.
+node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(438,58): error TS2694: Namespace 'ConsoleModel.ConsoleMessage' has no exported member 'MessageLevel'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(448,26): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(481,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(514,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
@@ -4603,18 +4523,15 @@ node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(56
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(578,54): error TS2339: Property '_pageLoadSequenceNumber' does not exist on type 'ConsoleMessage'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(615,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(616,24): error TS2694: Namespace 'Protocol' has no exported member 'Runtime'.
-node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(695,46): error TS2694: Namespace 'ConsoleMessage' has no exported member 'MessageSource'.
+node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(695,46): error TS2694: Namespace 'ConsoleModel.ConsoleMessage' has no exported member 'MessageSource'.
node_modules/chrome-devtools-frontend/front_end/console_model/ConsoleModel.js(696,1): error TS2322: Type 'Map' is not assignable to type 'Map<{ [x: string]: any; XML: string; JS: string; Network: string; ConsoleAPI: string; Storage: st...'.
Type 'string' is not assignable to type '{ [x: string]: any; XML: string; JS: string; Network: string; ConsoleAPI: string; Storage: string...'.
-node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(10,73): error TS1003: Identifier expected.
-node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(11,19): error TS2339: Property 'Formatter' does not exist on type 'typeof ConsoleTestRunner'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(16,31): error TS2694: Namespace 'ConsoleTestRunner' has no exported member 'Formatter'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(26,31): error TS2694: Namespace 'ConsoleTestRunner' has no exported member 'Formatter'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(33,29): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(73,36): error TS2339: Property 'deepTextContent' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(96,13): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(143,26): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
-node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(151,38): error TS2339: Property 'runtimeModel' does not exist on type 'typeof TestRunner'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(170,29): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(191,33): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(216,29): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
@@ -4639,7 +4556,7 @@ node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestR
node_modules/chrome-devtools-frontend/front_end/console_test_runner/ConsoleTestRunner.js(563,30): error TS2339: Property 'ConsoleView' does not exist on type '{ new (): Console; prototype: Console; }'.
node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(39,36): error TS1138: Parameter declaration expected.
node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(39,36): error TS8024: JSDoc '@param' tag has name 'function', but there is no parameter with that name.
-node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(50,56): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(50,56): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(53,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(61,28): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(62,29): error TS2555: Expected at least 2 arguments, but got 1.
@@ -4668,7 +4585,6 @@ node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(461
node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(470,51): error TS2339: Property 'asParsedURL' does not exist on type 'string'.
node_modules/chrome-devtools-frontend/front_end/cookie_table/CookiesTable.js(489,49): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(7,2): error TS1131: Property or signature expected.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(13,10): error TS2339: Property 'RawLocation' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(50,68): error TS2339: Property 'get' does not exist on type 'Multimap'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(115,45): error TS2339: Property 'set' does not exist on type 'Multimap'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(135,32): error TS2694: Namespace 'Coverage' has no exported member 'RawLocation'.
@@ -4681,14 +4597,10 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManag
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(248,24): error TS2694: Namespace 'Coverage' has no exported member 'RawLocation'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(255,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(258,34): error TS1110: Type expected.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(268,23): error TS2339: Property 'LineDecorator' does not exist on type 'typeof CoverageView'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(277,18): error TS2339: Property 'uninstallGutter' does not exist on type 'CodeMirrorTextEditor'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(277,56): error TS2339: Property 'LineDecorator' does not exist on type 'typeof CoverageView'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(292,44): error TS2339: Property 'LineDecorator' does not exist on type 'typeof CoverageView'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(293,16): error TS2339: Property 'uninstallGutter' does not exist on type 'CodeMirrorTextEditor'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(294,16): error TS2339: Property 'installGutter' does not exist on type 'CodeMirrorTextEditor'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(300,18): error TS2339: Property 'setGutterDecoration' does not exist on type 'CodeMirrorTextEditor'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageDecorationManager.js(305,23): error TS2339: Property 'LineDecorator' does not exist on type 'typeof CoverageView'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(18,26): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(19,27): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(21,16): error TS2555: Expected at least 2 arguments, but got 1.
@@ -4696,15 +4608,11 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(29,
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(39,36): error TS2345: Argument of type 'string' is not assignable to parameter of type '{ [x: string]: any; Nearest: string; First: string; Last: string; }'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(112,11): error TS2339: Property 'consume' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(201,24): error TS2694: Namespace 'Coverage' has no exported member 'CoverageType'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(205,25): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(206,18): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(207,25): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(208,18): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(209,30): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(210,18): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(264,14): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(265,26): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(276,50): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(277,16): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(277,24): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(280,35): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'.
@@ -4712,27 +4620,22 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(284
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(285,39): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(286,45): error TS2339: Property 'withThousandsSeparator' does not exist on type 'NumberConstructor'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageListView.js(290,33): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(5,72): error TS1003: Identifier expected.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(6,10): error TS2339: Property 'RangeUseCount' does not exist on type 'typeof Coverage'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(8,57): error TS1003: Identifier expected.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(9,10): error TS2339: Property 'CoverageSegment' does not exist on type 'typeof Coverage'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(14,10): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(34,42): error TS2694: Namespace 'Protocol' has no exported member 'Profiler'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(100,37): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(103,46): error TS2345: Argument of type 'CSSStyleSheetHeader' is not assignable to parameter of type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
Property '_cssModel' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(131,31): error TS2694: Namespace 'Protocol' has no exported member 'Profiler'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(141,27): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(148,28): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
+node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(152,37): error TS2345: Argument of type 'Script' is not assignable to parameter of type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
+ Property 'debuggerModel' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): Promise<...'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(170,31): error TS2694: Namespace 'Protocol' has no exported member 'CSS'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(175,64): error TS2694: Namespace 'Coverage' has no exported member 'RangeUseCount'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(190,48): error TS2694: Namespace 'Coverage' has no exported member 'RangeUseCount'.
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(193,28): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
+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<...'.
+ Property '_cssModel' does not exist on type '{ [x: string]: any; contentURL(): string; contentType(): ResourceType; contentEncoded(): 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[]'.
@@ -4744,8 +4647,6 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(267,37
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(288,26): error TS2694: Namespace 'Coverage' has no exported member 'CoverageType'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(301,25): error TS2694: Namespace 'Coverage' has no exported member 'CoverageType'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(340,24): error TS2694: Namespace 'Coverage' has no exported member 'CoverageType'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(347,26): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
-node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(356,26): error TS2339: Property 'CoverageType' does not exist on type 'typeof Coverage'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(371,24): error TS2694: Namespace 'Coverage' has no exported member 'CoverageType'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(398,25): error TS2694: Namespace 'Coverage' has no exported member 'CoverageType'.
node_modules/chrome-devtools-frontend/front_end/coverage/CoverageModel.js(405,31): error TS2694: Namespace 'Coverage' has no exported member 'CoverageSegment'.
@@ -4777,28 +4678,15 @@ node_modules/chrome-devtools-frontend/front_end/coverage/CoverageView.js(231,59)
node_modules/chrome-devtools-frontend/front_end/coverage_test_runner/CoverageTestRunner.js(12,27): error TS2339: Property 'runtime' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/coverage_test_runner/CoverageTestRunner.js(20,27): error TS2339: Property 'runtime' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/coverage_test_runner/CoverageTestRunner.js(28,27): error TS2339: Property 'runtime' does not exist on type 'Window'.
-node_modules/chrome-devtools-frontend/front_end/coverage_test_runner/CoverageTestRunner.js(37,76): error TS2339: Property 'LineDecorator' does not exist on type 'typeof CoverageView'.
node_modules/chrome-devtools-frontend/front_end/coverage_test_runner/CoverageTestRunner.js(52,31): error TS2339: Property 'runtime' does not exist on type 'Window'.
node_modules/chrome-devtools-frontend/front_end/coverage_test_runner/CoverageTestRunner.js(87,31): error TS2339: Property 'runtime' does not exist on type 'Window'.
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(12,28): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(44,25): error TS2551: Property '_showProfileWhenAdded' does not exist on type 'typeof CPUProfilerTestRunner'. Did you mean 'showProfileWhenAdded'?
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(48,29): error TS2551: Property '_showProfileWhenAdded' does not exist on type 'typeof CPUProfilerTestRunner'. Did you mean 'showProfileWhenAdded'?
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(49,8): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(54,26): error TS2551: Property 'panels' does not exist on type 'typeof UI'. Did you mean 'Panel'?
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(60,27): error TS2339: Property '_waitUntilProfileViewIsShownCallback' does not exist on type 'typeof CPUProfilerTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(65,29): error TS2339: Property '_waitUntilProfileViewIsShownCallback' does not exist on type 'typeof CPUProfilerTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(66,29): error TS2339: Property '_waitUntilProfileViewIsShownCallback' does not exist on type 'typeof CPUProfilerTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(66,81): error TS2339: Property '_profileHeader' does not exist on type 'typeof CPUProfilerTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(67,42): error TS2339: Property '_waitUntilProfileViewIsShownCallback' does not exist on type 'typeof CPUProfilerTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/cpu_profiler_test_runner/ProfilerTestRunner.js(68,34): error TS2339: Property '_waitUntilProfileViewIsShownCallback' does not exist on type 'typeof CPUProfilerTestRunner'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(32,41): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(32,41): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(41,18): error TS2339: Property 'tabIndex' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(49,40): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(55,42): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(57,45): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(69,43): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(71,52): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(73,43): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(69,43): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(73,43): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(82,54): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(84,47): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(86,45): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -4807,13 +4695,13 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(94,42): er
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(96,45): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(98,48): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(109,26): error TS2352: Type 'DataGridNode' cannot be converted to type 'NODE_TYPE'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(118,35): error TS2694: Namespace 'DataGrid' has no exported member 'ResizeMethod'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(118,35): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ResizeMethod'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(119,5): error TS2322: Type 'string' is not assignable to type '{ [x: string]: any; Nearest: string; First: string; Last: string; }'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(135,15): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(139,15): error TS2339: Property 'title' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(159,33): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(159,33): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(196,12): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(202,33): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(202,33): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(240,34): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(241,32): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(242,21): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
@@ -4915,7 +4803,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(912,25): e
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(921,29): error TS2339: Property 'enclosingNodeOrSelfWithNodeName' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(930,30): error TS2339: Property 'enclosingNodeOrSelfWithNodeName' does not exist on type 'Node'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(938,29): error TS2339: Property 'enclosingNodeOrSelfWithNodeName' does not exist on type 'EventTarget'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(960,33): error TS2694: Namespace 'DataGrid' has no exported member 'Order'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(960,33): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'Order'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(983,32): error TS2339: Property 'selectable' does not exist on type 'NODE_TYPE'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(983,55): error TS2339: Property 'isEventWithinDisclosureTriangle' does not exist on type 'NODE_TYPE'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(990,15): error TS2339: Property 'metaKey' does not exist on type 'Event'.
@@ -4941,7 +4829,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1065,18):
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1067,17): error TS2339: Property 'altKey' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1068,18): error TS2339: Property 'expandRecursively' does not exist on type 'NODE_TYPE'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1070,18): error TS2339: Property 'expand' does not exist on type 'NODE_TYPE'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1075,33): error TS2694: Namespace 'DataGrid' has no exported member 'ResizeMethod'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1075,33): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ResizeMethod'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1105,27): error TS2339: Property 'clientX' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1105,50): error TS2339: Property 'totalOffsetLeft' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1106,47): error TS2339: Property 'rows' does not exist on type 'Element'.
@@ -5035,13 +4923,13 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(1997,34):
node_modules/chrome-devtools-frontend/front_end/data_grid/DataGrid.js(2008,1): error TS8022: JSDoc '@extends' is not attached to a class.
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' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(11,40): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(19,5): error TS2322: Type '(a: SortableDataGridNode, b: SortableDataGridNode) => number' is not assignable to type '(arg0: NODE_TYPE, arg1: NODE_TYPE) => number'.
Types of parameters 'a' and 'arg0' are incompatible.
Type 'NODE_TYPE' is not assignable to type 'SortableDataGridNode'.
node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(19,5): error TS2322: Type '(a: SortableDataGridNode, b: SortableDataGridNode) => number' is not assignable to type '(arg0: NODE_TYPE, arg1: NODE_TYPE) => number'.
node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(20,80): error TS2345: Argument of type 'SortableDataGridNode' is not assignable to parameter of type 'NODE_TYPE'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(82,56): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
+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_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(141,21): error TS2339: Property 'recalculateSiblings' does not exist on type 'NODE_TYPE'.
node_modules/chrome-devtools-frontend/front_end/data_grid/SortableDataGrid.js(142,21): error TS2339: Property '_sortChildren' does not exist on type 'NODE_TYPE'.
@@ -5059,7 +4947,7 @@ node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(9,
Types of property 'Events' are incompatible.
Type '{ [x: string]: any; ViewportCalculated: symbol; }' is not assignable to type '{ [x: string]: any; SelectedNode: symbol; DeselectedNode: symbol; OpenedNode: symbol; SortingChan...'.
Property 'SelectedNode' is missing in type '{ [x: string]: any; ViewportCalculated: symbol; }'.
-node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(11,41): error TS2694: Namespace 'DataGrid' has no exported member 'ColumnDescriptor'.
+node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(11,41): error TS2694: Namespace 'DataGrid.DataGrid' has no exported member 'ColumnDescriptor'.
node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(32,22): error TS2345: Argument of type 'ViewportDataGridNode' is not assignable to parameter of type 'NODE_TYPE'.
node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(43,41): error TS2339: Property 'flatChildren' does not exist on type 'NODE_TYPE'.
node_modules/chrome-devtools-frontend/front_end/data_grid/ViewportDataGrid.js(87,49): error TS2339: Property 'isScrolledToBottom' does not exist on type 'Element'.
@@ -5109,6 +4997,9 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(36,47): e
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(38,55): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(41,9): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(42,55): error TS2555: Expected at least 2 arguments, but got 1.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(46,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(48,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(50,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(54,25): error TS2339: Property 'tabIndex' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(62,30): error TS2339: Property '_instanceObject' does not exist on type 'typeof DevicesView'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(63,27): error TS2339: Property '_instanceObject' does not exist on type 'typeof DevicesView'.
@@ -5132,19 +5023,19 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(161,22):
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(164,34): error TS2694: Namespace 'Adb' has no exported member 'PortForwardingStatus'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(179,9): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(180,38): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(191,29): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(192,27): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(201,29): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(191,29): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(192,27): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(201,29): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(211,25): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(212,9): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(214,62): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(220,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(220,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(223,29): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(224,44): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(227,9): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(229,21): error TS2694: Namespace 'Adb' has no exported member 'Config'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(237,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(244,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(237,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(244,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(250,19): error TS2694: Namespace 'Adb' has no exported member 'Config'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(265,44): error TS2694: Namespace 'Adb' has no exported member 'PortForwardingRule'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(272,45): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -5153,11 +5044,9 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(279,45):
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(280,60): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(283,88): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(285,36): error TS2694: Namespace 'Adb' has no exported member 'PortForwardingRule'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(286,5): error TS2322: Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
- Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
- Property 'renderItem' is missing in type 'ListWidget'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(286,5): error TS2322: Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
- Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(286,36): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
+ Type 'PortForwardingView' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
+ Property '_callback' does not exist on type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(290,31): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(293,43): error TS2694: Namespace 'Adb' has no exported member 'PortForwardingRule'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(297,29): error TS2555: Expected at least 2 arguments, but got 1.
@@ -5182,14 +5071,12 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(450,67):
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(458,47): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(461,11): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(463,26): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(464,66): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(464,66): error TS2339: Property 'openInNewTab' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(466,64): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(469,36): error TS2694: Namespace 'Adb' has no exported member 'PortForwardingRule'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(470,5): error TS2322: Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
- Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(470,5): error TS2322: Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
- Type 'ListWidget' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
- Property 'renderItem' is missing in type 'ListWidget'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(470,36): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
+ Type 'NetworkDiscoveryView' is not assignable to type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
+ Property '_nodeFrontend' does not exist on type '{ [x: string]: any; renderItem(item: T, editable: boolean): Element; removeItemRequested(item: T,...'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(475,24): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(475,70): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(478,43): error TS2694: Namespace 'Adb' has no exported member 'PortForwardingRule'.
@@ -5211,11 +5098,11 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(620,9): e
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(622,44): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(623,36): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(625,42): error TS2339: Property 'createChild' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(627,50): error TS2694: Namespace 'DevicesView' has no exported member 'BrowserSection'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(627,50): error TS2694: Namespace 'Devices.DevicesView' has no exported member 'BrowserSection'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(632,21): error TS2694: Namespace 'Adb' has no exported member 'Device'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(637,19): error TS2694: Namespace 'Adb' has no exported member 'Device'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(657,27): error TS2339: Property 'remove' does not exist on type 'Map'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(675,36): error TS2694: Namespace 'DevicesView' has no exported member 'BrowserSection'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(675,36): error TS2694: Namespace 'Devices.DevicesView' has no exported member 'BrowserSection'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(679,26): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(682,29): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(683,52): error TS2555: Expected at least 2 arguments, but got 1.
@@ -5228,13 +5115,13 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(715,11):
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(716,11): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(723,17): error TS2339: Property 'key' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(724,15): error TS2339: Property 'consume' does not exist on type 'Event'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(731,31): error TS2339: Property 'openRemotePage' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(731,31): error TS2339: Property 'openRemotePage' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(731,78): error TS2339: Property 'value' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(732,21): error TS2339: Property 'value' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(738,35): error TS2694: Namespace 'DevicesView' has no exported member 'BrowserSection'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(738,35): error TS2694: Namespace 'Devices.DevicesView' has no exported member 'BrowserSection'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(739,19): error TS2694: Namespace 'Adb' has no exported member 'Browser'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(745,44): error TS2339: Property 'sprintf' does not exist on type 'StringConstructor'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(783,36): error TS2694: Namespace 'DevicesView' has no exported member 'PageSection'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(783,36): error TS2694: Namespace 'Devices.DevicesView' has no exported member 'PageSection'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(788,28): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(790,39): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(794,31): error TS2345: Argument of type 'ToolbarMenuButton' is not assignable to parameter of type '{ [x: string]: any; item(): any & any; } & { [x: string]: any; item(): any & any; }'.
@@ -5243,27 +5130,25 @@ node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(797,23):
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(805,47): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(806,47): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(807,47): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(815,31): error TS2339: Property 'performActionOnRemotePage' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(820,35): error TS2694: Namespace 'DevicesView' has no exported member 'PageSection'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(815,31): error TS2339: Property 'performActionOnRemotePage' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(820,35): error TS2694: Namespace 'Devices.DevicesView' has no exported member 'PageSection'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(821,19): error TS2694: Namespace 'Adb' has no exported member 'Page'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(838,19): error TS2694: Namespace 'Adb' has no exported member 'DevicePortForwardingStatus'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(847,82): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(890,31): error TS2694: Namespace 'Adb' has no exported member 'Browser'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(890,179): error TS2694: Namespace 'DevicesView' has no exported member 'PageSection'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(890,194): error TS1003: Identifier expected.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(890,179): error TS2694: Namespace 'Devices.DevicesView' has no exported member 'PageSection'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(891,21): error TS2339: Property 'BrowserSection' does not exist on type 'typeof DevicesView'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(893,28): error TS2694: Namespace 'Adb' has no exported member 'Page'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(893,105): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(894,21): error TS2339: Property 'PageSection' does not exist on type 'typeof DevicesView'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(903,41): error TS2339: Property 'createChild' does not exist on type 'Element'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(908,27): error TS2551: Property 'events' does not exist on type 'typeof InspectorFrontendHostAPI'. Did you mean 'Events'?
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(911,21): error TS2694: Namespace 'Adb' has no exported member 'Config'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(914,25): error TS2339: Property 'tabIndex' does not exist on type 'Element'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(918,27): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(919,27): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(924,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(918,27): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(919,27): error TS2339: Property 'setDevicesUpdatesEnabled' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(924,29): error TS2339: Property 'setDevicesDiscoveryConfig' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(930,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/devices/DevicesView.js(933,36): error TS2694: Namespace 'Adb' has no exported member 'Config'.
-node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(20,18): error TS2315: Type 'Object' is not generic.
node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(20,34): error TS1005: '>' expected.
node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(56,48): error TS2315: Type 'Object' is not generic.
node_modules/chrome-devtools-frontend/front_end/devtools_compatibility.js(56,61): error TS1009: Trailing comma not allowed.
@@ -5301,7 +5186,6 @@ node_modules/chrome-devtools-frontend/front_end/diff/Diff.js(15,14): error TS233
node_modules/chrome-devtools-frontend/front_end/diff/Diff.js(22,21): error TS2694: Namespace 'Diff' has no exported member 'Diff'.
node_modules/chrome-devtools-frontend/front_end/diff/Diff.js(43,20): error TS2694: Namespace 'Diff' has no exported member 'Diff'.
node_modules/chrome-devtools-frontend/front_end/diff/Diff.js(91,33): error TS2694: Namespace 'Diff' has no exported member 'Diff'.
-node_modules/chrome-devtools-frontend/front_end/diff/Diff.js(91,70): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/diff/diff_match_patch.js(6,116): error TS2322: Type 'string[]' is not assignable to type '{ [x: string]: any; chars1: string; chars2: string; lineArray: string[]; }'.
Property 'chars1' is missing in type 'string[]'.
node_modules/chrome-devtools-frontend/front_end/diff/diff_match_patch.js(6,240): error TS2322: Type '0' is not assignable to type '{ [x: string]: any; chars1: string; chars2: string; lineArray: string[]; }'.
@@ -5503,7 +5387,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(25
node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(291,94): error TS2339: Property 'addAll' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(297,55): error TS2339: Property 'addAll' does not exist on type 'Set'.
node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(299,57): error TS2339: Property 'valuesArray' does not exist on type 'Set'.
-node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(306,39): error TS2694: Namespace 'SuggestBox' has no exported member 'Suggestions'.
+node_modules/chrome-devtools-frontend/front_end/elements/ClassesPaneWidget.js(306,39): error TS2694: Namespace 'UI.SuggestBox' has no exported member 'Suggestions'.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(18,32): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(18,40): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(20,77): error TS2339: Property 'consume' does not exist on type 'Event'.
@@ -5513,7 +5397,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(103,29): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(104,32): error TS2339: Property 'title' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(106,77): error TS2339: Property 'consume' does not exist on type 'Event'.
-node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(122,28): error TS2694: Namespace 'CSSModel' has no exported member 'ContrastInfo'.
+node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(122,28): error TS2694: Namespace 'SDK.CSSModel' has no exported member 'ContrastInfo'.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(134,11): error TS2339: Property 'consume' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(146,9): error TS2365: Operator '===' cannot be applied to types '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...' and 'string'.
node_modules/chrome-devtools-frontend/front_end/elements/ColorSwatchPopoverIcon.js(149,36): error TS2345: Argument of type '{ [x: string]: any; Original: string; Nickname: string; HEX: string; ShortHEX: string; HEXA: stri...' is not assignable to parameter of type 'string'.
@@ -5581,15 +5465,18 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementStatePaneWidget.
node_modules/chrome-devtools-frontend/front_end/elements/ElementStatePaneWidget.js(109,26): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/elements/ElementStatePaneWidget.js(124,5): error TS2322: Type 'ToolbarToggle' is not assignable to 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; }'.
+ Property 'item' is missing in type 'ToolbarToggle'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementStatePaneWidget.js(124,5): error TS2322: Type 'ToolbarToggle' is not assignable to 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; }'.
- Property 'item' is missing in type 'ToolbarToggle'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsBreadcrumbs.js(12,46): error TS2339: Property 'createChild' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsBreadcrumbs.js(86,37): error TS2339: Property 'nextSiblingElement' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsBreadcrumbs.js(104,16): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsBreadcrumbs.js(215,38): error TS2339: Property 'offsetWidth' does not exist on type 'Element'.
+node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(47,50): error TS2345: Argument of type 'this' is not assignable to parameter of type '{ [x: string]: any; searchCanceled(): void; performSearch(searchConfig: SearchConfig, shouldJump:...'.
+ Type 'ElementsPanel' is not assignable to type '{ [x: string]: any; searchCanceled(): void; performSearch(searchConfig: SearchConfig, shouldJump:...'.
+ Property '_splitWidget' does not exist on type '{ [x: string]: any; searchCanceled(): void; performSearch(searchConfig: SearchConfig, shouldJump:...'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(49,41): error TS2555: Expected at least 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(58,40): error TS2694: Namespace 'ElementsPanel' has no exported member '_splitMode'.
+node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(58,40): error TS2694: Namespace 'Elements.ElementsPanel' has no exported member '_splitMode'.
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: str...'.
@@ -5616,7 +5503,6 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(497,82
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(505,15): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(514,15): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(537,30): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(558,75): error TS2339: Property 'highlightedSearchResultClassName' does not exist on type 'typeof UI'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(560,20): error TS2339: Property 'scrollIntoViewIfNeeded' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(565,15): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(565,39): error TS2339: Property '_searchResults' does not exist on type 'ElementsPanel'.
@@ -5627,7 +5513,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(633,13
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(641,13): error TS2339: Property 'handled' does not exist on type 'KeyboardEvent'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(644,15): error TS2339: Property 'handled' does not exist on type 'KeyboardEvent'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(650,15): error TS2339: Property 'handled' does not exist on type 'KeyboardEvent'.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(705,31): error TS2339: Property 'inspectElementCompleted' does not exist on type 'typeof InspectorFrontendHost'.
+node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(705,31): error TS2339: Property 'inspectElementCompleted' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(721,82): error TS2339: Property 'offsetWidth' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(723,39): error TS2339: Property 'offsetWidth' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsPanel.js(728,33): error TS2365: Operator '===' cannot be applied to types 'symbol' and '{ [x: string]: any; Vertical: symbol; Horizontal: symbol; Slim: symbol; }'.
@@ -5755,10 +5641,8 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1533,40): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1537,18): error TS2339: Property 'createTextChild' does not exist on type 'DocumentFragment'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1577,26): error TS2694: Namespace 'Protocol' has no exported member 'Error'.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1603,27): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1607,27): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHost'.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1653,100): error TS1003: Identifier expected.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1654,10): error TS2339: Property 'MultilineEditorController' does not exist on type 'typeof Elements'.
+node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1603,27): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHostAPI'.
+node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElement.js(1607,27): error TS2339: Property 'copyText' does not exist on type 'typeof InspectorFrontendHostAPI'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeElementHighlighter.js(24,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(34,32): error TS2417: Class static side 'typeof ElementsTreeOutline' incorrectly extends base class static side 'typeof TreeOutline'.
Types of property 'Events' are incompatible.
@@ -5770,7 +5654,7 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(45,53): error TS2339: Property 'createChild' does not exist on type 'DocumentFragment'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(49,51): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(120,24): error TS2694: Namespace 'Elements' has no exported member 'MultilineEditorController'.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(143,44): error TS2694: Namespace 'ElementsTreeOutline' has no exported member 'ClipboardData'.
+node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(143,44): error TS2694: Namespace 'Elements.ElementsTreeOutline' has no exported member 'ClipboardData'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(173,11): error TS2339: Property 'handled' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(197,11): error TS2339: Property 'handled' does not exist on type 'Event'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(254,11): error TS2339: Property 'handled' does not exist on type 'Event'.
@@ -5811,7 +5695,6 @@ node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1411,28): error TS2339: Property 'expandAllButtonElement' does not exist on type 'ElementsTreeElement'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1412,26): error TS2339: Property 'expandAllButtonElement' does not exist on type 'ElementsTreeElement'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1429,22): error TS2694: Namespace 'Common' has no exported member 'Event'.
-node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1442,53): error TS1003: Identifier expected.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1443,30): error TS2339: Property 'ClipboardData' does not exist on type 'typeof ElementsTreeOutline'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1597,29): error TS2339: Property 'treeElementForTest' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/ElementsTreeOutline.js(1613,26): error TS2339: Property 'createChild' does not exist on type 'Element'.
@@ -5828,18 +5711,8 @@ node_modules/chrome-devtools-frontend/front_end/elements/EventListenersWidget.js
node_modules/chrome-devtools-frontend/front_end/elements/EventListenersWidget.js(73,15): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/elements/EventListenersWidget.js(77,46): error TS2555: Expected at least 2 arguments, but got 1.
node_modules/chrome-devtools-frontend/front_end/elements/EventListenersWidget.js(129,52): error TS2339: Property 'value' does not exist on type 'EventTarget'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(35,27): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(39,38): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(50,33): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(52,5): error TS2554: Expected 2 arguments, but got 1.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(66,36): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(67,33): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(71,47): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(81,23): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(83,71): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(84,71): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(91,24): error TS2694: Namespace 'Protocol' has no exported member 'Overlay'.
-node_modules/chrome-devtools-frontend/front_end/elements/InspectElementModeController.js(104,27): error TS2339: Property 'Overlay' does not exist on type 'typeof Protocol'.
node_modules/chrome-devtools-frontend/front_end/elements/MetricsSidebarPane.js(56,27): error TS2339: Property 'removeChildren' does not exist on type 'Element'.
node_modules/chrome-devtools-frontend/front_end/elements/MetricsSidebarPane.js(82,24): error TS2345: Argument of type '(Promise