mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Remove "No type information for this code" from baseline (#51311)
* Fix "No type information for this code" in baseline * Just remove the message
This commit is contained in:
1 parent
88d25b4f23
commit
9c4e14d751
880 files changed
+3813
-3409
No files matched your search
@@ -808,21 +808,14 @@ namespace Harness {
|
||||
typeLines += ">" + formattedLine + "\r\n";
|
||||
}
|
||||
|
||||
// Preserve legacy behavior
|
||||
if (lastIndexWritten === undefined) {
|
||||
for (const codeLine of codeLines) {
|
||||
typeLines += codeLine + "\r\nNo type information for this code.";
|
||||
lastIndexWritten ??= -1;
|
||||
if (lastIndexWritten + 1 < codeLines.length) {
|
||||
if (!((lastIndexWritten + 1 < codeLines.length) && (codeLines[lastIndexWritten + 1].match(/^\s*[{|}]\s*$/) || codeLines[lastIndexWritten + 1].trim() === ""))) {
|
||||
typeLines += "\r\n";
|
||||
}
|
||||
typeLines += codeLines.slice(lastIndexWritten + 1).join("\r\n");
|
||||
}
|
||||
else {
|
||||
if (lastIndexWritten + 1 < codeLines.length) {
|
||||
if (!((lastIndexWritten + 1 < codeLines.length) && (codeLines[lastIndexWritten + 1].match(/^\s*[{|}]\s*$/) || codeLines[lastIndexWritten + 1].trim() === ""))) {
|
||||
typeLines += "\r\n";
|
||||
}
|
||||
typeLines += codeLines.slice(lastIndexWritten + 1).join("\r\n");
|
||||
}
|
||||
typeLines += "\r\n";
|
||||
}
|
||||
typeLines += "\r\n";
|
||||
yield [checkDuplicatedFileName(unitName, dupeCase), Utils.removeTestPathPrefixes(typeLines)];
|
||||
}
|
||||
}
|
||||
|
||||
-1
@@ -1,3 +1,2 @@
|
||||
=== tests/cases/conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.ts ===
|
||||
|
||||
No type information for this code.
|
||||
-1
@@ -1,3 +1,2 @@
|
||||
=== tests/cases/conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.ts ===
|
||||
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/statements/for-ofStatements/ES5For-of12.ts ===
|
||||
|
||||
for ([""] of [[""]]) { }
|
||||
No type information for this code.
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/compiler/InterfaceDeclaration8.ts ===
|
||||
|
||||
interface string {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/conformance/parser/ecmascript5/Protected/Protected2.ts ===
|
||||
|
||||
protected module M {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/parser/ecmascript5/ErrorRecovery/TypeArgumentLists/TypeArgumentList1.ts ===
|
||||
|
||||
Foo<A,B,\ C>(4, 5, 6);
|
||||
No type information for this code.
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration11_es6.ts ===
|
||||
|
||||
"use strict";
|
||||
No type information for this code.let
|
||||
No type information for this code.
|
||||
let
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration1_es6.ts ===
|
||||
|
||||
const
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration1_es6.ts ===
|
||||
|
||||
const
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/es6/variableDeclarations/VariableDeclaration6_es6.ts ===
|
||||
|
||||
let
|
||||
No type information for this code.
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/conformance/es6/yieldExpressions/YieldExpression18_es6.ts ===
|
||||
|
||||
"use strict";
|
||||
No type information for this code.yield(foo);
|
||||
No type information for this code.
|
||||
yield(foo);
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/es6/yieldExpressions/YieldExpression1_es6.ts ===
|
||||
|
||||
yield;
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/es6/yieldExpressions/YieldExpression2_es6.ts ===
|
||||
|
||||
yield foo;
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/es6/yieldExpressions/YieldStarExpression1_es6.ts ===
|
||||
|
||||
yield * [];
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/es6/yieldExpressions/YieldStarExpression2_es6.ts ===
|
||||
|
||||
yield *;
|
||||
No type information for this code.
|
||||
@@ -1,11 +1,12 @@
|
||||
=== tests/cases/compiler/consumer.ts ===
|
||||
|
||||
/// <reference path="./indirection.d.ts" />
|
||||
No type information for this code./// <reference path="./indirection2.d.ts" />
|
||||
No type information for this code.import "indirect";
|
||||
No type information for this code.import "foo";
|
||||
No type information for this code.import "indirect2";
|
||||
No type information for this code.import "foo2";
|
||||
No type information for this code.=== tests/cases/compiler/foo.d.ts ===
|
||||
/// <reference path="./indirection2.d.ts" />
|
||||
import "indirect";
|
||||
import "foo";
|
||||
import "indirect2";
|
||||
import "foo2";
|
||||
=== tests/cases/compiler/foo.d.ts ===
|
||||
export default 2 + 2;
|
||||
export as namespace Foo;
|
||||
>Foo : Symbol(Foo, Decl(foo.d.ts, 0, 21))
|
||||
|
||||
@@ -1,11 +1,12 @@
|
||||
=== tests/cases/compiler/consumer.ts ===
|
||||
|
||||
/// <reference path="./indirection.d.ts" />
|
||||
No type information for this code./// <reference path="./indirection2.d.ts" />
|
||||
No type information for this code.import "indirect";
|
||||
No type information for this code.import "foo";
|
||||
No type information for this code.import "indirect2";
|
||||
No type information for this code.import "foo2";
|
||||
No type information for this code.=== tests/cases/compiler/foo.d.ts ===
|
||||
/// <reference path="./indirection2.d.ts" />
|
||||
import "indirect";
|
||||
import "foo";
|
||||
import "indirect2";
|
||||
import "foo2";
|
||||
=== tests/cases/compiler/foo.d.ts ===
|
||||
export default 2 + 2;
|
||||
>2 + 2 : number
|
||||
>2 : 2
|
||||
|
||||
@@ -7,9 +7,10 @@ export {x} from "jquery";
|
||||
>x : Symbol(x, Decl(reExportX.ts, 0, 8))
|
||||
|
||||
=== tests/cases/conformance/ambient/reExportAll.ts ===
|
||||
|
||||
export * from "jquery";
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/ambient/reExportUser.ts ===
|
||||
|
||||
=== tests/cases/conformance/ambient/reExportUser.ts ===
|
||||
import {x} from "./reExportX";
|
||||
>x : Symbol(x, Decl(reExportUser.ts, 0, 8))
|
||||
|
||||
|
||||
@@ -7,9 +7,10 @@ export {x} from "jquery";
|
||||
>x : any
|
||||
|
||||
=== tests/cases/conformance/ambient/reExportAll.ts ===
|
||||
|
||||
export * from "jquery";
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/ambient/reExportUser.ts ===
|
||||
|
||||
=== tests/cases/conformance/ambient/reExportUser.ts ===
|
||||
import {x} from "./reExportX";
|
||||
>x : any
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsAmd/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsAmd/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsAmd/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsAmd/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsAmd/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsAmd/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsCommonjs/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsCommonjs/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsCommonjs/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsCommonjs/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsCommonjs/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsCommonjs/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsSystem/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsSystem/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsSystem/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsSystem/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsSystem/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsSystem/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsUmd/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsUmd/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsUmd/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,7 @@
|
||||
=== tests/cases/conformance/es6/moduleExportsUmd/a.ts ===
|
||||
|
||||
export default class {}
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/conformance/es6/moduleExportsUmd/b.ts ===
|
||||
|
||||
=== tests/cases/conformance/es6/moduleExportsUmd/b.ts ===
|
||||
|
||||
export default function() {}
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/arrowFunctionInExpressionStatement1.ts ===
|
||||
|
||||
() => 0;
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/asiBreak.ts ===
|
||||
|
||||
while (true) break
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/asiContinue.ts ===
|
||||
|
||||
while (true) continue
|
||||
No type information for this code.
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/compiler/asiReturn.ts ===
|
||||
|
||||
// This should be an error for using a return outside a function, but ASI should work properly
|
||||
No type information for this code.return
|
||||
No type information for this code.
|
||||
return
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/compiler/asiReturn.ts ===
|
||||
|
||||
// This should be an error for using a return outside a function, but ASI should work properly
|
||||
No type information for this code.return
|
||||
No type information for this code.
|
||||
return
|
||||
@@ -1,3 +1,2 @@
|
||||
=== tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithWithGenericConstructSignatures.ts ===
|
||||
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,2 @@
|
||||
=== tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithWithGenericConstructSignatures.ts ===
|
||||
|
||||
No type information for this code.
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/conformance/async/es5/asyncInterface_es5.ts ===
|
||||
|
||||
async interface I {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/conformance/async/es6/asyncInterface_es6.ts ===
|
||||
|
||||
async interface I {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/conformance/async/es5/asyncModule_es5.ts ===
|
||||
|
||||
async module M {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/conformance/async/es6/asyncModule_es6.ts ===
|
||||
|
||||
async module M {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/augmentArray.ts ===
|
||||
|
||||
interface Array<T> {
|
||||
No type information for this code. (): any[];
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
(): any[];
|
||||
}
|
||||
@@ -1,3 +1,2 @@
|
||||
=== tests/cases/compiler/bind2.ts ===
|
||||
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,2 @@
|
||||
=== tests/cases/compiler/bind2.ts ===
|
||||
|
||||
No type information for this code.
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/breakInIterationOrSwitchStatement1.ts ===
|
||||
|
||||
while (true) {
|
||||
No type information for this code. break;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
break;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/breakInIterationOrSwitchStatement2.ts ===
|
||||
|
||||
do {
|
||||
No type information for this code. break;
|
||||
No type information for this code.}
|
||||
No type information for this code.while (true);
|
||||
No type information for this code.
|
||||
break;
|
||||
}
|
||||
while (true);
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/breakInIterationOrSwitchStatement3.ts ===
|
||||
|
||||
for (;;) {
|
||||
No type information for this code. break;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
break;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/breakInIterationOrSwitchStatement3.ts ===
|
||||
|
||||
for (;;) {
|
||||
No type information for this code. break;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
break;
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/breakNotInIterationOrSwitchStatement1.ts ===
|
||||
|
||||
break;
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/breakNotInIterationOrSwitchStatement1.ts ===
|
||||
|
||||
break;
|
||||
No type information for this code.
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/compiler/breakTarget1.ts ===
|
||||
|
||||
target:
|
||||
No type information for this code. break target;
|
||||
No type information for this code.
|
||||
break target;
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/breakTarget2.ts ===
|
||||
|
||||
target:
|
||||
No type information for this code.while (true) {
|
||||
No type information for this code. break target;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
while (true) {
|
||||
break target;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/compiler/breakTarget3.ts ===
|
||||
|
||||
target1:
|
||||
No type information for this code.target2:
|
||||
No type information for this code.while (true) {
|
||||
No type information for this code. break target1;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
target2:
|
||||
while (true) {
|
||||
break target1;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/compiler/breakTarget4.ts ===
|
||||
|
||||
target1:
|
||||
No type information for this code.target2:
|
||||
No type information for this code.while (true) {
|
||||
No type information for this code. break target2;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
target2:
|
||||
while (true) {
|
||||
break target2;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/breakTarget6.ts ===
|
||||
|
||||
while (true) {
|
||||
No type information for this code. break target;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
break target;
|
||||
}
|
||||
@@ -1,7 +1,8 @@
|
||||
=== tests/cases/compiler/index.ts ===
|
||||
|
||||
export * from "./nested";
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/compiler/nested/base.ts ===
|
||||
|
||||
=== tests/cases/compiler/nested/base.ts ===
|
||||
import { B } from "./shared";
|
||||
>B : Symbol(B, Decl(base.ts, 0, 8))
|
||||
|
||||
@@ -24,12 +25,13 @@ export function g() {
|
||||
}
|
||||
|
||||
=== tests/cases/compiler/nested/index.ts ===
|
||||
|
||||
export * from "./base";
|
||||
No type information for this code.
|
||||
No type information for this code.export * from "./derived";
|
||||
No type information for this code.export * from "./shared";
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/compiler/nested/shared.ts ===
|
||||
|
||||
export * from "./derived";
|
||||
export * from "./shared";
|
||||
|
||||
=== tests/cases/compiler/nested/shared.ts ===
|
||||
export class B {}
|
||||
>B : Symbol(B, Decl(shared.ts, 0, 0))
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
=== tests/cases/compiler/index.ts ===
|
||||
|
||||
export * from "./nested";
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/compiler/nested/base.ts ===
|
||||
|
||||
=== tests/cases/compiler/nested/base.ts ===
|
||||
import { B } from "./shared";
|
||||
>B : typeof B
|
||||
|
||||
@@ -26,12 +27,13 @@ export function g() {
|
||||
}
|
||||
|
||||
=== tests/cases/compiler/nested/index.ts ===
|
||||
|
||||
export * from "./base";
|
||||
No type information for this code.
|
||||
No type information for this code.export * from "./derived";
|
||||
No type information for this code.export * from "./shared";
|
||||
No type information for this code.
|
||||
No type information for this code.=== tests/cases/compiler/nested/shared.ts ===
|
||||
|
||||
export * from "./derived";
|
||||
export * from "./shared";
|
||||
|
||||
=== tests/cases/compiler/nested/shared.ts ===
|
||||
export class B {}
|
||||
>B : B
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/jsdoc/eof.js ===
|
||||
|
||||
/**
|
||||
No type information for this code. * @typedef {Array<bad>} Should have error here
|
||||
No type information for this code. */
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
* @typedef {Array<bad>} Should have error here
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/conformance/jsdoc/eof.js ===
|
||||
|
||||
/**
|
||||
No type information for this code. * @typedef {Array<bad>} Should have error here
|
||||
No type information for this code. */
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
* @typedef {Array<bad>} Should have error here
|
||||
*/
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment1.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {boolean} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment1.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {boolean} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment2.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.ts ===
|
||||
=== tests/cases/compiler/a.ts ===
|
||||
export interface Foo {
|
||||
>Foo : Symbol(Foo, Decl(a.ts, 0, 0))
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment2.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.ts ===
|
||||
=== tests/cases/compiler/a.ts ===
|
||||
export interface Foo {
|
||||
a: number;
|
||||
>a : number
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment3.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {boolean} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment3.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {boolean} a
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment4.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
|
||||
/**
|
||||
No type information for this code. * @typedef {number} Foo
|
||||
No type information for this code. */
|
||||
No type information for this code.
|
||||
No type information for this code./** @type {Foo} */
|
||||
No type information for this code.export default "";
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
* @typedef {number} Foo
|
||||
*/
|
||||
|
||||
/** @type {Foo} */
|
||||
export default "";
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment4.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
|
||||
/**
|
||||
No type information for this code. * @typedef {number} Foo
|
||||
No type information for this code. */
|
||||
No type information for this code.
|
||||
No type information for this code./** @type {Foo} */
|
||||
No type information for this code.export default "";
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
* @typedef {number} Foo
|
||||
*/
|
||||
|
||||
/** @type {Foo} */
|
||||
export default "";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment5.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {number} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment5.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {number} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment6.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {number} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment6.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {number} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment7.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {number} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment7.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef {Object} Foo
|
||||
* @property {number} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment8.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef Foo
|
||||
* @property {string} a
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/checkJsdocTypeTagOnExportAssignment8.js ===
|
||||
|
||||
No type information for this code.=== tests/cases/compiler/a.js ===
|
||||
=== tests/cases/compiler/a.js ===
|
||||
/**
|
||||
* @typedef Foo
|
||||
* @property {string} a
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractWithInterface.ts ===
|
||||
|
||||
abstract interface I {}
|
||||
No type information for this code.
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/conformance/classes/classDeclarations/classWithPredefinedTypesAsNames2.ts ===
|
||||
|
||||
// classes cannot use predefined types as names
|
||||
No type information for this code.
|
||||
No type information for this code.class void {}
|
||||
No type information for this code.
|
||||
|
||||
class void {}
|
||||
@@ -1,19 +1,20 @@
|
||||
=== tests/cases/compiler/b.ts ===
|
||||
|
||||
///<reference path="a.ts"/>
|
||||
No type information for this code.module ElidedModule3 {
|
||||
No type information for this code.}
|
||||
No type information for this code.=== tests/cases/compiler/a.ts ===
|
||||
module ElidedModule3 {
|
||||
}
|
||||
=== tests/cases/compiler/a.ts ===
|
||||
|
||||
/*!=================
|
||||
No type information for this code. Keep this pinned
|
||||
No type information for this code. =================
|
||||
No type information for this code.*/
|
||||
No type information for this code.
|
||||
No type information for this code./*! Don't keep this pinned comment */
|
||||
No type information for this code.module ElidedModule {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
No type information for this code.// Don't keep this comment.
|
||||
No type information for this code.module ElidedModule2 {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
Keep this pinned
|
||||
=================
|
||||
*/
|
||||
|
||||
/*! Don't keep this pinned comment */
|
||||
module ElidedModule {
|
||||
}
|
||||
|
||||
// Don't keep this comment.
|
||||
module ElidedModule2 {
|
||||
}
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/commentOnExpressionStatement1.ts ===
|
||||
|
||||
1 + 1; // Comment.
|
||||
No type information for this code.
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/commentOnIfStatement1.ts ===
|
||||
|
||||
// Test
|
||||
No type information for this code.if (true) {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
if (true) {
|
||||
}
|
||||
@@ -1,19 +1,20 @@
|
||||
=== tests/cases/compiler/b.ts ===
|
||||
|
||||
///<reference path='a.ts'/>
|
||||
No type information for this code.interface I3 {
|
||||
No type information for this code.}
|
||||
No type information for this code.=== tests/cases/compiler/a.ts ===
|
||||
interface I3 {
|
||||
}
|
||||
=== tests/cases/compiler/a.ts ===
|
||||
|
||||
/*!=================
|
||||
No type information for this code. Keep this pinned
|
||||
No type information for this code. =================
|
||||
No type information for this code.*/
|
||||
No type information for this code.
|
||||
No type information for this code./*! Don't keep this pinned comment */
|
||||
No type information for this code.interface I {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
No type information for this code.// Don't keep this comment.
|
||||
No type information for this code.interface I2 {
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
Keep this pinned
|
||||
=================
|
||||
*/
|
||||
|
||||
/*! Don't keep this pinned comment */
|
||||
interface I {
|
||||
}
|
||||
|
||||
// Don't keep this comment.
|
||||
interface I2 {
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/commentsAtEndOfFile1.ts ===
|
||||
|
||||
Input:
|
||||
No type information for this code.;
|
||||
No type information for this code.//Testing two
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
;
|
||||
//Testing two
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/continueInIterationStatement1.ts ===
|
||||
|
||||
while (true) {
|
||||
No type information for this code. continue;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
continue;
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/continueInIterationStatement2.ts ===
|
||||
|
||||
do {
|
||||
No type information for this code. continue;
|
||||
No type information for this code.}
|
||||
No type information for this code.while (true);
|
||||
No type information for this code.
|
||||
continue;
|
||||
}
|
||||
while (true);
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/continueInIterationStatement3.ts ===
|
||||
|
||||
for (;;) {
|
||||
No type information for this code. continue;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
continue;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/continueInIterationStatement3.ts ===
|
||||
|
||||
for (;;) {
|
||||
No type information for this code. continue;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
continue;
|
||||
}
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/continueNotInIterationStatement1.ts ===
|
||||
|
||||
continue;
|
||||
No type information for this code.
|
||||
@@ -1,3 +1,3 @@
|
||||
=== tests/cases/compiler/continueNotInIterationStatement1.ts ===
|
||||
|
||||
continue;
|
||||
No type information for this code.
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/continueNotInIterationStatement3.ts ===
|
||||
|
||||
switch (0) {
|
||||
No type information for this code. default:
|
||||
No type information for this code. continue;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
default:
|
||||
continue;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/continueStatementInternalComments.ts ===
|
||||
|
||||
foo: for (;;) {
|
||||
No type information for this code. /*1*/ continue /*2*/ foo /*3*/;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
/*1*/ continue /*2*/ foo /*3*/;
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/compiler/continueTarget1.ts ===
|
||||
|
||||
target:
|
||||
No type information for this code. continue target;
|
||||
No type information for this code.
|
||||
continue target;
|
||||
@@ -1,6 +1,6 @@
|
||||
=== tests/cases/compiler/continueTarget2.ts ===
|
||||
|
||||
target:
|
||||
No type information for this code.while (true) {
|
||||
No type information for this code. continue target;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
while (true) {
|
||||
continue target;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/compiler/continueTarget3.ts ===
|
||||
|
||||
target1:
|
||||
No type information for this code.target2:
|
||||
No type information for this code.while (true) {
|
||||
No type information for this code. continue target1;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
target2:
|
||||
while (true) {
|
||||
continue target1;
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
=== tests/cases/compiler/continueTarget4.ts ===
|
||||
|
||||
target1:
|
||||
No type information for this code.target2:
|
||||
No type information for this code.while (true) {
|
||||
No type information for this code. continue target2;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
target2:
|
||||
while (true) {
|
||||
continue target2;
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
=== tests/cases/compiler/continueTarget6.ts ===
|
||||
|
||||
while (true) {
|
||||
No type information for this code. continue target;
|
||||
No type information for this code.}
|
||||
No type information for this code.
|
||||
continue target;
|
||||
}
|
||||
@@ -3,8 +3,9 @@ export interface ThingB { }
|
||||
>ThingB : Symbol(ThingB, Decl(thingB.ts, 0, 0))
|
||||
|
||||
=== tests/cases/compiler/things.ts ===
|
||||
|
||||
export * from "./thingB";
|
||||
No type information for this code.=== tests/cases/compiler/index.ts ===
|
||||
=== tests/cases/compiler/index.ts ===
|
||||
import * as things from "./things";
|
||||
>things : Symbol(things, Decl(index.ts, 0, 6))
|
||||
|
||||
|
||||
@@ -1,8 +1,10 @@
|
||||
=== tests/cases/compiler/thingB.ts ===
|
||||
|
||||
export interface ThingB { }
|
||||
No type information for this code.=== tests/cases/compiler/things.ts ===
|
||||
=== tests/cases/compiler/things.ts ===
|
||||
|
||||
export * from "./thingB";
|
||||
No type information for this code.=== tests/cases/compiler/index.ts ===
|
||||
=== tests/cases/compiler/index.ts ===
|
||||
import * as things from "./things";
|
||||
>things : typeof things
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
=== tests/cases/compiler/declarationEmitArrayTypesFromGenericArrayUsage.ts ===
|
||||
|
||||
interface A extends Array<string> { }
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
|
||||
+9
-9
@@ -7,13 +7,13 @@ class Foo {
|
||||
>public : string
|
||||
}
|
||||
=== tests/cases/compiler/core.ts ===
|
||||
|
||||
interface Array<T> {}
|
||||
No type information for this code.interface Boolean {}
|
||||
No type information for this code.interface Function {}
|
||||
No type information for this code.interface IArguments {}
|
||||
No type information for this code.interface Number {}
|
||||
No type information for this code.interface Object {}
|
||||
No type information for this code.interface RegExp {}
|
||||
No type information for this code.interface String {}
|
||||
No type information for this code.
|
||||
No type information for this code.
|
||||
interface Boolean {}
|
||||
interface Function {}
|
||||
interface IArguments {}
|
||||
interface Number {}
|
||||
interface Object {}
|
||||
interface RegExp {}
|
||||
interface String {}
|
||||
|
||||
@@ -1,10 +1,13 @@
|
||||
=== tests/cases/compiler/r/node_modules/foo/node_modules/nested/index.d.ts ===
|
||||
|
||||
export interface NestedProps {}
|
||||
No type information for this code.=== tests/cases/compiler/r/node_modules/foo/other/index.d.ts ===
|
||||
=== tests/cases/compiler/r/node_modules/foo/other/index.d.ts ===
|
||||
|
||||
export interface OtherIndexProps {}
|
||||
No type information for this code.=== tests/cases/compiler/r/node_modules/foo/other.d.ts ===
|
||||
=== tests/cases/compiler/r/node_modules/foo/other.d.ts ===
|
||||
|
||||
export interface OtherProps {}
|
||||
No type information for this code.=== tests/cases/compiler/r/node_modules/foo/index.d.ts ===
|
||||
=== tests/cases/compiler/r/node_modules/foo/index.d.ts ===
|
||||
import { OtherProps } from "./other";
|
||||
>OtherProps : any
|
||||
|
||||
|
||||
+4
-2
@@ -1,8 +1,10 @@
|
||||
=== /a/index.ts ===
|
||||
|
||||
export * from "./src/"
|
||||
No type information for this code.=== /b/index.ts ===
|
||||
=== /b/index.ts ===
|
||||
|
||||
export * from "./src/"
|
||||
No type information for this code.=== /b/src/index.ts ===
|
||||
=== /b/src/index.ts ===
|
||||
export class B {}
|
||||
>B : Symbol(B, Decl(index.ts, 0, 0))
|
||||
|
||||
|
||||
+4
-2
@@ -1,8 +1,10 @@
|
||||
=== /a/index.ts ===
|
||||
|
||||
export * from "./src/"
|
||||
No type information for this code.=== /b/index.ts ===
|
||||
=== /b/index.ts ===
|
||||
|
||||
export * from "./src/"
|
||||
No type information for this code.=== /b/src/index.ts ===
|
||||
=== /b/src/index.ts ===
|
||||
export class B {}
|
||||
>B : B
|
||||
|
||||
|
||||
Loaded 100 of 880 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user