mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Accept baselines
This commit is contained in:
+1
-9
@@ -779,10 +779,6 @@ gulp.task("runtests",
|
||||
runConsoleTests("mocha-fivemat-progress-reporter", /*runInParallel*/ false, done);
|
||||
});
|
||||
|
||||
gulp.task("runtests-in-watch", ["build-rules", "tests"], done => {
|
||||
runConsoleTests("min", /*runInParallel*/ false, done, /*noExit*/ true);
|
||||
});
|
||||
|
||||
const nodeServerOutFile = "tests/webTestServer.js";
|
||||
const nodeServerInFile = "tests/webTestServer.ts";
|
||||
gulp.task(nodeServerOutFile, /*help*/ false, [servicesFile], () => {
|
||||
@@ -1129,9 +1125,5 @@ gulp.task("lint", "Runs tslint on the compiler sources. Optional arguments are:
|
||||
gulp.task("default", "Runs 'local'", ["local"]);
|
||||
|
||||
gulp.task("watch", "Watches the src/ directory for changes and executes runtests-parallel.", [], () => {
|
||||
gulp.watch("src/**/*.*", ["runtests-parallel"]);
|
||||
});
|
||||
|
||||
gulp.task("watch-no-parallel", "Watches the src/ directory for changes and executes runtests.", [], () => {
|
||||
gulp.watch(["src/**/*.*", "scripts/typemock/src/**/*.*"], ["runtests-in-watch"]);
|
||||
gulp.watch(["src/**/*.*", "scripts/typemock/src/**/*.*"], ["runtests-parallel"]);
|
||||
});
|
||||
@@ -380,12 +380,12 @@ namespace project {
|
||||
}
|
||||
});
|
||||
|
||||
const vfs_ = vfs.VirtualFileSystem.createFromDocuments(/*useCaseSensitiveFileNames*/ true, allInputFiles, {
|
||||
const _vfs = vfs.VirtualFileSystem.createFromDocuments(/*useCaseSensitiveFileNames*/ true, allInputFiles, {
|
||||
currentDirectory: vpath.combine("/.src", this.testCase.projectRoot)
|
||||
});
|
||||
|
||||
// Dont allow config files since we are compiling existing source options
|
||||
const compilerHost = new ProjectCompilerHost(vfs_, compilerResult.compilerOptions, this.testCaseJustName, this.testCase, compilerResult.moduleKind);
|
||||
const compilerHost = new ProjectCompilerHost(_vfs, compilerResult.compilerOptions, this.testCaseJustName, this.testCase, compilerResult.moduleKind);
|
||||
return this.compileProjectFiles(compilerResult.moduleKind, compilerResult.configFileSourceFiles, () => rootFiles, compilerHost, compilerResult.compilerOptions);
|
||||
|
||||
function findOutputDtsFile(fileName: string) {
|
||||
|
||||
@@ -707,7 +707,7 @@ namespace ts.tscWatch {
|
||||
createExclusiveCompilerOptionDiagnostic(watch(), configFileContentWithComment, "allowJs", "declaration", /*checkFirst*/ true),
|
||||
createExclusiveCompilerOptionDiagnostic(watch(), configFileContentWithComment, "allowJs", "declaration", /*checkFirst*/ false)
|
||||
];
|
||||
checkOutputErrors(host, initialErrors, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
checkOutputErrors(host, initialErrors, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
|
||||
host.vfs.writeFile("/a/b/tsconfig.json", configFileContentWithoutComment);
|
||||
host.runQueuedTimeoutCallbacks();
|
||||
@@ -715,7 +715,7 @@ namespace ts.tscWatch {
|
||||
createExclusiveCompilerOptionDiagnostic(watch(), configFileContentWithoutComment, "allowJs", "declaration", /*checkFirst*/ true),
|
||||
createExclusiveCompilerOptionDiagnostic(watch(), configFileContentWithoutComment, "allowJs", "declaration", /*checkFirst*/ false)
|
||||
];
|
||||
checkOutputErrors(host, nowErrors, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
checkOutputErrors(host, nowErrors, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
|
||||
assert.equal(nowErrors[0].start, initialErrors[0].start - configFileContentComment.length);
|
||||
assert.equal(nowErrors[1].start, initialErrors[1].start - configFileContentComment.length);
|
||||
@@ -1264,7 +1264,7 @@ namespace ts.tscWatch {
|
||||
|
||||
checkOutputErrors(host, [
|
||||
createCannotFindModuleDiagnostic(watch(), "/a/foo.ts", rootContent1, "bar")
|
||||
], /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
], /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
|
||||
// spy on calls to fileExists after synchronization is triggered
|
||||
const fileExistsSpy2 = spy(host, "fileExists");
|
||||
@@ -1299,7 +1299,7 @@ namespace ts.tscWatch {
|
||||
.verify(_ => _(Arg.includes("/bar.")), Times.atLeastOnce())
|
||||
.revoke();
|
||||
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
|
||||
// spy on fileExists when triggering synchronization
|
||||
const fileExistsSpy2 = spy(host, "fileExists");
|
||||
@@ -1314,7 +1314,7 @@ namespace ts.tscWatch {
|
||||
|
||||
checkOutputErrors(host, [
|
||||
createCannotFindModuleDiagnostic(watch(), "/a/foo.ts", rootContent, "bar")
|
||||
], /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
], /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
|
||||
// spy on fileExists when triggering synchronization
|
||||
const fileExistsSpy3 = spy(host, "fileExists");
|
||||
@@ -1359,12 +1359,12 @@ namespace ts.tscWatch {
|
||||
|
||||
checkOutputErrors(host, [
|
||||
createCannotFindModuleDiagnostic(watch(), "/a/b/foo.ts", rootContent, "fs")
|
||||
], /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
], /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
|
||||
const fileContent2 = fileContent1 + `declare module "fs" {\n export interface Stats {\n isFile(): boolean;\n }\n}`;
|
||||
host.vfs.writeFile("/a/b/bar.d.ts", fileContent2);
|
||||
host.runQueuedTimeoutCallbacks();
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
});
|
||||
|
||||
it("works when reusing program with files from external library", () => {
|
||||
@@ -1397,7 +1397,7 @@ namespace ts.tscWatch {
|
||||
"/a/b/projects/myProject/node_modules/module1/index.js",
|
||||
fakes.FakeServerHost.libPath
|
||||
]);
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterCompilationStarting);
|
||||
|
||||
// verify writeFile was called correctly.
|
||||
writeFileSpy1
|
||||
@@ -1417,7 +1417,7 @@ namespace ts.tscWatch {
|
||||
"/a/b/projects/myProject/node_modules/module1/index.js",
|
||||
fakes.FakeServerHost.libPath
|
||||
]);
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
checkOutputErrors(host, emptyArray, /*errorsPosition*/ ExpectedOutputErrorsPosition.AfterFileChangeDetected);
|
||||
|
||||
// verify writeFile was called correctly
|
||||
writeFileSpy2
|
||||
|
||||
@@ -303,7 +303,7 @@ namespace ts.projectSystem {
|
||||
.setup(_ => _(Arg.any(), Arg.any(), Arg.any(), Arg.any()), {
|
||||
callback: (_requestId: number, _args: string[], _cwd: string, cb: TI.RequestCompletedAction) => {
|
||||
const installedTypings = ["@types/lodash", "@types/react"];
|
||||
const typingFiles = [lodashDts, reactDts];
|
||||
const typingFiles = [lodashDts, reactDts];
|
||||
executeCommand(installer, host, installedTypings, typingFiles, cb);
|
||||
}
|
||||
});
|
||||
|
||||
@@ -21,8 +21,6 @@ tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(40,41): error TS
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(40,45): error TS1002: Unterminated string literal.
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(41,21): error TS2304: Cannot find name 'retValue'.
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(46,13): error TS1005: 'try' expected.
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(47,17): error TS2304: Cannot find name 'console'.
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(53,13): error TS2304: Cannot find name 'console'.
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(58,5): error TS1128: Declaration or statement expected.
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(69,13): error TS1109: Expression expected.
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(72,37): error TS1127: Invalid character.
|
||||
@@ -89,7 +87,7 @@ tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(259,55): error T
|
||||
tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(261,1): error TS1128: Declaration or statement expected.
|
||||
|
||||
|
||||
==== tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts (89 errors) ====
|
||||
==== tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts (87 errors) ====
|
||||
declare module "fs" {
|
||||
export class File {
|
||||
constructor(filename: string);
|
||||
@@ -186,16 +184,12 @@ tests/cases/compiler/constructorWithIncompleteTypeAnnotation.ts(261,1): error TS
|
||||
~~~~~
|
||||
!!! error TS1005: 'try' expected.
|
||||
console.log(e);
|
||||
~~~~~~~
|
||||
!!! error TS2304: Cannot find name 'console'.
|
||||
}
|
||||
finally {
|
||||
|
||||
}
|
||||
|
||||
console.log('Done');
|
||||
~~~~~~~
|
||||
!!! error TS2304: Cannot find name 'console'.
|
||||
|
||||
return 0;
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
=== tests/cases/compiler/customEventDetail.ts ===
|
||||
var x: CustomEvent;
|
||||
>x : CustomEvent
|
||||
>CustomEvent : CustomEvent
|
||||
>x : CustomEvent<any>
|
||||
>CustomEvent : CustomEvent<T>
|
||||
|
||||
// valid since detail is any
|
||||
x.initCustomEvent('hello', true, true, { id: 12, name: 'hello' });
|
||||
>x.initCustomEvent('hello', true, true, { id: 12, name: 'hello' }) : void
|
||||
>x.initCustomEvent : (typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: any) => void
|
||||
>x : CustomEvent
|
||||
>x : CustomEvent<any>
|
||||
>initCustomEvent : (typeArg: string, canBubbleArg: boolean, cancelableArg: boolean, detailArg: any) => void
|
||||
>'hello' : "hello"
|
||||
>true : true
|
||||
@@ -22,7 +22,7 @@ var y = x.detail.name;
|
||||
>y : any
|
||||
>x.detail.name : any
|
||||
>x.detail : any
|
||||
>x : CustomEvent
|
||||
>x : CustomEvent<any>
|
||||
>detail : any
|
||||
>name : any
|
||||
|
||||
|
||||
@@ -31,9 +31,9 @@ class C {
|
||||
|
||||
const nodes = document.getElementsByTagName("li");
|
||||
>nodes : Symbol(nodes, Decl(string.ts, 10, 5))
|
||||
>document.getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>document.getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>document : Symbol(document, Decl(lib.d.ts, --, --))
|
||||
>getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
|
||||
type ItemType = "".typeof(nodes.item(0));
|
||||
>ItemType : Symbol(ItemType, Decl(string.ts, 10, 50))
|
||||
@@ -69,9 +69,9 @@ class C2 {
|
||||
|
||||
const nodes2 = document.getElementsByTagName("li");
|
||||
>nodes2 : Symbol(nodes2, Decl(number.ts, 10, 5))
|
||||
>document.getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>document.getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>document : Symbol(document, Decl(lib.d.ts, --, --))
|
||||
>getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
|
||||
type ItemType2 = 4..typeof(nodes.item(0));
|
||||
>ItemType2 : Symbol(ItemType2, Decl(number.ts, 10, 51))
|
||||
@@ -107,9 +107,9 @@ class C3 {
|
||||
|
||||
const nodes3 = document.getElementsByTagName("li");
|
||||
>nodes3 : Symbol(nodes3, Decl(boolean.ts, 10, 5))
|
||||
>document.getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>document.getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>document : Symbol(document, Decl(lib.d.ts, --, --))
|
||||
>getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
>getElementsByTagName : Symbol(Document.getElementsByTagName, Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --), Decl(lib.d.ts, --, --))
|
||||
|
||||
type ItemType3 = true.typeof(nodes.item(0));
|
||||
>ItemType3 : Symbol(ItemType3, Decl(boolean.ts, 10, 51))
|
||||
|
||||
@@ -36,9 +36,9 @@ class C {
|
||||
const nodes = document.getElementsByTagName("li");
|
||||
>nodes : NodeListOf<HTMLLIElement>
|
||||
>document.getElementsByTagName("li") : NodeListOf<HTMLLIElement>
|
||||
>document.getElementsByTagName : { <K extends "symbol" | "object" | "abbr" | "acronym" | "address" | "article" | "aside" | "b" | "bdo" | "big" | "center" | "circle" | "cite" | "clippath" | "code" | "dd" | "defs" | "desc" | "dfn" | "dt" | "ellipse" | "em" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "figcaption" | "figure" | "filter" | "footer" | "foreignobject" | "g" | "header" | "hgroup" | "i" | "image" | "kbd" | "keygen" | "line" | "lineargradient" | "mark" | "marker" | "mask" | "metadata" | "nav" | "nobr" | "noframes" | "noscript" | "path" | "pattern" | "plaintext" | "polygon" | "polyline" | "radialgradient" | "rect" | "rt" | "ruby" | "s" | "samp" | "section" | "small" | "stop" | "strike" | "strong" | "sub" | "sup" | "svg" | "switch" | "text" | "textpath" | "tspan" | "tt" | "u" | "use" | "var" | "view" | "wbr" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "div" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "span" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagname: K): ElementListTagNameMap[K]; (tagname: string): NodeListOf<Element>; }
|
||||
>document.getElementsByTagName : { <K extends "object" | "li" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagname: K): NodeListOf<HTMLElementTagNameMap[K]>; <K extends "symbol" | "circle" | "clippath" | "defs" | "desc" | "ellipse" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "filter" | "foreignobject" | "g" | "image" | "line" | "lineargradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialgradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textpath" | "tspan" | "use" | "view">(tagname: K): NodeListOf<SVGElementTagNameMap[K]>; (tagname: string): NodeListOf<Element>; }
|
||||
>document : Document
|
||||
>getElementsByTagName : { <K extends "symbol" | "object" | "abbr" | "acronym" | "address" | "article" | "aside" | "b" | "bdo" | "big" | "center" | "circle" | "cite" | "clippath" | "code" | "dd" | "defs" | "desc" | "dfn" | "dt" | "ellipse" | "em" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "figcaption" | "figure" | "filter" | "footer" | "foreignobject" | "g" | "header" | "hgroup" | "i" | "image" | "kbd" | "keygen" | "line" | "lineargradient" | "mark" | "marker" | "mask" | "metadata" | "nav" | "nobr" | "noframes" | "noscript" | "path" | "pattern" | "plaintext" | "polygon" | "polyline" | "radialgradient" | "rect" | "rt" | "ruby" | "s" | "samp" | "section" | "small" | "stop" | "strike" | "strong" | "sub" | "sup" | "svg" | "switch" | "text" | "textpath" | "tspan" | "tt" | "u" | "use" | "var" | "view" | "wbr" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "div" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "span" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagname: K): ElementListTagNameMap[K]; (tagname: string): NodeListOf<Element>; }
|
||||
>getElementsByTagName : { <K extends "object" | "li" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagname: K): NodeListOf<HTMLElementTagNameMap[K]>; <K extends "symbol" | "circle" | "clippath" | "defs" | "desc" | "ellipse" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "filter" | "foreignobject" | "g" | "image" | "line" | "lineargradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialgradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textpath" | "tspan" | "use" | "view">(tagname: K): NodeListOf<SVGElementTagNameMap[K]>; (tagname: string): NodeListOf<Element>; }
|
||||
>"li" : "li"
|
||||
|
||||
type ItemType = "".typeof(nodes.item(0));
|
||||
@@ -82,9 +82,9 @@ class C2 {
|
||||
const nodes2 = document.getElementsByTagName("li");
|
||||
>nodes2 : NodeListOf<HTMLLIElement>
|
||||
>document.getElementsByTagName("li") : NodeListOf<HTMLLIElement>
|
||||
>document.getElementsByTagName : { <K extends "symbol" | "object" | "abbr" | "acronym" | "address" | "article" | "aside" | "b" | "bdo" | "big" | "center" | "circle" | "cite" | "clippath" | "code" | "dd" | "defs" | "desc" | "dfn" | "dt" | "ellipse" | "em" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "figcaption" | "figure" | "filter" | "footer" | "foreignobject" | "g" | "header" | "hgroup" | "i" | "image" | "kbd" | "keygen" | "line" | "lineargradient" | "mark" | "marker" | "mask" | "metadata" | "nav" | "nobr" | "noframes" | "noscript" | "path" | "pattern" | "plaintext" | "polygon" | "polyline" | "radialgradient" | "rect" | "rt" | "ruby" | "s" | "samp" | "section" | "small" | "stop" | "strike" | "strong" | "sub" | "sup" | "svg" | "switch" | "text" | "textpath" | "tspan" | "tt" | "u" | "use" | "var" | "view" | "wbr" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "div" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "span" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagname: K): ElementListTagNameMap[K]; (tagname: string): NodeListOf<Element>; }
|
||||
>document.getElementsByTagName : { <K extends "object" | "li" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagname: K): NodeListOf<HTMLElementTagNameMap[K]>; <K extends "symbol" | "circle" | "clippath" | "defs" | "desc" | "ellipse" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "filter" | "foreignobject" | "g" | "image" | "line" | "lineargradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialgradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textpath" | "tspan" | "use" | "view">(tagname: K): NodeListOf<SVGElementTagNameMap[K]>; (tagname: string): NodeListOf<Element>; }
|
||||
>document : Document
|
||||
>getElementsByTagName : { <K extends "symbol" | "object" | "abbr" | "acronym" | "address" | "article" | "aside" | "b" | "bdo" | "big" | "center" | "circle" | "cite" | "clippath" | "code" | "dd" | "defs" | "desc" | "dfn" | "dt" | "ellipse" | "em" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "figcaption" | "figure" | "filter" | "footer" | "foreignobject" | "g" | "header" | "hgroup" | "i" | "image" | "kbd" | "keygen" | "line" | "lineargradient" | "mark" | "marker" | "mask" | "metadata" | "nav" | "nobr" | "noframes" | "noscript" | "path" | "pattern" | "plaintext" | "polygon" | "polyline" | "radialgradient" | "rect" | "rt" | "ruby" | "s" | "samp" | "section" | "small" | "stop" | "strike" | "strong" | "sub" | "sup" | "svg" | "switch" | "text" | "textpath" | "tspan" | "tt" | "u" | "use" | "var" | "view" | "wbr" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "div" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "span" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagname: K): ElementListTagNameMap[K]; (tagname: string): NodeListOf<Element>; }
|
||||
>getElementsByTagName : { <K extends "object" | "li" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagname: K): NodeListOf<HTMLElementTagNameMap[K]>; <K extends "symbol" | "circle" | "clippath" | "defs" | "desc" | "ellipse" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "filter" | "foreignobject" | "g" | "image" | "line" | "lineargradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialgradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textpath" | "tspan" | "use" | "view">(tagname: K): NodeListOf<SVGElementTagNameMap[K]>; (tagname: string): NodeListOf<Element>; }
|
||||
>"li" : "li"
|
||||
|
||||
type ItemType2 = 4..typeof(nodes.item(0));
|
||||
@@ -129,9 +129,9 @@ class C3 {
|
||||
const nodes3 = document.getElementsByTagName("li");
|
||||
>nodes3 : NodeListOf<HTMLLIElement>
|
||||
>document.getElementsByTagName("li") : NodeListOf<HTMLLIElement>
|
||||
>document.getElementsByTagName : { <K extends "symbol" | "object" | "abbr" | "acronym" | "address" | "article" | "aside" | "b" | "bdo" | "big" | "center" | "circle" | "cite" | "clippath" | "code" | "dd" | "defs" | "desc" | "dfn" | "dt" | "ellipse" | "em" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "figcaption" | "figure" | "filter" | "footer" | "foreignobject" | "g" | "header" | "hgroup" | "i" | "image" | "kbd" | "keygen" | "line" | "lineargradient" | "mark" | "marker" | "mask" | "metadata" | "nav" | "nobr" | "noframes" | "noscript" | "path" | "pattern" | "plaintext" | "polygon" | "polyline" | "radialgradient" | "rect" | "rt" | "ruby" | "s" | "samp" | "section" | "small" | "stop" | "strike" | "strong" | "sub" | "sup" | "svg" | "switch" | "text" | "textpath" | "tspan" | "tt" | "u" | "use" | "var" | "view" | "wbr" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "div" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "span" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagname: K): ElementListTagNameMap[K]; (tagname: string): NodeListOf<Element>; }
|
||||
>document.getElementsByTagName : { <K extends "object" | "li" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagname: K): NodeListOf<HTMLElementTagNameMap[K]>; <K extends "symbol" | "circle" | "clippath" | "defs" | "desc" | "ellipse" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "filter" | "foreignobject" | "g" | "image" | "line" | "lineargradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialgradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textpath" | "tspan" | "use" | "view">(tagname: K): NodeListOf<SVGElementTagNameMap[K]>; (tagname: string): NodeListOf<Element>; }
|
||||
>document : Document
|
||||
>getElementsByTagName : { <K extends "symbol" | "object" | "abbr" | "acronym" | "address" | "article" | "aside" | "b" | "bdo" | "big" | "center" | "circle" | "cite" | "clippath" | "code" | "dd" | "defs" | "desc" | "dfn" | "dt" | "ellipse" | "em" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "figcaption" | "figure" | "filter" | "footer" | "foreignobject" | "g" | "header" | "hgroup" | "i" | "image" | "kbd" | "keygen" | "line" | "lineargradient" | "mark" | "marker" | "mask" | "metadata" | "nav" | "nobr" | "noframes" | "noscript" | "path" | "pattern" | "plaintext" | "polygon" | "polyline" | "radialgradient" | "rect" | "rt" | "ruby" | "s" | "samp" | "section" | "small" | "stop" | "strike" | "strong" | "sub" | "sup" | "svg" | "switch" | "text" | "textpath" | "tspan" | "tt" | "u" | "use" | "var" | "view" | "wbr" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "div" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "span" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagname: K): ElementListTagNameMap[K]; (tagname: string): NodeListOf<Element>; }
|
||||
>getElementsByTagName : { <K extends "object" | "li" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "span" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagname: K): NodeListOf<HTMLElementTagNameMap[K]>; <K extends "symbol" | "circle" | "clippath" | "defs" | "desc" | "ellipse" | "feblend" | "fecolormatrix" | "fecomponenttransfer" | "fecomposite" | "feconvolvematrix" | "fediffuselighting" | "fedisplacementmap" | "fedistantlight" | "feflood" | "fefunca" | "fefuncb" | "fefuncg" | "fefuncr" | "fegaussianblur" | "feimage" | "femerge" | "femergenode" | "femorphology" | "feoffset" | "fepointlight" | "fespecularlighting" | "fespotlight" | "fetile" | "feturbulence" | "filter" | "foreignobject" | "g" | "image" | "line" | "lineargradient" | "marker" | "mask" | "metadata" | "path" | "pattern" | "polygon" | "polyline" | "radialgradient" | "rect" | "stop" | "svg" | "switch" | "text" | "textpath" | "tspan" | "use" | "view">(tagname: K): NodeListOf<SVGElementTagNameMap[K]>; (tagname: string): NodeListOf<Element>; }
|
||||
>"li" : "li"
|
||||
|
||||
type ItemType3 = true.typeof(nodes.item(0));
|
||||
|
||||
@@ -37,10 +37,6 @@ tests/cases/conformance/fixSignatureCaching.ts(637,36): error TS2339: Property '
|
||||
tests/cases/conformance/fixSignatureCaching.ts(638,18): error TS2339: Property 'findMatch' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(638,33): error TS2339: Property 'mobileDetectRules' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(641,10): error TS2339: Property 'getDeviceSmallerSide' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(642,16): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(642,38): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(643,13): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(644,13): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(707,18): error TS2339: Property 'prepareDetectionCache' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(737,18): error TS2339: Property 'prepareDetectionCache' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(786,18): error TS2339: Property 'prepareDetectionCache' does not exist on type '{}'.
|
||||
@@ -55,8 +51,6 @@ tests/cases/conformance/fixSignatureCaching.ts(915,36): error TS2339: Property '
|
||||
tests/cases/conformance/fixSignatureCaching.ts(915,53): error TS2339: Property 'mobileDetectRules' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(944,33): error TS2339: Property 'isPhoneSized' does not exist on type '(userAgent: any, maxPhoneWidth: any) => void'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(955,42): error TS2339: Property 'mobileGrade' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(962,16): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(962,42): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(963,22): error TS2339: Property 'isPhoneSized' does not exist on type '(userAgent: any, maxPhoneWidth: any) => void'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(964,57): error TS2339: Property 'getDeviceSmallerSide' does not exist on type '{}'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(967,22): error TS2339: Property 'isPhoneSized' does not exist on type '(userAgent: any, maxPhoneWidth: any) => void'.
|
||||
@@ -68,11 +62,10 @@ tests/cases/conformance/fixSignatureCaching.ts(979,37): error TS2304: Cannot fin
|
||||
tests/cases/conformance/fixSignatureCaching.ts(980,23): error TS2304: Cannot find name 'define'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(980,48): error TS2304: Cannot find name 'define'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(981,16): error TS2304: Cannot find name 'define'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(982,23): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(983,37): error TS2304: Cannot find name 'window'.
|
||||
tests/cases/conformance/fixSignatureCaching.ts(983,44): error TS2339: Property 'MobileDetect' does not exist on type 'Window'.
|
||||
|
||||
|
||||
==== tests/cases/conformance/fixSignatureCaching.ts (72 errors) ====
|
||||
==== tests/cases/conformance/fixSignatureCaching.ts (65 errors) ====
|
||||
// Repro from #10697
|
||||
|
||||
(function (define, undefined) {
|
||||
@@ -793,16 +786,8 @@ tests/cases/conformance/fixSignatureCaching.ts(983,37): error TS2304: Cannot fin
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
!!! error TS2339: Property 'getDeviceSmallerSide' does not exist on type '{}'.
|
||||
return window.screen.width < window.screen.height ?
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
window.screen.width :
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
window.screen.height;
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1149,10 +1134,6 @@ tests/cases/conformance/fixSignatureCaching.ts(983,37): error TS2304: Cannot fin
|
||||
|
||||
// environment-dependent
|
||||
if (typeof window !== 'undefined' && window.screen) {
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
MobileDetect.isPhoneSized = function (maxPhoneWidth) {
|
||||
~~~~~~~~~~~~
|
||||
!!! error TS2339: Property 'isPhoneSized' does not exist on type '(userAgent: any, maxPhoneWidth: any) => void'.
|
||||
@@ -1195,11 +1176,9 @@ tests/cases/conformance/fixSignatureCaching.ts(983,37): error TS2304: Cannot fin
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'define'.
|
||||
} else if (typeof window !== 'undefined') {
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
return function (factory) { window.MobileDetect = factory(); };
|
||||
~~~~~~
|
||||
!!! error TS2304: Cannot find name 'window'.
|
||||
~~~~~~~~~~~~
|
||||
!!! error TS2339: Property 'MobileDetect' does not exist on type 'Window'.
|
||||
} else {
|
||||
// please file a bug if you get this error!
|
||||
throw new Error('unknown environment');
|
||||
|
||||
@@ -1135,8 +1135,31 @@ define(function () {
|
||||
>impl : Symbol(impl, Decl(fixSignatureCaching.ts, 6, 7))
|
||||
|
||||
return window.screen.width < window.screen.height ?
|
||||
>window.screen.width : Symbol(Screen.width, Decl(lib.d.ts, --, --))
|
||||
>window.screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
>screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>width : Symbol(Screen.width, Decl(lib.d.ts, --, --))
|
||||
>window.screen.height : Symbol(Screen.height, Decl(lib.d.ts, --, --))
|
||||
>window.screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
>screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>height : Symbol(Screen.height, Decl(lib.d.ts, --, --))
|
||||
|
||||
window.screen.width :
|
||||
>window.screen.width : Symbol(Screen.width, Decl(lib.d.ts, --, --))
|
||||
>window.screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
>screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>width : Symbol(Screen.width, Decl(lib.d.ts, --, --))
|
||||
|
||||
window.screen.height;
|
||||
>window.screen.height : Symbol(Screen.height, Decl(lib.d.ts, --, --))
|
||||
>window.screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
>screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>height : Symbol(Screen.height, Decl(lib.d.ts, --, --))
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1551,6 +1574,11 @@ define(function () {
|
||||
|
||||
// environment-dependent
|
||||
if (typeof window !== 'undefined' && window.screen) {
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
>window.screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
>screen : Symbol(Window.screen, Decl(lib.d.ts, --, --))
|
||||
|
||||
MobileDetect.isPhoneSized = function (maxPhoneWidth) {
|
||||
>MobileDetect : Symbol(MobileDetect, Decl(fixSignatureCaching.ts, 644, 6))
|
||||
>maxPhoneWidth : Symbol(maxPhoneWidth, Decl(fixSignatureCaching.ts, 962, 46))
|
||||
@@ -1590,8 +1618,11 @@ define(function () {
|
||||
} else if (typeof define === 'function' && define.amd) {
|
||||
return define;
|
||||
} else if (typeof window !== 'undefined') {
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
|
||||
return function (factory) { window.MobileDetect = factory(); };
|
||||
>factory : Symbol(factory, Decl(fixSignatureCaching.ts, 982, 25))
|
||||
>window : Symbol(window, Decl(lib.d.ts, --, --))
|
||||
>factory : Symbol(factory, Decl(fixSignatureCaching.ts, 982, 25))
|
||||
|
||||
} else {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
tests/cases/compiler/generatorReturnExpressionIsChecked.ts(2,12): error TS2304: Cannot find name 'invalid'.
|
||||
tests/cases/compiler/generatorReturnExpressionIsChecked.ts(2,12): error TS2552: Cannot find name 'invalid'. Did you mean 'oninvalid'?
|
||||
|
||||
|
||||
==== tests/cases/compiler/generatorReturnExpressionIsChecked.ts (1 errors) ====
|
||||
function* f(): Iterator<number> {
|
||||
return invalid;
|
||||
~~~~~~~
|
||||
!!! error TS2304: Cannot find name 'invalid'.
|
||||
!!! error TS2552: Cannot find name 'invalid'. Did you mean 'oninvalid'?
|
||||
}
|
||||
|
||||
@@ -34,15 +34,15 @@ const c1 = Array.from(a).concat(Array.from(b));
|
||||
>Array.from(a).concat(Array.from(b)) : Nominal<"A", string>[]
|
||||
>Array.from(a).concat : { (...items: (Nominal<"A", string>[] | ReadonlyArray<Nominal<"A", string>>)[]): Nominal<"A", string>[]; (...items: (Nominal<"A", string> | Nominal<"A", string>[] | ReadonlyArray<Nominal<"A", string>>)[]): Nominal<"A", string>[]; }
|
||||
>Array.from(a) : Nominal<"A", string>[]
|
||||
>Array.from : { <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>Array.from : { <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>Array : ArrayConstructor
|
||||
>from : { <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>from : { <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>a : Set<Nominal<"A", string>>
|
||||
>concat : { (...items: (Nominal<"A", string>[] | ReadonlyArray<Nominal<"A", string>>)[]): Nominal<"A", string>[]; (...items: (Nominal<"A", string> | Nominal<"A", string>[] | ReadonlyArray<Nominal<"A", string>>)[]): Nominal<"A", string>[]; }
|
||||
>Array.from(b) : Nominal<"A", string>[]
|
||||
>Array.from : { <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>Array.from : { <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>Array : ArrayConstructor
|
||||
>from : { <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>from : { <T>(arrayLike: ArrayLike<T>): T[]; <T, U>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; <T>(iterable: Iterable<T> | ArrayLike<T>): T[]; <T, U>(iterable: Iterable<T> | ArrayLike<T>, mapfn: (v: T, k: number) => U, thisArg?: any): U[]; }
|
||||
>b : Set<Nominal<"A", string>>
|
||||
|
||||
// Simpler repro
|
||||
|
||||
@@ -3,22 +3,22 @@ interface Document {
|
||||
>Document : Document
|
||||
|
||||
createElement(tagName: string): HTMLElement;
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>tagName : string
|
||||
>HTMLElement : HTMLElement
|
||||
|
||||
createElement(tagName: 'canvas'): HTMLCanvasElement;
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>tagName : "canvas"
|
||||
>HTMLCanvasElement : HTMLCanvasElement
|
||||
|
||||
createElement(tagName: 'div'): HTMLDivElement;
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>tagName : "div"
|
||||
>HTMLDivElement : HTMLDivElement
|
||||
|
||||
createElement(tagName: 'span'): HTMLSpanElement;
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "applet" | "area" | "audio" | "base" | "basefont" | "blockquote" | "body" | "br" | "button" | "caption" | "col" | "colgroup" | "data" | "datalist" | "del" | "dir" | "dl" | "embed" | "fieldset" | "font" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "hr" | "html" | "iframe" | "img" | "input" | "ins" | "isindex" | "label" | "legend" | "li" | "link" | "listing" | "map" | "marquee" | "menu" | "meta" | "meter" | "nextid" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "script" | "select" | "source" | "style" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "ul" | "video" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>createElement : { <K extends "object" | "canvas" | "div" | "span" | "a" | "abbr" | "acronym" | "address" | "applet" | "area" | "article" | "aside" | "audio" | "b" | "base" | "basefont" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "caption" | "center" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "dfn" | "dir" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "font" | "footer" | "form" | "frame" | "frameset" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "isindex" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "listing" | "map" | "mark" | "marquee" | "menu" | "meta" | "meter" | "nav" | "nextid" | "nobr" | "noframes" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "plaintext" | "pre" | "progress" | "q" | "rt" | "ruby" | "s" | "samp" | "script" | "section" | "select" | "small" | "source" | "strike" | "strong" | "style" | "sub" | "sup" | "table" | "tbody" | "td" | "template" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "tt" | "u" | "ul" | "var" | "video" | "wbr" | "x-ms-webview" | "xmp">(tagName: K): HTMLElementTagNameMap[K]; (tagName: string): HTMLElement; (tagName: string): HTMLElement; (tagName: "canvas"): HTMLCanvasElement; (tagName: "div"): HTMLDivElement; (tagName: "span"): HTMLSpanElement; }
|
||||
>tagName : "span"
|
||||
>HTMLSpanElement : HTMLSpanElement
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts",
|
||||
"emit.ts"
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts",
|
||||
"emit.ts"
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts",
|
||||
"dont_emit.ts"
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts",
|
||||
"dont_emit.ts"
|
||||
],
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"nestedModule.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"nestedModule.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"decl.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"decl.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"consume.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts",
|
||||
"consume.ts"
|
||||
],
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
"consume.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.ts",
|
||||
"consume.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"b.ts",
|
||||
"c.ts",
|
||||
"a.ts"
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"b.ts",
|
||||
"c.ts",
|
||||
"a.ts"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"declarationDir": "declarations",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"subfolder/b.ts",
|
||||
"a.ts",
|
||||
"subfolder/c.ts"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"declarationDir": "declarations",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"subfolder/b.ts",
|
||||
"a.ts",
|
||||
"subfolder/c.ts"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"declarationDir": "declarations",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"subfolder/b.ts",
|
||||
"a.ts",
|
||||
"subfolder/c.ts"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"declarationDir": "declarations",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"subfolder/b.ts",
|
||||
"a.ts",
|
||||
"subfolder/c.ts"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"declarationDir": "declarations",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"subfolder/b.ts",
|
||||
"a.ts",
|
||||
"subfolder/c.ts"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"declarationDir": "declarations",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"subfolder/b.ts",
|
||||
"a.ts",
|
||||
"subfolder/c.ts"
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
"useModule.d.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.d.ts",
|
||||
"useModule.ts"
|
||||
]
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@
|
||||
"useModule.d.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.d.ts",
|
||||
"useModule.ts"
|
||||
]
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"glo_m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"glo_m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"private_m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"private_m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"fncOnly_m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"fncOnly_m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"m5.ts",
|
||||
"useModule.ts"
|
||||
|
||||
+1
-1
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"m5.ts",
|
||||
"useModule.ts"
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"m5.ts",
|
||||
"useModule.ts"
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"m5.ts",
|
||||
"useModule.ts"
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"declaration": true,
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"m4.ts",
|
||||
"useModule.ts"
|
||||
],
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"ref.d.ts",
|
||||
"consumer.ts"
|
||||
],
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
],
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"ref.d.ts",
|
||||
"consumer.ts"
|
||||
],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"in2.d.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.d.ts",
|
||||
"in1.d.ts",
|
||||
"in2.d.ts"
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@
|
||||
"in2.d.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"decl.d.ts",
|
||||
"in1.d.ts",
|
||||
"in2.d.ts"
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"projectRoot": "tests/cases/projects/projectOption/DefaultExcludeNodeModulesAndOutDirWithAllowJS",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"projectRoot": "tests/cases/projects/projectOption/DefaultExcludeNodeModulesAndOutDirWithAllowJS",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"projectRoot": "tests/cases/projects/projectOption/DefaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"projectRoot": "tests/cases/projects/projectOption/DefaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS",
|
||||
"baselineCheck": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"declaration": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@
|
||||
"baselineCheck": true,
|
||||
"runTest": true,
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"main.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"external.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"internal.ts",
|
||||
"external2.ts",
|
||||
"external.ts"
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"external.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"internal.ts",
|
||||
"external2.ts",
|
||||
"external.ts"
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"internal2.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"internal2.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"internal2.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"internal2.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"a.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts"
|
||||
"lib.es5.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
}
|
||||
@@ -7,7 +7,7 @@
|
||||
"a.ts"
|
||||
],
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts"
|
||||
"lib.es5.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
}
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesNotSpecified/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesNotSpecified/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesNotSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesNotSpecifiedWithAllowJs/a.ts",
|
||||
"DifferentNamesNotSpecifiedWithAllowJs/b.js"
|
||||
],
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesNotSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesNotSpecifiedWithAllowJs/a.ts",
|
||||
"DifferentNamesNotSpecifiedWithAllowJs/b.js"
|
||||
],
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesSpecified/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesSpecified/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesSpecifiedWithAllowJs/a.ts",
|
||||
"DifferentNamesSpecifiedWithAllowJs/b.js"
|
||||
],
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "DifferentNamesSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"DifferentNamesSpecifiedWithAllowJs/a.ts",
|
||||
"DifferentNamesSpecifiedWithAllowJs/b.js"
|
||||
],
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsSpecified/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsSpecified/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsSpecifiedWithAllowJs/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsSpecifiedWithAllowJs/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsNotSpecified/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsNotSpecified/a.d.ts"
|
||||
],
|
||||
"emittedFiles": []
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsNotSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsNotSpecifiedWithAllowJs/a.d.ts",
|
||||
"SameNameDTsNotSpecifiedWithAllowJs/a.js"
|
||||
],
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameDTsNotSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameDTsNotSpecifiedWithAllowJs/a.d.ts",
|
||||
"SameNameDTsNotSpecifiedWithAllowJs/a.js"
|
||||
],
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameFilesNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameFilesNotSpecified/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameFilesNotSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameFilesNotSpecified/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameFilesNotSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameFilesNotSpecifiedWithAllowJs/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameFilesNotSpecifiedWithAllowJs",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameFilesNotSpecifiedWithAllowJs/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
"declaration": true,
|
||||
"project": "SameNameTsSpecified",
|
||||
"resolvedInputFiles": [
|
||||
"lib.d.ts",
|
||||
"lib.es5.d.ts",
|
||||
"SameNameTsSpecified/a.ts"
|
||||
],
|
||||
"emittedFiles": [
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user