diff --git a/src/harness/harnessIO.ts b/src/harness/harnessIO.ts index dfa3cf68b75c5..dd957c50d65f7 100644 --- a/src/harness/harnessIO.ts +++ b/src/harness/harnessIO.ts @@ -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)]; } } diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.symbols b/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.symbols index 4375eaa3ffbf2..84b8619920f3d 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.symbols +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.symbols @@ -1,3 +1,2 @@ === tests/cases/conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.types b/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.types index 4375eaa3ffbf2..84b8619920f3d 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.types +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.types @@ -1,3 +1,2 @@ === tests/cases/conformance/internalModules/DeclarationMerging/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of12.symbols b/tests/baselines/reference/ES5For-of12.symbols index 465a644f7bfd6..e35b3e24193dc 100644 --- a/tests/baselines/reference/ES5For-of12.symbols +++ b/tests/baselines/reference/ES5For-of12.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/statements/for-ofStatements/ES5For-of12.ts === + for ([""] of [[""]]) { } -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/InterfaceDeclaration8.types b/tests/baselines/reference/InterfaceDeclaration8.types index a9e087595653c..213c2e2f809c3 100644 --- a/tests/baselines/reference/InterfaceDeclaration8.types +++ b/tests/baselines/reference/InterfaceDeclaration8.types @@ -1,4 +1,4 @@ === tests/cases/compiler/InterfaceDeclaration8.ts === + interface string { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/Protected2.types b/tests/baselines/reference/Protected2.types index df8d6f12cac97..727db5b1be946 100644 --- a/tests/baselines/reference/Protected2.types +++ b/tests/baselines/reference/Protected2.types @@ -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. \ No newline at end of file +} diff --git a/tests/baselines/reference/TypeArgumentList1.symbols b/tests/baselines/reference/TypeArgumentList1.symbols index d2803e791018d..f9976273ddccf 100644 --- a/tests/baselines/reference/TypeArgumentList1.symbols +++ b/tests/baselines/reference/TypeArgumentList1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/TypeArgumentLists/TypeArgumentList1.ts === + Foo(4, 5, 6); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/VariableDeclaration11_es6.symbols b/tests/baselines/reference/VariableDeclaration11_es6.symbols index feaeb047073b0..d4116fb8da4f6 100644 --- a/tests/baselines/reference/VariableDeclaration11_es6.symbols +++ b/tests/baselines/reference/VariableDeclaration11_es6.symbols @@ -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. \ No newline at end of file +let diff --git a/tests/baselines/reference/VariableDeclaration1_es6.symbols b/tests/baselines/reference/VariableDeclaration1_es6.symbols index 183f9495caa6e..c556858159731 100644 --- a/tests/baselines/reference/VariableDeclaration1_es6.symbols +++ b/tests/baselines/reference/VariableDeclaration1_es6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/es6/variableDeclarations/VariableDeclaration1_es6.ts === + const -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/VariableDeclaration1_es6.types b/tests/baselines/reference/VariableDeclaration1_es6.types index 183f9495caa6e..c556858159731 100644 --- a/tests/baselines/reference/VariableDeclaration1_es6.types +++ b/tests/baselines/reference/VariableDeclaration1_es6.types @@ -1,3 +1,3 @@ === tests/cases/conformance/es6/variableDeclarations/VariableDeclaration1_es6.ts === + const -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/VariableDeclaration6_es6.symbols b/tests/baselines/reference/VariableDeclaration6_es6.symbols index 8d18e77c1a3a2..38718bf93acfe 100644 --- a/tests/baselines/reference/VariableDeclaration6_es6.symbols +++ b/tests/baselines/reference/VariableDeclaration6_es6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/es6/variableDeclarations/VariableDeclaration6_es6.ts === + let -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/YieldExpression18_es6.symbols b/tests/baselines/reference/YieldExpression18_es6.symbols index 34772327eae24..77aeecec7181d 100644 --- a/tests/baselines/reference/YieldExpression18_es6.symbols +++ b/tests/baselines/reference/YieldExpression18_es6.symbols @@ -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. \ No newline at end of file +yield(foo); diff --git a/tests/baselines/reference/YieldExpression1_es6.symbols b/tests/baselines/reference/YieldExpression1_es6.symbols index 9ca9f6cc899d0..dbbcab643bdac 100644 --- a/tests/baselines/reference/YieldExpression1_es6.symbols +++ b/tests/baselines/reference/YieldExpression1_es6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/es6/yieldExpressions/YieldExpression1_es6.ts === + yield; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/YieldExpression2_es6.symbols b/tests/baselines/reference/YieldExpression2_es6.symbols index 99510808bd776..1b0a184455c54 100644 --- a/tests/baselines/reference/YieldExpression2_es6.symbols +++ b/tests/baselines/reference/YieldExpression2_es6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/es6/yieldExpressions/YieldExpression2_es6.ts === + yield foo; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/YieldStarExpression1_es6.symbols b/tests/baselines/reference/YieldStarExpression1_es6.symbols index c01128e880c2b..4fd0a7b256430 100644 --- a/tests/baselines/reference/YieldStarExpression1_es6.symbols +++ b/tests/baselines/reference/YieldStarExpression1_es6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/es6/yieldExpressions/YieldStarExpression1_es6.ts === + yield * []; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/YieldStarExpression2_es6.symbols b/tests/baselines/reference/YieldStarExpression2_es6.symbols index 758acfdfece5a..06aea6e917832 100644 --- a/tests/baselines/reference/YieldStarExpression2_es6.symbols +++ b/tests/baselines/reference/YieldStarExpression2_es6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/es6/yieldExpressions/YieldStarExpression2_es6.ts === + yield *; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/ambientExportDefaultErrors.symbols b/tests/baselines/reference/ambientExportDefaultErrors.symbols index b3e6b79cd3eda..dec36cea65fd7 100644 --- a/tests/baselines/reference/ambientExportDefaultErrors.symbols +++ b/tests/baselines/reference/ambientExportDefaultErrors.symbols @@ -1,11 +1,12 @@ === tests/cases/compiler/consumer.ts === + /// -No type information for this code./// -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 === +/// +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)) diff --git a/tests/baselines/reference/ambientExportDefaultErrors.types b/tests/baselines/reference/ambientExportDefaultErrors.types index 21e18cc978aec..c779d47eadb88 100644 --- a/tests/baselines/reference/ambientExportDefaultErrors.types +++ b/tests/baselines/reference/ambientExportDefaultErrors.types @@ -1,11 +1,12 @@ === tests/cases/compiler/consumer.ts === + /// -No type information for this code./// -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 === +/// +import "indirect"; +import "foo"; +import "indirect2"; +import "foo2"; +=== tests/cases/compiler/foo.d.ts === export default 2 + 2; >2 + 2 : number >2 : 2 diff --git a/tests/baselines/reference/ambientShorthand_reExport.symbols b/tests/baselines/reference/ambientShorthand_reExport.symbols index 3aa3ddcec3d48..992dc6af17190 100644 --- a/tests/baselines/reference/ambientShorthand_reExport.symbols +++ b/tests/baselines/reference/ambientShorthand_reExport.symbols @@ -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)) diff --git a/tests/baselines/reference/ambientShorthand_reExport.types b/tests/baselines/reference/ambientShorthand_reExport.types index e3e6c9742fdc4..743552275ef24 100644 --- a/tests/baselines/reference/ambientShorthand_reExport.types +++ b/tests/baselines/reference/ambientShorthand_reExport.types @@ -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 diff --git a/tests/baselines/reference/anonymousDefaultExportsAmd.symbols b/tests/baselines/reference/anonymousDefaultExportsAmd.symbols index b7778168f3332..57117df986e64 100644 --- a/tests/baselines/reference/anonymousDefaultExportsAmd.symbols +++ b/tests/baselines/reference/anonymousDefaultExportsAmd.symbols @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/anonymousDefaultExportsAmd.types b/tests/baselines/reference/anonymousDefaultExportsAmd.types index b7778168f3332..57117df986e64 100644 --- a/tests/baselines/reference/anonymousDefaultExportsAmd.types +++ b/tests/baselines/reference/anonymousDefaultExportsAmd.types @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/anonymousDefaultExportsCommonjs.symbols b/tests/baselines/reference/anonymousDefaultExportsCommonjs.symbols index e74f41088d78d..1263951a0a261 100644 --- a/tests/baselines/reference/anonymousDefaultExportsCommonjs.symbols +++ b/tests/baselines/reference/anonymousDefaultExportsCommonjs.symbols @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/anonymousDefaultExportsCommonjs.types b/tests/baselines/reference/anonymousDefaultExportsCommonjs.types index e74f41088d78d..1263951a0a261 100644 --- a/tests/baselines/reference/anonymousDefaultExportsCommonjs.types +++ b/tests/baselines/reference/anonymousDefaultExportsCommonjs.types @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/anonymousDefaultExportsSystem.symbols b/tests/baselines/reference/anonymousDefaultExportsSystem.symbols index a865de3bb9135..16e79f7bf4d95 100644 --- a/tests/baselines/reference/anonymousDefaultExportsSystem.symbols +++ b/tests/baselines/reference/anonymousDefaultExportsSystem.symbols @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/anonymousDefaultExportsSystem.types b/tests/baselines/reference/anonymousDefaultExportsSystem.types index a865de3bb9135..16e79f7bf4d95 100644 --- a/tests/baselines/reference/anonymousDefaultExportsSystem.types +++ b/tests/baselines/reference/anonymousDefaultExportsSystem.types @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/anonymousDefaultExportsUmd.symbols b/tests/baselines/reference/anonymousDefaultExportsUmd.symbols index 6bc9e18ed5619..73f8025c8a5f8 100644 --- a/tests/baselines/reference/anonymousDefaultExportsUmd.symbols +++ b/tests/baselines/reference/anonymousDefaultExportsUmd.symbols @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/anonymousDefaultExportsUmd.types b/tests/baselines/reference/anonymousDefaultExportsUmd.types index 6bc9e18ed5619..73f8025c8a5f8 100644 --- a/tests/baselines/reference/anonymousDefaultExportsUmd.types +++ b/tests/baselines/reference/anonymousDefaultExportsUmd.types @@ -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. \ No newline at end of file diff --git a/tests/baselines/reference/arrowFunctionInExpressionStatement1.symbols b/tests/baselines/reference/arrowFunctionInExpressionStatement1.symbols index 690ff3500c8ee..25113f14b7cf5 100644 --- a/tests/baselines/reference/arrowFunctionInExpressionStatement1.symbols +++ b/tests/baselines/reference/arrowFunctionInExpressionStatement1.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/arrowFunctionInExpressionStatement1.ts === + () => 0; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/asiBreak.symbols b/tests/baselines/reference/asiBreak.symbols index 355d27f2a43a8..bad37b8f92c11 100644 --- a/tests/baselines/reference/asiBreak.symbols +++ b/tests/baselines/reference/asiBreak.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/asiBreak.ts === + while (true) break -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/asiContinue.symbols b/tests/baselines/reference/asiContinue.symbols index 5b3f01453773f..421e593f00e18 100644 --- a/tests/baselines/reference/asiContinue.symbols +++ b/tests/baselines/reference/asiContinue.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/asiContinue.ts === + while (true) continue -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/asiReturn.symbols b/tests/baselines/reference/asiReturn.symbols index da206e8577bc0..0e4edaa631c45 100644 --- a/tests/baselines/reference/asiReturn.symbols +++ b/tests/baselines/reference/asiReturn.symbols @@ -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. \ No newline at end of file +return diff --git a/tests/baselines/reference/asiReturn.types b/tests/baselines/reference/asiReturn.types index da206e8577bc0..0e4edaa631c45 100644 --- a/tests/baselines/reference/asiReturn.types +++ b/tests/baselines/reference/asiReturn.types @@ -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. \ No newline at end of file +return diff --git a/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.symbols b/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.symbols index e6db879f44176..dee3f0d792897 100644 --- a/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.symbols +++ b/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.symbols @@ -1,3 +1,2 @@ === tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithWithGenericConstructSignatures.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.types b/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.types index e6db879f44176..dee3f0d792897 100644 --- a/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.types +++ b/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.types @@ -1,3 +1,2 @@ === tests/cases/conformance/types/typeRelationships/assignmentCompatibility/assignmentCompatWithWithGenericConstructSignatures.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/asyncInterface_es5.types b/tests/baselines/reference/asyncInterface_es5.types index 804a7103d18fd..cc1913e891b4b 100644 --- a/tests/baselines/reference/asyncInterface_es5.types +++ b/tests/baselines/reference/asyncInterface_es5.types @@ -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. \ No newline at end of file +} diff --git a/tests/baselines/reference/asyncInterface_es6.types b/tests/baselines/reference/asyncInterface_es6.types index 3990cb71883f2..34e5f482911d4 100644 --- a/tests/baselines/reference/asyncInterface_es6.types +++ b/tests/baselines/reference/asyncInterface_es6.types @@ -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. \ No newline at end of file +} diff --git a/tests/baselines/reference/asyncModule_es5.types b/tests/baselines/reference/asyncModule_es5.types index 6d9544051c0ba..0f59174940c0e 100644 --- a/tests/baselines/reference/asyncModule_es5.types +++ b/tests/baselines/reference/asyncModule_es5.types @@ -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. \ No newline at end of file +} diff --git a/tests/baselines/reference/asyncModule_es6.types b/tests/baselines/reference/asyncModule_es6.types index 7772b353b8e19..f4143cb7a386c 100644 --- a/tests/baselines/reference/asyncModule_es6.types +++ b/tests/baselines/reference/asyncModule_es6.types @@ -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. \ No newline at end of file +} diff --git a/tests/baselines/reference/augmentArray.types b/tests/baselines/reference/augmentArray.types index fe7d9fe2e2d6f..938f4c8d6003e 100644 --- a/tests/baselines/reference/augmentArray.types +++ b/tests/baselines/reference/augmentArray.types @@ -1,5 +1,5 @@ === tests/cases/compiler/augmentArray.ts === + interface Array { -No type information for this code. (): any[]; -No type information for this code.} -No type information for this code. \ No newline at end of file + (): any[]; +} diff --git a/tests/baselines/reference/bind2.symbols b/tests/baselines/reference/bind2.symbols index f51d09abcdd97..9e3cf7d21d479 100644 --- a/tests/baselines/reference/bind2.symbols +++ b/tests/baselines/reference/bind2.symbols @@ -1,3 +1,2 @@ === tests/cases/compiler/bind2.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/bind2.types b/tests/baselines/reference/bind2.types index f51d09abcdd97..9e3cf7d21d479 100644 --- a/tests/baselines/reference/bind2.types +++ b/tests/baselines/reference/bind2.types @@ -1,3 +1,2 @@ === tests/cases/compiler/bind2.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement1.symbols b/tests/baselines/reference/breakInIterationOrSwitchStatement1.symbols index 6a2bae2c2c412..e84431fd42681 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement1.symbols +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement1.symbols @@ -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. \ No newline at end of file + break; +} diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement2.symbols b/tests/baselines/reference/breakInIterationOrSwitchStatement2.symbols index 0f8928a664dcf..b96d749f813a3 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement2.symbols +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement2.symbols @@ -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. \ No newline at end of file + break; +} +while (true); diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement3.symbols b/tests/baselines/reference/breakInIterationOrSwitchStatement3.symbols index 5676b2deccd2e..471cacd257a8b 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement3.symbols +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement3.symbols @@ -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. \ No newline at end of file + break; +} diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement3.types b/tests/baselines/reference/breakInIterationOrSwitchStatement3.types index 5676b2deccd2e..471cacd257a8b 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement3.types +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement3.types @@ -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. \ No newline at end of file + break; +} diff --git a/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.symbols b/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.symbols index 2537ee257718e..ece7e82bfc032 100644 --- a/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.symbols +++ b/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/breakNotInIterationOrSwitchStatement1.ts === + break; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.types b/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.types index 2537ee257718e..ece7e82bfc032 100644 --- a/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.types +++ b/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.types @@ -1,3 +1,3 @@ === tests/cases/compiler/breakNotInIterationOrSwitchStatement1.ts === + break; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/breakTarget1.symbols b/tests/baselines/reference/breakTarget1.symbols index eda3b1cac352f..dcb8860c5b7c7 100644 --- a/tests/baselines/reference/breakTarget1.symbols +++ b/tests/baselines/reference/breakTarget1.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/breakTarget1.ts === + target: -No type information for this code. break target; -No type information for this code. \ No newline at end of file + break target; diff --git a/tests/baselines/reference/breakTarget2.symbols b/tests/baselines/reference/breakTarget2.symbols index 6357695785bcf..4738e1530ebef 100644 --- a/tests/baselines/reference/breakTarget2.symbols +++ b/tests/baselines/reference/breakTarget2.symbols @@ -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. \ No newline at end of file +while (true) { + break target; +} diff --git a/tests/baselines/reference/breakTarget3.symbols b/tests/baselines/reference/breakTarget3.symbols index 580706bbd4a46..b00f075c1192b 100644 --- a/tests/baselines/reference/breakTarget3.symbols +++ b/tests/baselines/reference/breakTarget3.symbols @@ -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. \ No newline at end of file +target2: +while (true) { + break target1; +} diff --git a/tests/baselines/reference/breakTarget4.symbols b/tests/baselines/reference/breakTarget4.symbols index aba35ddcfdf3d..32aaf357e3d33 100644 --- a/tests/baselines/reference/breakTarget4.symbols +++ b/tests/baselines/reference/breakTarget4.symbols @@ -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. \ No newline at end of file +target2: +while (true) { + break target2; +} diff --git a/tests/baselines/reference/breakTarget6.symbols b/tests/baselines/reference/breakTarget6.symbols index 2c5ebfae3f711..77dc493eba355 100644 --- a/tests/baselines/reference/breakTarget6.symbols +++ b/tests/baselines/reference/breakTarget6.symbols @@ -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. \ No newline at end of file + break target; +} diff --git a/tests/baselines/reference/bundledDtsLateExportRenaming.symbols b/tests/baselines/reference/bundledDtsLateExportRenaming.symbols index 990b6ebebf7e3..cb3a43c999987 100644 --- a/tests/baselines/reference/bundledDtsLateExportRenaming.symbols +++ b/tests/baselines/reference/bundledDtsLateExportRenaming.symbols @@ -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)) diff --git a/tests/baselines/reference/bundledDtsLateExportRenaming.types b/tests/baselines/reference/bundledDtsLateExportRenaming.types index eacdf1823671f..d9aee2d895627 100644 --- a/tests/baselines/reference/bundledDtsLateExportRenaming.types +++ b/tests/baselines/reference/bundledDtsLateExportRenaming.types @@ -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 diff --git a/tests/baselines/reference/checkJsdocOnEndOfFile.symbols b/tests/baselines/reference/checkJsdocOnEndOfFile.symbols index bda09fa653e0c..2b601e10df699 100644 --- a/tests/baselines/reference/checkJsdocOnEndOfFile.symbols +++ b/tests/baselines/reference/checkJsdocOnEndOfFile.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/jsdoc/eof.js === + /** -No type information for this code. * @typedef {Array} Should have error here -No type information for this code. */ -No type information for this code. -No type information for this code. \ No newline at end of file + * @typedef {Array} Should have error here + */ + diff --git a/tests/baselines/reference/checkJsdocOnEndOfFile.types b/tests/baselines/reference/checkJsdocOnEndOfFile.types index bda09fa653e0c..2b601e10df699 100644 --- a/tests/baselines/reference/checkJsdocOnEndOfFile.types +++ b/tests/baselines/reference/checkJsdocOnEndOfFile.types @@ -1,6 +1,6 @@ === tests/cases/conformance/jsdoc/eof.js === + /** -No type information for this code. * @typedef {Array} Should have error here -No type information for this code. */ -No type information for this code. -No type information for this code. \ No newline at end of file + * @typedef {Array} Should have error here + */ + diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.symbols index 9510ed2a12b0c..22b10b5d5173d 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.symbols @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.types index cff18cf8d2560..0ebe0b11b2874 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.types @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.symbols index d9ea314fe9d0c..b24c0e9142a26 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.symbols @@ -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)) diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.types index ffd32162e1e3e..e8bbda7ca55d8 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.types @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.symbols index 75b977df8122a..c57b4851ad917 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.symbols @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.types index 71bb88a771276..440d26570b56d 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.types @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.symbols index 587a72b7be6b9..65ff844759423 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.symbols @@ -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. \ No newline at end of file + * @typedef {number} Foo + */ + +/** @type {Foo} */ +export default ""; + + diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.types index 587a72b7be6b9..65ff844759423 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.types @@ -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. \ No newline at end of file + * @typedef {number} Foo + */ + +/** @type {Foo} */ +export default ""; + + diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.symbols index 6c03e88801316..fd98f27eaa320 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.symbols @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.types index c4fa3d07234f8..5821997d0d741 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.types @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.symbols index d1e45fe4f0ca1..c8e03908a2c80 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.symbols @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.types index 81f346f9044a0..9a0dcdbdeba44 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.types @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.symbols index dd863ba7de741..d5e1b4274e36e 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.symbols @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.types index 2e9febf3037a7..eda30a44f9e87 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.types @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.symbols b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.symbols index be50e619090af..d605d9fc7c857 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.symbols +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.symbols @@ -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 diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.types b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.types index 7d7d4a27d329d..09cc754f12c33 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.types +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.types @@ -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 diff --git a/tests/baselines/reference/classAbstractWithInterface.types b/tests/baselines/reference/classAbstractWithInterface.types index 5af39080f181b..b6511813da469 100644 --- a/tests/baselines/reference/classAbstractWithInterface.types +++ b/tests/baselines/reference/classAbstractWithInterface.types @@ -1,3 +1,3 @@ === tests/cases/conformance/classes/classDeclarations/classAbstractKeyword/classAbstractWithInterface.ts === + abstract interface I {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/classWithPredefinedTypesAsNames2.symbols b/tests/baselines/reference/classWithPredefinedTypesAsNames2.symbols index 89841014005ee..809e4da581f39 100644 --- a/tests/baselines/reference/classWithPredefinedTypesAsNames2.symbols +++ b/tests/baselines/reference/classWithPredefinedTypesAsNames2.symbols @@ -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. \ No newline at end of file + +class void {} diff --git a/tests/baselines/reference/commentOnElidedModule1.types b/tests/baselines/reference/commentOnElidedModule1.types index dbe4881faface..aac352a8d68c2 100644 --- a/tests/baselines/reference/commentOnElidedModule1.types +++ b/tests/baselines/reference/commentOnElidedModule1.types @@ -1,19 +1,20 @@ === tests/cases/compiler/b.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. \ No newline at end of file + Keep this pinned + ================= +*/ + +/*! Don't keep this pinned comment */ +module ElidedModule { +} + +// Don't keep this comment. +module ElidedModule2 { +} + diff --git a/tests/baselines/reference/commentOnExpressionStatement1.symbols b/tests/baselines/reference/commentOnExpressionStatement1.symbols index 58d45470ca5c9..38209755af350 100644 --- a/tests/baselines/reference/commentOnExpressionStatement1.symbols +++ b/tests/baselines/reference/commentOnExpressionStatement1.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/commentOnExpressionStatement1.ts === + 1 + 1; // Comment. -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/commentOnIfStatement1.symbols b/tests/baselines/reference/commentOnIfStatement1.symbols index cc1fa728c4a1a..dfab3850516ce 100644 --- a/tests/baselines/reference/commentOnIfStatement1.symbols +++ b/tests/baselines/reference/commentOnIfStatement1.symbols @@ -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. \ No newline at end of file +if (true) { +} diff --git a/tests/baselines/reference/commentOnInterface1.types b/tests/baselines/reference/commentOnInterface1.types index 7b9e14b8a1d64..edc2737533227 100644 --- a/tests/baselines/reference/commentOnInterface1.types +++ b/tests/baselines/reference/commentOnInterface1.types @@ -1,19 +1,20 @@ === tests/cases/compiler/b.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. \ No newline at end of file + Keep this pinned + ================= +*/ + +/*! Don't keep this pinned comment */ +interface I { +} + +// Don't keep this comment. +interface I2 { +} + diff --git a/tests/baselines/reference/commentsAtEndOfFile1.symbols b/tests/baselines/reference/commentsAtEndOfFile1.symbols index c09a435f1a7fe..55e701dbbd896 100644 --- a/tests/baselines/reference/commentsAtEndOfFile1.symbols +++ b/tests/baselines/reference/commentsAtEndOfFile1.symbols @@ -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. \ No newline at end of file +; +//Testing two + diff --git a/tests/baselines/reference/continueInIterationStatement1.symbols b/tests/baselines/reference/continueInIterationStatement1.symbols index 210de69f6bbe7..53b60db70d755 100644 --- a/tests/baselines/reference/continueInIterationStatement1.symbols +++ b/tests/baselines/reference/continueInIterationStatement1.symbols @@ -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. \ No newline at end of file + continue; +} diff --git a/tests/baselines/reference/continueInIterationStatement2.symbols b/tests/baselines/reference/continueInIterationStatement2.symbols index 5cb4b62f39a14..7d7087917fcf3 100644 --- a/tests/baselines/reference/continueInIterationStatement2.symbols +++ b/tests/baselines/reference/continueInIterationStatement2.symbols @@ -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. \ No newline at end of file + continue; +} +while (true); diff --git a/tests/baselines/reference/continueInIterationStatement3.symbols b/tests/baselines/reference/continueInIterationStatement3.symbols index f4df3a295fbb9..3af59882ccc53 100644 --- a/tests/baselines/reference/continueInIterationStatement3.symbols +++ b/tests/baselines/reference/continueInIterationStatement3.symbols @@ -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. \ No newline at end of file + continue; +} diff --git a/tests/baselines/reference/continueInIterationStatement3.types b/tests/baselines/reference/continueInIterationStatement3.types index f4df3a295fbb9..3af59882ccc53 100644 --- a/tests/baselines/reference/continueInIterationStatement3.types +++ b/tests/baselines/reference/continueInIterationStatement3.types @@ -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. \ No newline at end of file + continue; +} diff --git a/tests/baselines/reference/continueNotInIterationStatement1.symbols b/tests/baselines/reference/continueNotInIterationStatement1.symbols index 97fbe3a3d8515..e971bae84bd70 100644 --- a/tests/baselines/reference/continueNotInIterationStatement1.symbols +++ b/tests/baselines/reference/continueNotInIterationStatement1.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/continueNotInIterationStatement1.ts === + continue; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/continueNotInIterationStatement1.types b/tests/baselines/reference/continueNotInIterationStatement1.types index 97fbe3a3d8515..e971bae84bd70 100644 --- a/tests/baselines/reference/continueNotInIterationStatement1.types +++ b/tests/baselines/reference/continueNotInIterationStatement1.types @@ -1,3 +1,3 @@ === tests/cases/compiler/continueNotInIterationStatement1.ts === + continue; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/continueNotInIterationStatement3.symbols b/tests/baselines/reference/continueNotInIterationStatement3.symbols index caca2c9951610..9a4823d128922 100644 --- a/tests/baselines/reference/continueNotInIterationStatement3.symbols +++ b/tests/baselines/reference/continueNotInIterationStatement3.symbols @@ -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. \ No newline at end of file + default: + continue; +} diff --git a/tests/baselines/reference/continueStatementInternalComments.symbols b/tests/baselines/reference/continueStatementInternalComments.symbols index 51b8189ab164c..1a6a721df325c 100644 --- a/tests/baselines/reference/continueStatementInternalComments.symbols +++ b/tests/baselines/reference/continueStatementInternalComments.symbols @@ -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. \ No newline at end of file + /*1*/ continue /*2*/ foo /*3*/; +} diff --git a/tests/baselines/reference/continueTarget1.symbols b/tests/baselines/reference/continueTarget1.symbols index fbd968e19a66c..6ef0d21b4c83c 100644 --- a/tests/baselines/reference/continueTarget1.symbols +++ b/tests/baselines/reference/continueTarget1.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/continueTarget1.ts === + target: -No type information for this code. continue target; -No type information for this code. \ No newline at end of file + continue target; diff --git a/tests/baselines/reference/continueTarget2.symbols b/tests/baselines/reference/continueTarget2.symbols index 16f45c402cdac..2b1bde22a726d 100644 --- a/tests/baselines/reference/continueTarget2.symbols +++ b/tests/baselines/reference/continueTarget2.symbols @@ -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. \ No newline at end of file +while (true) { + continue target; +} diff --git a/tests/baselines/reference/continueTarget3.symbols b/tests/baselines/reference/continueTarget3.symbols index a1b930f2f5ac2..16bcc76d8f352 100644 --- a/tests/baselines/reference/continueTarget3.symbols +++ b/tests/baselines/reference/continueTarget3.symbols @@ -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. \ No newline at end of file +target2: +while (true) { + continue target1; +} diff --git a/tests/baselines/reference/continueTarget4.symbols b/tests/baselines/reference/continueTarget4.symbols index ea1989a3e4d22..c199bdb2ca064 100644 --- a/tests/baselines/reference/continueTarget4.symbols +++ b/tests/baselines/reference/continueTarget4.symbols @@ -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. \ No newline at end of file +target2: +while (true) { + continue target2; +} diff --git a/tests/baselines/reference/continueTarget6.symbols b/tests/baselines/reference/continueTarget6.symbols index d7ce40115828f..8f0de7b52a6c5 100644 --- a/tests/baselines/reference/continueTarget6.symbols +++ b/tests/baselines/reference/continueTarget6.symbols @@ -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. \ No newline at end of file + continue target; +} diff --git a/tests/baselines/reference/declarationEmitAliasExportStar.symbols b/tests/baselines/reference/declarationEmitAliasExportStar.symbols index 8f86cf3dc8cdb..c0f86795a1c45 100644 --- a/tests/baselines/reference/declarationEmitAliasExportStar.symbols +++ b/tests/baselines/reference/declarationEmitAliasExportStar.symbols @@ -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)) diff --git a/tests/baselines/reference/declarationEmitAliasExportStar.types b/tests/baselines/reference/declarationEmitAliasExportStar.types index 631d3ac1b5de7..3ce1e303d0ee8 100644 --- a/tests/baselines/reference/declarationEmitAliasExportStar.types +++ b/tests/baselines/reference/declarationEmitAliasExportStar.types @@ -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 diff --git a/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.types b/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.types index 2161bb9afc1b4..0d38abc11b0c8 100644 --- a/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.types +++ b/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.types @@ -1,4 +1,4 @@ === tests/cases/compiler/declarationEmitArrayTypesFromGenericArrayUsage.ts === + interface A extends Array { } -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/declarationEmitBundlePreservesHasNoDefaultLibDirective.types b/tests/baselines/reference/declarationEmitBundlePreservesHasNoDefaultLibDirective.types index 3c89d94b04344..33066bd8b0c95 100644 --- a/tests/baselines/reference/declarationEmitBundlePreservesHasNoDefaultLibDirective.types +++ b/tests/baselines/reference/declarationEmitBundlePreservesHasNoDefaultLibDirective.types @@ -7,13 +7,13 @@ class Foo { >public : string } === tests/cases/compiler/core.ts === + interface Array {} -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. \ No newline at end of file +interface Boolean {} +interface Function {} +interface IArguments {} +interface Number {} +interface Object {} +interface RegExp {} +interface String {} + diff --git a/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types b/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types index 9c9aee08433db..94c902c5ce731 100644 --- a/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types +++ b/tests/baselines/reference/declarationEmitCommonJsModuleReferencedType.types @@ -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 diff --git a/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.symbols b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.symbols index baa1d95cce7a9..bb1a545b9fa30 100644 --- a/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.symbols +++ b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.symbols @@ -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)) diff --git a/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.types b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.types index a0218c7fe7f81..46ddc25957be7 100644 --- a/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.types +++ b/tests/baselines/reference/declarationEmitCommonSourceDirectoryDoesNotContainAllFiles.types @@ -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 diff --git a/tests/baselines/reference/declarationEmitDefaultExport2.symbols b/tests/baselines/reference/declarationEmitDefaultExport2.symbols index b82e6cfb92376..ec4504822ffee 100644 --- a/tests/baselines/reference/declarationEmitDefaultExport2.symbols +++ b/tests/baselines/reference/declarationEmitDefaultExport2.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/declarationEmitDefaultExport2.ts === + export default class { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/declarationEmitDefaultExport2.types b/tests/baselines/reference/declarationEmitDefaultExport2.types index b82e6cfb92376..ec4504822ffee 100644 --- a/tests/baselines/reference/declarationEmitDefaultExport2.types +++ b/tests/baselines/reference/declarationEmitDefaultExport2.types @@ -1,4 +1,4 @@ === tests/cases/compiler/declarationEmitDefaultExport2.ts === + export default class { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/declarationEmitDefaultExport4.symbols b/tests/baselines/reference/declarationEmitDefaultExport4.symbols index 8043af36b7620..a1d2319a0f581 100644 --- a/tests/baselines/reference/declarationEmitDefaultExport4.symbols +++ b/tests/baselines/reference/declarationEmitDefaultExport4.symbols @@ -1,5 +1,5 @@ === tests/cases/compiler/declarationEmitDefaultExport4.ts === + export default function () { -No type information for this code. return 1; -No type information for this code.} -No type information for this code. \ No newline at end of file + return 1; +} diff --git a/tests/baselines/reference/declarationEmitDefaultExport5.symbols b/tests/baselines/reference/declarationEmitDefaultExport5.symbols index 2ede4a5941a71..7ea8116331ae8 100644 --- a/tests/baselines/reference/declarationEmitDefaultExport5.symbols +++ b/tests/baselines/reference/declarationEmitDefaultExport5.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/declarationEmitDefaultExport5.ts === + export default 1 + 2; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.symbols b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.symbols index a45ecb2e47e41..c104564adf290 100644 --- a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.symbols +++ b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/pi.ts === + export default 3.14159; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.types b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.types index a45ecb2e47e41..c104564adf290 100644 --- a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.types +++ b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarName.types @@ -1,3 +1,3 @@ === tests/cases/compiler/pi.ts === + export default 3.14159; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.symbols b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.symbols index a45ecb2e47e41..c104564adf290 100644 --- a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.symbols +++ b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/pi.ts === + export default 3.14159; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.types b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.types index a45ecb2e47e41..c104564adf290 100644 --- a/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.types +++ b/tests/baselines/reference/declarationEmitDefaultExportWithTempVarNameWithBundling.types @@ -1,3 +1,3 @@ === tests/cases/compiler/pi.ts === + export default 3.14159; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.symbols b/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.symbols index 87304e8e84fa2..a3c98684b4ce4 100644 --- a/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.symbols +++ b/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.symbols @@ -66,6 +66,6 @@ export const obj = { >getComp : Symbol(getComp, Decl(inferred-comp-export.ts, 0, 8)) } === tests/cases/compiler/src/some-other-file.ts === + export * from '@emotion/core'; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types b/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types index c3232b4406e0c..77105a8482e1f 100644 --- a/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types +++ b/tests/baselines/reference/declarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types @@ -56,6 +56,6 @@ export const obj = { >getComp : () => import("tests/cases/compiler/node_modules/@types/react/index").Component } === tests/cases/compiler/src/some-other-file.ts === + export * from '@emotion/core'; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends7.symbols b/tests/baselines/reference/declarationEmitExpressionInExtends7.symbols index a81c2cc3871ee..13b1d85f8975a 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends7.symbols +++ b/tests/baselines/reference/declarationEmitExpressionInExtends7.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/declarationEmitExpressionInExtends7.ts === + export default class extends SomeUndefinedFunction {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.symbols b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.symbols index fa0a8593339ec..f5a8d98c03ebd 100644 --- a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.symbols +++ b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.symbols @@ -10,8 +10,9 @@ export enum A { >Val : Symbol(A.Val, Decl(impl.d.ts, 1, 15)) } === /p1/node_modules/typescript-fsa/index.d.ts === + export * from "./src/impl"; -No type information for this code.=== /p2/node_modules/typescript-fsa/src/impl.d.ts === +=== /p2/node_modules/typescript-fsa/src/impl.d.ts === export function getA(): A; >getA : Symbol(getA, Decl(impl.d.ts, 0, 0)) >A : Symbol(A, Decl(impl.d.ts, 0, 26)) @@ -23,8 +24,9 @@ export enum A { >Val : Symbol(A.Val, Decl(impl.d.ts, 1, 15)) } === /p2/node_modules/typescript-fsa/index.d.ts === + export * from "./src/impl"; -No type information for this code.=== /p1/index.ts === +=== /p1/index.ts === import * as _whatever from "p2"; >_whatever : Symbol(_whatever, Decl(index.ts, 0, 6)) diff --git a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types index 3f62193fd83cb..b42d42019b48a 100644 --- a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types +++ b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink.types @@ -9,8 +9,9 @@ export enum A { >Val : A } === /p1/node_modules/typescript-fsa/index.d.ts === + export * from "./src/impl"; -No type information for this code.=== /p2/node_modules/typescript-fsa/src/impl.d.ts === +=== /p2/node_modules/typescript-fsa/src/impl.d.ts === export function getA(): A; >getA : () => A @@ -21,8 +22,9 @@ export enum A { >Val : A } === /p2/node_modules/typescript-fsa/index.d.ts === + export * from "./src/impl"; -No type information for this code.=== /p1/index.ts === +=== /p1/index.ts === import * as _whatever from "p2"; >_whatever : typeof _whatever diff --git a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.symbols b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.symbols index e183f07d5589d..65ed820d836a9 100644 --- a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.symbols +++ b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.symbols @@ -10,8 +10,9 @@ export enum A { >Val : Symbol(A.Val, Decl(impl.d.ts, 1, 15)) } === /cache/typescript-fsa/index.d.ts === + export * from "./src/impl"; -No type information for this code.=== /p1/index.ts === +=== /p1/index.ts === import * as _whatever from "p2"; >_whatever : Symbol(_whatever, Decl(index.ts, 0, 6)) diff --git a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types index 7c214ced6b63e..a52f51708abeb 100644 --- a/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types +++ b/tests/baselines/reference/declarationEmitForGlobalishSpecifierSymlink2.types @@ -9,8 +9,9 @@ export enum A { >Val : A } === /cache/typescript-fsa/index.d.ts === + export * from "./src/impl"; -No type information for this code.=== /p1/index.ts === +=== /p1/index.ts === import * as _whatever from "p2"; >_whatever : typeof _whatever diff --git a/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.types b/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.types index 269d4566011d8..bd0d20458a3e0 100644 --- a/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.types +++ b/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.types @@ -4,8 +4,8 @@ class Src implements NS.Dep { } >NS : any === /deps/dep/dep.d.ts === + declare namespace NS { -No type information for this code. interface Dep { -No type information for this code. } -No type information for this code.} -No type information for this code. \ No newline at end of file + interface Dep { + } +} diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference.symbols b/tests/baselines/reference/declarationEmitReexportedSymlinkReference.symbols index 4006ea88a86e1..b02947b32c895 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference.symbols +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference.symbols @@ -1,6 +1,7 @@ === tests/cases/compiler/monorepo/pkg1/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === export declare type A = { >A : Symbol(A, Decl(types.d.ts, 0, 0)) @@ -46,12 +47,15 @@ export declare class MetadataAccessor { >D : Symbol(D, Decl(types.d.ts, 11, 20)) } === tests/cases/compiler/monorepo/pkg2/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === + export * from '@raymondfeng/pkg1'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/index.ts === +=== tests/cases/compiler/monorepo/pkg3/src/index.ts === + export * from './keys'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === +=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === import {MetadataAccessor} from "@raymondfeng/pkg2"; >MetadataAccessor : Symbol(MetadataAccessor, Decl(keys.ts, 0, 8)) diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types b/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types index 0ed089b529a91..3a90e76d07ffe 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference.types @@ -1,6 +1,7 @@ === tests/cases/compiler/monorepo/pkg1/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === export declare type A = { >A : { id: string; } @@ -33,12 +34,15 @@ export declare class MetadataAccessor { >key : string } === tests/cases/compiler/monorepo/pkg2/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === + export * from '@raymondfeng/pkg1'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/index.ts === +=== tests/cases/compiler/monorepo/pkg3/src/index.ts === + export * from './keys'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === +=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === import {MetadataAccessor} from "@raymondfeng/pkg2"; >MetadataAccessor : typeof MetadataAccessor diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.symbols b/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.symbols index 683969e356f33..c8a7ebb9ed126 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.symbols +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.symbols @@ -1,6 +1,7 @@ === tests/cases/compiler/monorepo/pkg1/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === export declare type A = { >A : Symbol(A, Decl(types.d.ts, 0, 0)) @@ -46,9 +47,10 @@ export declare class MetadataAccessor { >D : Symbol(D, Decl(types.d.ts, 11, 20)) } === tests/cases/compiler/monorepo/pkg2/dist/index.d.ts === + import "./secondary"; -No type information for this code.export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === +export * from './types'; +=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === export {MetadataAccessor} from '@raymondfeng/pkg1'; >MetadataAccessor : Symbol(MetadataAccessor, Decl(types.d.ts, 0, 8)) @@ -57,8 +59,9 @@ export {IdType} from '@raymondfeng/pkg1'; >IdType : Symbol(IdType, Decl(secondary.d.ts, 0, 8)) === tests/cases/compiler/monorepo/pkg3/src/index.ts === + export * from './keys'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === +=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === import {MetadataAccessor} from "@raymondfeng/pkg2"; >MetadataAccessor : Symbol(MetadataAccessor, Decl(keys.ts, 0, 8)) diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types b/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types index e52c244ccc5a4..41d8eaf175b00 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference2.types @@ -1,6 +1,7 @@ === tests/cases/compiler/monorepo/pkg1/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === export declare type A = { >A : { id: string; } @@ -33,9 +34,10 @@ export declare class MetadataAccessor { >key : string } === tests/cases/compiler/monorepo/pkg2/dist/index.d.ts === + import "./secondary"; -No type information for this code.export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === +export * from './types'; +=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === export {MetadataAccessor} from '@raymondfeng/pkg1'; >MetadataAccessor : typeof import("tests/cases/compiler/monorepo/pkg1/dist/index").MetadataAccessor @@ -44,8 +46,9 @@ export {IdType} from '@raymondfeng/pkg1'; >IdType : any === tests/cases/compiler/monorepo/pkg3/src/index.ts === + export * from './keys'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === +=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === import {MetadataAccessor} from "@raymondfeng/pkg2"; >MetadataAccessor : typeof MetadataAccessor diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.symbols b/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.symbols index df33b515a8d44..231f147baa7bd 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.symbols +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.symbols @@ -1,6 +1,7 @@ === tests/cases/compiler/monorepo/pkg1/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === export declare type A = { >A : Symbol(A, Decl(types.d.ts, 0, 0)) @@ -46,14 +47,16 @@ export declare class MetadataAccessor { >D : Symbol(D, Decl(types.d.ts, 11, 20)) } === tests/cases/compiler/monorepo/pkg2/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === export {MetadataAccessor} from '@raymondfeng/pkg1'; >MetadataAccessor : Symbol(MetadataAccessor, Decl(types.d.ts, 0, 8)) === tests/cases/compiler/monorepo/pkg3/src/index.ts === + export * from './keys'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === +=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === import {MetadataAccessor} from "@raymondfeng/pkg2"; >MetadataAccessor : Symbol(MetadataAccessor, Decl(keys.ts, 0, 8)) diff --git a/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types b/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types index 06272b7baa950..46bc272376aed 100644 --- a/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types +++ b/tests/baselines/reference/declarationEmitReexportedSymlinkReference3.types @@ -1,6 +1,7 @@ === tests/cases/compiler/monorepo/pkg1/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg1/dist/types.d.ts === export declare type A = { >A : { id: string; } @@ -33,14 +34,16 @@ export declare class MetadataAccessor { >key : string } === tests/cases/compiler/monorepo/pkg2/dist/index.d.ts === + export * from './types'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === +=== tests/cases/compiler/monorepo/pkg2/dist/types.d.ts === export {MetadataAccessor} from '@raymondfeng/pkg1'; >MetadataAccessor : typeof import("tests/cases/compiler/monorepo/pkg1/dist/index").MetadataAccessor === tests/cases/compiler/monorepo/pkg3/src/index.ts === + export * from './keys'; -No type information for this code.=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === +=== tests/cases/compiler/monorepo/pkg3/src/keys.ts === import {MetadataAccessor} from "@raymondfeng/pkg2"; >MetadataAccessor : typeof MetadataAccessor diff --git a/tests/baselines/reference/declarationFilesGeneratingTypeReferences.types b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.types index 0c31c9dac292b..c788eb1477829 100644 --- a/tests/baselines/reference/declarationFilesGeneratingTypeReferences.types +++ b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.types @@ -1,9 +1,10 @@ === /a/node_modules/@types/jquery/index.d.ts === + interface JQuery { -No type information for this code. -No type information for this code.} -No type information for this code. -No type information for this code.=== /a/app.ts === + +} + +=== /a/app.ts === /// namespace Test { >Test : typeof Test diff --git a/tests/baselines/reference/declareDottedModuleName.types b/tests/baselines/reference/declareDottedModuleName.types index bdb395713f979..c35460a8c07e3 100644 --- a/tests/baselines/reference/declareDottedModuleName.types +++ b/tests/baselines/reference/declareDottedModuleName.types @@ -1,12 +1,12 @@ === tests/cases/compiler/declareDottedModuleName.ts === + module M { -No type information for this code. module P.Q { } // This shouldnt be emitted -No type information for this code.} -No type information for this code. -No type information for this code.module M { -No type information for this code. export module R.S { } //This should be emitted -No type information for this code.} -No type information for this code. -No type information for this code.module T.U { // This needs to be emitted -No type information for this code.} -No type information for this code. \ No newline at end of file + module P.Q { } // This shouldnt be emitted +} + +module M { + export module R.S { } //This should be emitted +} + +module T.U { // This needs to be emitted +} diff --git a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.symbols b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.symbols index e57fc793920ca..bdfbd17064f9f 100644 --- a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.symbols +++ b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.symbols @@ -1,32 +1,32 @@ === tests/cases/compiler/doNotEmitDetachedCommentsAtStartOfLambdaFunction.ts === + () => { -No type information for this code. // Single line comment -No type information for this code. -No type information for this code. return 0; -No type information for this code.} -No type information for this code. -No type information for this code.() => { -No type information for this code. /* -No type information for this code. multi-line comment -No type information for this code. */ -No type information for this code. -No type information for this code. return 0; -No type information for this code.} -No type information for this code. -No type information for this code.() => { -No type information for this code. // Single line comment with more than one blank line -No type information for this code. -No type information for this code. -No type information for this code. return 0; -No type information for this code.} -No type information for this code. -No type information for this code.() => { -No type information for this code. /* -No type information for this code. multi-line comment with more than one blank line -No type information for this code. */ -No type information for this code. -No type information for this code. -No type information for this code. return 0; -No type information for this code.} -No type information for this code. -No type information for this code. \ No newline at end of file + // Single line comment + + return 0; +} + +() => { + /* + multi-line comment + */ + + return 0; +} + +() => { + // Single line comment with more than one blank line + + + return 0; +} + +() => { + /* + multi-line comment with more than one blank line + */ + + + return 0; +} + diff --git a/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.symbols b/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.symbols index 5e3ebab68db05..0463aebec49bb 100644 --- a/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.symbols +++ b/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.symbols @@ -1,9 +1,9 @@ === tests/cases/compiler/file2.ts === + /// -No type information for this code./// -No type information for this code./// -No type information for this code.=== tests/cases/compiler/file0.ts === +/// +/// +=== tests/cases/compiler/file0.ts === -No type information for this code.=== tests/cases/compiler/file1.ts === +=== tests/cases/compiler/file1.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.types b/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.types index 5e3ebab68db05..0463aebec49bb 100644 --- a/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.types +++ b/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.types @@ -1,9 +1,9 @@ === tests/cases/compiler/file2.ts === + /// -No type information for this code./// -No type information for this code./// -No type information for this code.=== tests/cases/compiler/file0.ts === +/// +/// +=== tests/cases/compiler/file0.ts === -No type information for this code.=== tests/cases/compiler/file1.ts === +=== tests/cases/compiler/file1.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.types b/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.types index 764d60305d5ec..8bc06d56b1848 100644 --- a/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.types +++ b/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.types @@ -1,9 +1,10 @@ === tests/cases/compiler/file1.ts === + /// -No type information for this code.interface F { } -No type information for this code. -No type information for this code. -No type information for this code.=== tests/cases/compiler/file0.ts === +interface F { } + + +=== tests/cases/compiler/file0.ts === /// declare var OData: any; >OData : any diff --git a/tests/baselines/reference/doubleUnderscoreExportStarConflict.symbols b/tests/baselines/reference/doubleUnderscoreExportStarConflict.symbols index cecca7f6afce9..6f9d77aca1af1 100644 --- a/tests/baselines/reference/doubleUnderscoreExportStarConflict.symbols +++ b/tests/baselines/reference/doubleUnderscoreExportStarConflict.symbols @@ -1,8 +1,9 @@ === tests/cases/compiler/index.tsx === + export * from "./b"; -No type information for this code.export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === +export * from "./c"; + +=== tests/cases/compiler/b.ts === export function __foo(): number | void {} >__foo : Symbol(__foo, Decl(b.ts, 0, 0)) diff --git a/tests/baselines/reference/doubleUnderscoreExportStarConflict.types b/tests/baselines/reference/doubleUnderscoreExportStarConflict.types index 55e6db3801230..ecd606e8d59df 100644 --- a/tests/baselines/reference/doubleUnderscoreExportStarConflict.types +++ b/tests/baselines/reference/doubleUnderscoreExportStarConflict.types @@ -1,8 +1,9 @@ === tests/cases/compiler/index.tsx === + export * from "./b"; -No type information for this code.export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === +export * from "./c"; + +=== tests/cases/compiler/b.ts === export function __foo(): number | void {} >__foo : () => number | void diff --git a/tests/baselines/reference/downlevelLetConst1.symbols b/tests/baselines/reference/downlevelLetConst1.symbols index 768c567f2719c..ad5d32953099c 100644 --- a/tests/baselines/reference/downlevelLetConst1.symbols +++ b/tests/baselines/reference/downlevelLetConst1.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/downlevelLetConst1.ts === + const -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst1.types b/tests/baselines/reference/downlevelLetConst1.types index 768c567f2719c..ad5d32953099c 100644 --- a/tests/baselines/reference/downlevelLetConst1.types +++ b/tests/baselines/reference/downlevelLetConst1.types @@ -1,3 +1,3 @@ === tests/cases/compiler/downlevelLetConst1.ts === + const -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst11.symbols b/tests/baselines/reference/downlevelLetConst11.symbols index 616d90761c6ff..0f169e7e9e7d8 100644 --- a/tests/baselines/reference/downlevelLetConst11.symbols +++ b/tests/baselines/reference/downlevelLetConst11.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/downlevelLetConst11.ts === + "use strict"; -No type information for this code.let -No type information for this code. \ No newline at end of file +let diff --git a/tests/baselines/reference/downlevelLetConst6.symbols b/tests/baselines/reference/downlevelLetConst6.symbols index 6744a94cd7132..e5537c8f822c3 100644 --- a/tests/baselines/reference/downlevelLetConst6.symbols +++ b/tests/baselines/reference/downlevelLetConst6.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/downlevelLetConst6.ts === + let -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/duplicateConstructSignature.types b/tests/baselines/reference/duplicateConstructSignature.types index 5849a3b5cb035..c029a0a9d33d5 100644 --- a/tests/baselines/reference/duplicateConstructSignature.types +++ b/tests/baselines/reference/duplicateConstructSignature.types @@ -1,6 +1,6 @@ === tests/cases/compiler/duplicateConstructSignature.ts === + interface I { -No type information for this code. (): number; -No type information for this code. (): string; -No type information for this code.} -No type information for this code. \ No newline at end of file + (): number; + (): string; +} diff --git a/tests/baselines/reference/duplicateDefaultExport.symbols b/tests/baselines/reference/duplicateDefaultExport.symbols index 6f978e28e78d4..921d8348e0ff2 100644 --- a/tests/baselines/reference/duplicateDefaultExport.symbols +++ b/tests/baselines/reference/duplicateDefaultExport.symbols @@ -1,5 +1,5 @@ === tests/cases/compiler/duplicateDefaultExport.ts === + export default 0; -No type information for this code.export default function() {} -No type information for this code. -No type information for this code. \ No newline at end of file +export default function() {} + diff --git a/tests/baselines/reference/duplicateDefaultExport.types b/tests/baselines/reference/duplicateDefaultExport.types index 6f978e28e78d4..921d8348e0ff2 100644 --- a/tests/baselines/reference/duplicateDefaultExport.types +++ b/tests/baselines/reference/duplicateDefaultExport.types @@ -1,5 +1,5 @@ === tests/cases/compiler/duplicateDefaultExport.ts === + export default 0; -No type information for this code.export default function() {} -No type information for this code. -No type information for this code. \ No newline at end of file +export default function() {} + diff --git a/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.symbols b/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.symbols index 81436a6e51041..7cf2c8ab5e5cf 100644 --- a/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.symbols +++ b/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.symbols @@ -1,3 +1,2 @@ === tests/cases/compiler/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding_0.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.types b/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.types index 81436a6e51041..7cf2c8ab5e5cf 100644 --- a/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.types +++ b/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.types @@ -1,3 +1,2 @@ === tests/cases/compiler/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding_0.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/duplicateLabel1.symbols b/tests/baselines/reference/duplicateLabel1.symbols index 3d23b0483368e..674c54133c98b 100644 --- a/tests/baselines/reference/duplicateLabel1.symbols +++ b/tests/baselines/reference/duplicateLabel1.symbols @@ -1,6 +1,6 @@ === tests/cases/compiler/duplicateLabel1.ts === + target: -No type information for this code.target: -No type information for this code.while (true) { -No type information for this code.} -No type information for this code. \ No newline at end of file +target: +while (true) { +} diff --git a/tests/baselines/reference/duplicateLabel2.symbols b/tests/baselines/reference/duplicateLabel2.symbols index a7fb7df8d13d5..19f8200722c19 100644 --- a/tests/baselines/reference/duplicateLabel2.symbols +++ b/tests/baselines/reference/duplicateLabel2.symbols @@ -1,8 +1,8 @@ === tests/cases/compiler/duplicateLabel2.ts === + target: -No type information for this code.while (true) { -No type information for this code. target: -No type information for this code. while (true) { -No type information for this code. } -No type information for this code.} -No type information for this code. \ No newline at end of file +while (true) { + target: + while (true) { + } +} diff --git a/tests/baselines/reference/duplicateLabel4.symbols b/tests/baselines/reference/duplicateLabel4.symbols index c671abcef35d6..16adbf6f93a45 100644 --- a/tests/baselines/reference/duplicateLabel4.symbols +++ b/tests/baselines/reference/duplicateLabel4.symbols @@ -1,9 +1,9 @@ === tests/cases/compiler/duplicateLabel4.ts === + target: -No type information for this code.while (true) { -No type information for this code.} -No type information for this code. -No type information for this code.target: -No type information for this code.while (true) { -No type information for this code.} -No type information for this code. \ No newline at end of file +while (true) { +} + +target: +while (true) { +} diff --git a/tests/baselines/reference/emitCommentsOnlyFile.symbols b/tests/baselines/reference/emitCommentsOnlyFile.symbols index 04e8f4a103a12..8371e278840ef 100644 --- a/tests/baselines/reference/emitCommentsOnlyFile.symbols +++ b/tests/baselines/reference/emitCommentsOnlyFile.symbols @@ -1,29 +1,29 @@ === tests/cases/compiler/emitCommentsOnlyFile.ts === + /** -No type information for this code.* @name Foo -No type information for this code.* @class -No type information for this code.*/ -No type information for this code./**#@+ -No type information for this code.* @memberOf Foo# -No type information for this code.* @field -No type information for this code.*/ -No type information for this code./** -No type information for this code.* @name bar -No type information for this code.* @type Object[] -No type information for this code.*/ -No type information for this code./**#@-*/ -No type information for this code./** -No type information for this code.* @name Foo2 -No type information for this code.* @class -No type information for this code.*/ -No type information for this code./**#@+ -No type information for this code.* @memberOf Foo2# -No type information for this code.* @field -No type information for this code.*/ -No type information for this code./** -No type information for this code.* @name bar -No type information for this code.* @type Object[] -No type information for this code.*/ -No type information for this code./**#@-*/ -No type information for this code. -No type information for this code. \ No newline at end of file +* @name Foo +* @class +*/ +/**#@+ +* @memberOf Foo# +* @field +*/ +/** +* @name bar +* @type Object[] +*/ +/**#@-*/ +/** +* @name Foo2 +* @class +*/ +/**#@+ +* @memberOf Foo2# +* @field +*/ +/** +* @name bar +* @type Object[] +*/ +/**#@-*/ + diff --git a/tests/baselines/reference/emitCommentsOnlyFile.types b/tests/baselines/reference/emitCommentsOnlyFile.types index 04e8f4a103a12..8371e278840ef 100644 --- a/tests/baselines/reference/emitCommentsOnlyFile.types +++ b/tests/baselines/reference/emitCommentsOnlyFile.types @@ -1,29 +1,29 @@ === tests/cases/compiler/emitCommentsOnlyFile.ts === + /** -No type information for this code.* @name Foo -No type information for this code.* @class -No type information for this code.*/ -No type information for this code./**#@+ -No type information for this code.* @memberOf Foo# -No type information for this code.* @field -No type information for this code.*/ -No type information for this code./** -No type information for this code.* @name bar -No type information for this code.* @type Object[] -No type information for this code.*/ -No type information for this code./**#@-*/ -No type information for this code./** -No type information for this code.* @name Foo2 -No type information for this code.* @class -No type information for this code.*/ -No type information for this code./**#@+ -No type information for this code.* @memberOf Foo2# -No type information for this code.* @field -No type information for this code.*/ -No type information for this code./** -No type information for this code.* @name bar -No type information for this code.* @type Object[] -No type information for this code.*/ -No type information for this code./**#@-*/ -No type information for this code. -No type information for this code. \ No newline at end of file +* @name Foo +* @class +*/ +/**#@+ +* @memberOf Foo# +* @field +*/ +/** +* @name bar +* @type Object[] +*/ +/**#@-*/ +/** +* @name Foo2 +* @class +*/ +/**#@+ +* @memberOf Foo2# +* @field +*/ +/** +* @name bar +* @type Object[] +*/ +/**#@-*/ + diff --git a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types index b2615eac81b73..ae9dc4ee72285 100644 --- a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types +++ b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=commonjs).types @@ -4,9 +4,10 @@ export type { T1 } >T1 : T1 === tests/cases/compiler/type2.ts === + export interface T2 {} -No type information for this code. -No type information for this code.=== tests/cases/compiler/class3.ts === + +=== tests/cases/compiler/class3.ts === export class C3 {} >C3 : C3 diff --git a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types index b2615eac81b73..ae9dc4ee72285 100644 --- a/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types +++ b/tests/baselines/reference/emitDecoratorMetadata_isolatedModules(module=esnext).types @@ -4,9 +4,10 @@ export type { T1 } >T1 : T1 === tests/cases/compiler/type2.ts === + export interface T2 {} -No type information for this code. -No type information for this code.=== tests/cases/compiler/class3.ts === + +=== tests/cases/compiler/class3.ts === export class C3 {} >C3 : C3 diff --git a/tests/baselines/reference/emitExponentiationOperator1.symbols b/tests/baselines/reference/emitExponentiationOperator1.symbols index 9a86abe3f9a22..b9fad1ac2517e 100644 --- a/tests/baselines/reference/emitExponentiationOperator1.symbols +++ b/tests/baselines/reference/emitExponentiationOperator1.symbols @@ -1,33 +1,33 @@ === tests/cases/conformance/es7/exponentiationOperator/emitExponentiationOperator1.ts === + 1 ** -2; -No type information for this code.1 ** 2; -No type information for this code.(-1) ** 2 -No type information for this code.1 ** 2 ** 3; -No type information for this code.1 ** 2 ** -3; -No type information for this code.1 ** -(2 ** 3); -No type information for this code.(-(1 ** 2)) ** 3; -No type information for this code.(-(1 ** 2)) ** -3; -No type information for this code. -No type information for this code.1 ** 2 + 3; -No type information for this code.1 ** 2 - 3; -No type information for this code.1 ** 2 * 3; -No type information for this code.1 ** 2 / 3; -No type information for this code.1 ** 2 % 3; -No type information for this code. -No type information for this code.1 ** -2 + 3; -No type information for this code.1 ** -2 - 3; -No type information for this code.1 ** -2 * 3; -No type information for this code.1 ** -2 / 3; -No type information for this code.1 ** -2 % 3; -No type information for this code. -No type information for this code.2 + 3 ** 3; -No type information for this code.2 - 3 ** 3; -No type information for this code.2 * 3 ** 3; -No type information for this code.2 / 3 ** 3; -No type information for this code.2 % 3 ** 3; -No type information for this code. -No type information for this code.(2 + 3) ** 4; -No type information for this code.(2 - 3) ** 4; -No type information for this code.(2 * 3) ** 4; -No type information for this code.(2 / 3) ** 4; -No type information for this code. \ No newline at end of file +1 ** 2; +(-1) ** 2 +1 ** 2 ** 3; +1 ** 2 ** -3; +1 ** -(2 ** 3); +(-(1 ** 2)) ** 3; +(-(1 ** 2)) ** -3; + +1 ** 2 + 3; +1 ** 2 - 3; +1 ** 2 * 3; +1 ** 2 / 3; +1 ** 2 % 3; + +1 ** -2 + 3; +1 ** -2 - 3; +1 ** -2 * 3; +1 ** -2 / 3; +1 ** -2 % 3; + +2 + 3 ** 3; +2 - 3 ** 3; +2 * 3 ** 3; +2 / 3 ** 3; +2 % 3 ** 3; + +(2 + 3) ** 4; +(2 - 3) ** 4; +(2 * 3) ** 4; +(2 / 3) ** 4; diff --git a/tests/baselines/reference/emitMemberAccessExpression.symbols b/tests/baselines/reference/emitMemberAccessExpression.symbols index ac0f8852d2a88..e6d2aa5e74dbf 100644 --- a/tests/baselines/reference/emitMemberAccessExpression.symbols +++ b/tests/baselines/reference/emitMemberAccessExpression.symbols @@ -14,10 +14,11 @@ module Microsoft.PeopleAtWork.Model { } } === tests/cases/compiler/emitMemberAccessExpression_file1.ts === + /// -No type information for this code."use strict"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/emitMemberAccessExpression_file2.ts === +"use strict"; + +=== tests/cases/compiler/emitMemberAccessExpression_file2.ts === /// "use strict"; module Microsoft.PeopleAtWork.Model { diff --git a/tests/baselines/reference/emptyExpr.symbols b/tests/baselines/reference/emptyExpr.symbols index e699404332f09..4d1c332ace5ef 100644 --- a/tests/baselines/reference/emptyExpr.symbols +++ b/tests/baselines/reference/emptyExpr.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/emptyExpr.ts === + [{},] -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile-declaration.symbols b/tests/baselines/reference/emptyFile-declaration.symbols index 496fbbb807df4..81a00a3f31fe3 100644 --- a/tests/baselines/reference/emptyFile-declaration.symbols +++ b/tests/baselines/reference/emptyFile-declaration.symbols @@ -1,3 +1,2 @@ === tests/cases/compiler/emptyFile-declaration.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile-declaration.types b/tests/baselines/reference/emptyFile-declaration.types index 496fbbb807df4..81a00a3f31fe3 100644 --- a/tests/baselines/reference/emptyFile-declaration.types +++ b/tests/baselines/reference/emptyFile-declaration.types @@ -1,3 +1,2 @@ === tests/cases/compiler/emptyFile-declaration.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile-souremap.symbols b/tests/baselines/reference/emptyFile-souremap.symbols index 5c7f48cfb4994..23c5e2bae8d27 100644 --- a/tests/baselines/reference/emptyFile-souremap.symbols +++ b/tests/baselines/reference/emptyFile-souremap.symbols @@ -1,3 +1,2 @@ === tests/cases/compiler/emptyFile-souremap.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile-souremap.types b/tests/baselines/reference/emptyFile-souremap.types index 5c7f48cfb4994..23c5e2bae8d27 100644 --- a/tests/baselines/reference/emptyFile-souremap.types +++ b/tests/baselines/reference/emptyFile-souremap.types @@ -1,3 +1,2 @@ === tests/cases/compiler/emptyFile-souremap.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile.symbols b/tests/baselines/reference/emptyFile.symbols index 95478466b8aec..7e5aca97446ef 100644 --- a/tests/baselines/reference/emptyFile.symbols +++ b/tests/baselines/reference/emptyFile.symbols @@ -1,3 +1,2 @@ === tests/cases/compiler/emptyFile.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile.types b/tests/baselines/reference/emptyFile.types index 95478466b8aec..7e5aca97446ef 100644 --- a/tests/baselines/reference/emptyFile.types +++ b/tests/baselines/reference/emptyFile.types @@ -1,3 +1,2 @@ === tests/cases/compiler/emptyFile.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.symbols b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.symbols index ed48b01cbbf0a..5e4dc96b26713 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.symbols +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.symbols @@ -1,11 +1,11 @@ === tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5.ts === + (function () { -No type information for this code. var {}; -No type information for this code. let {}; -No type information for this code. const {}; -No type information for this code. -No type information for this code. var []; -No type information for this code. let []; -No type information for this code. const []; -No type information for this code.})(); -No type information for this code. \ No newline at end of file + var {}; + let {}; + const {}; + + var []; + let []; + const []; +})(); diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.symbols b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.symbols index fc4ae50c6f815..b43129f393715 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.symbols +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.symbols @@ -1,11 +1,11 @@ === tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES5iterable.ts === + (function () { -No type information for this code. var {}; -No type information for this code. let {}; -No type information for this code. const {}; -No type information for this code. -No type information for this code. var []; -No type information for this code. let []; -No type information for this code. const []; -No type information for this code.})(); -No type information for this code. \ No newline at end of file + var {}; + let {}; + const {}; + + var []; + let []; + const []; +})(); diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.symbols b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.symbols index aca384d584204..49d0978cf98e5 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.symbols +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.symbols @@ -1,11 +1,11 @@ === tests/cases/conformance/es6/destructuring/emptyVariableDeclarationBindingPatterns02_ES6.ts === + (function () { -No type information for this code. var {}; -No type information for this code. let {}; -No type information for this code. const {}; -No type information for this code. -No type information for this code. var []; -No type information for this code. let []; -No type information for this code. const []; -No type information for this code.})(); -No type information for this code. \ No newline at end of file + var {}; + let {}; + const {}; + + var []; + let []; + const []; +})(); diff --git a/tests/baselines/reference/es5-commonjs2.symbols b/tests/baselines/reference/es5-commonjs2.symbols index c36026685dd02..42ee6b7fb3231 100644 --- a/tests/baselines/reference/es5-commonjs2.symbols +++ b/tests/baselines/reference/es5-commonjs2.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/es5-commonjs2.ts === + export default 1; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es5-commonjs2.types b/tests/baselines/reference/es5-commonjs2.types index c36026685dd02..42ee6b7fb3231 100644 --- a/tests/baselines/reference/es5-commonjs2.types +++ b/tests/baselines/reference/es5-commonjs2.types @@ -1,4 +1,4 @@ === tests/cases/compiler/es5-commonjs2.ts === + export default 1; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es5-commonjs5.symbols b/tests/baselines/reference/es5-commonjs5.symbols index 56991d9a003c5..feb787a3fbbdf 100644 --- a/tests/baselines/reference/es5-commonjs5.symbols +++ b/tests/baselines/reference/es5-commonjs5.symbols @@ -1,6 +1,6 @@ === tests/cases/compiler/es5-commonjs5.ts === + export default function () { -No type information for this code. return "test"; -No type information for this code.} -No type information for this code. -No type information for this code. \ No newline at end of file + return "test"; +} + diff --git a/tests/baselines/reference/es5ExportDefaultExpression.symbols b/tests/baselines/reference/es5ExportDefaultExpression.symbols index 65b2419bac96d..20cd05cc6e1a9 100644 --- a/tests/baselines/reference/es5ExportDefaultExpression.symbols +++ b/tests/baselines/reference/es5ExportDefaultExpression.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/es5ExportDefaultExpression.ts === + export default (1 + 2); -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.symbols b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.symbols index 133d9b73dd426..e50554c27fbd3 100644 --- a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.symbols +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/es5ExportDefaultFunctionDeclaration2.ts === + export default function () { } -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.types b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.types index 133d9b73dd426..e50554c27fbd3 100644 --- a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.types +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration2.types @@ -1,4 +1,4 @@ === tests/cases/compiler/es5ExportDefaultFunctionDeclaration2.ts === + export default function () { } -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es6ExportAll.symbols b/tests/baselines/reference/es6ExportAll.symbols index d0890d99e3d8d..79ef15e5e3b15 100644 --- a/tests/baselines/reference/es6ExportAll.symbols +++ b/tests/baselines/reference/es6ExportAll.symbols @@ -19,5 +19,5 @@ export module uninstantiated { } === tests/cases/compiler/client.ts === + export * from "server"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportAll.types b/tests/baselines/reference/es6ExportAll.types index 8b0f0b893a590..4970865576276 100644 --- a/tests/baselines/reference/es6ExportAll.types +++ b/tests/baselines/reference/es6ExportAll.types @@ -19,5 +19,5 @@ export module uninstantiated { } === tests/cases/compiler/client.ts === + export * from "server"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportAllInEs5.symbols b/tests/baselines/reference/es6ExportAllInEs5.symbols index 2a2ad20f22fa6..483016ca5dcbd 100644 --- a/tests/baselines/reference/es6ExportAllInEs5.symbols +++ b/tests/baselines/reference/es6ExportAllInEs5.symbols @@ -19,5 +19,5 @@ export module uninstantiated { } === tests/cases/compiler/client.ts === + export * from "./server"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportAllInEs5.types b/tests/baselines/reference/es6ExportAllInEs5.types index 80c718a6a3906..8cc8441c6fdcb 100644 --- a/tests/baselines/reference/es6ExportAllInEs5.types +++ b/tests/baselines/reference/es6ExportAllInEs5.types @@ -19,5 +19,5 @@ export module uninstantiated { } === tests/cases/compiler/client.ts === + export * from "./server"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ExportDefaultExpression.symbols b/tests/baselines/reference/es6ExportDefaultExpression.symbols index b5d3549a1f694..5d0dd6c541d2d 100644 --- a/tests/baselines/reference/es6ExportDefaultExpression.symbols +++ b/tests/baselines/reference/es6ExportDefaultExpression.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/es6ExportDefaultExpression.ts === + export default (1 + 2); -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.symbols b/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.symbols index 4021dbdc49a34..e930f222876a2 100644 --- a/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.symbols +++ b/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/es6ExportDefaultFunctionDeclaration2.ts === + export default function () { } -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.types b/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.types index 4021dbdc49a34..e930f222876a2 100644 --- a/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.types +++ b/tests/baselines/reference/es6ExportDefaultFunctionDeclaration2.types @@ -1,4 +1,4 @@ === tests/cases/compiler/es6ExportDefaultFunctionDeclaration2.ts === + export default function () { } -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es6ImportParseErrors.symbols b/tests/baselines/reference/es6ImportParseErrors.symbols index 045f7a9d83111..d104016d1f1f9 100644 --- a/tests/baselines/reference/es6ImportParseErrors.symbols +++ b/tests/baselines/reference/es6ImportParseErrors.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/es6ImportParseErrors.ts === + import 10; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportWithoutFromClause.symbols b/tests/baselines/reference/es6ImportWithoutFromClause.symbols index 4298fc777247d..f5d3d294edf17 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClause.symbols +++ b/tests/baselines/reference/es6ImportWithoutFromClause.symbols @@ -3,6 +3,6 @@ export var a = 10; >a : Symbol(a, Decl(es6ImportWithoutFromClause_0.ts, 0, 10)) === tests/cases/compiler/es6ImportWithoutFromClause_1.ts === + import "es6ImportWithoutFromClause_0"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es6ImportWithoutFromClause.types b/tests/baselines/reference/es6ImportWithoutFromClause.types index bf017cb2fc051..a76dcddb2f80a 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClause.types +++ b/tests/baselines/reference/es6ImportWithoutFromClause.types @@ -4,6 +4,6 @@ export var a = 10; >10 : 10 === tests/cases/compiler/es6ImportWithoutFromClause_1.ts === + import "es6ImportWithoutFromClause_0"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.symbols b/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.symbols index b1701aa72081c..b4e993576ba1b 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.symbols +++ b/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.symbols @@ -3,5 +3,5 @@ export var a = 10; >a : Symbol(a, Decl(es6ImportWithoutFromClauseInEs5_0.ts, 0, 10)) === tests/cases/compiler/es6ImportWithoutFromClauseInEs5_1.ts === + import "es6ImportWithoutFromClauseInEs5_0"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.types b/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.types index 02eacf11b25f7..e585b4b1d8e7c 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.types +++ b/tests/baselines/reference/es6ImportWithoutFromClauseInEs5.types @@ -4,5 +4,5 @@ export var a = 10; >10 : 10 === tests/cases/compiler/es6ImportWithoutFromClauseInEs5_1.ts === + import "es6ImportWithoutFromClauseInEs5_0"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.symbols b/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.symbols index e520bede4d8a6..eda46cf1d88b2 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.symbols +++ b/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.symbols @@ -4,5 +4,5 @@ export interface i { } === tests/cases/compiler/es6ImportWithoutFromClauseNonInstantiatedModule_1.ts === + import "es6ImportWithoutFromClauseNonInstantiatedModule_0"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.types b/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.types index 554d7ad462087..5d3b78b9aa5e6 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.types +++ b/tests/baselines/reference/es6ImportWithoutFromClauseNonInstantiatedModule.types @@ -1,7 +1,8 @@ === tests/cases/compiler/es6ImportWithoutFromClauseNonInstantiatedModule_0.ts === + export interface i { -No type information for this code.} -No type information for this code. -No type information for this code.=== tests/cases/compiler/es6ImportWithoutFromClauseNonInstantiatedModule_1.ts === +} + +=== tests/cases/compiler/es6ImportWithoutFromClauseNonInstantiatedModule_1.ts === + import "es6ImportWithoutFromClauseNonInstantiatedModule_0"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.symbols b/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.symbols index f038a8543f68c..52da8a1d94fc1 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.symbols +++ b/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.symbols @@ -3,5 +3,5 @@ export var a = 10; >a : Symbol(a, Decl(server.ts, 0, 10)) === tests/cases/compiler/client.ts === + export import "server"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.types b/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.types index 786c1ebbd54d8..22dbb1b0d840a 100644 --- a/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.types +++ b/tests/baselines/reference/es6ImportWithoutFromClauseWithExport.types @@ -4,5 +4,5 @@ export var a = 10; >10 : 10 === tests/cases/compiler/client.ts === + export import "server"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/esModuleInteropImportTSLibHasImport.symbols b/tests/baselines/reference/esModuleInteropImportTSLibHasImport.symbols index 0c200f3b5ad26..5d78c4223986f 100644 --- a/tests/baselines/reference/esModuleInteropImportTSLibHasImport.symbols +++ b/tests/baselines/reference/esModuleInteropImportTSLibHasImport.symbols @@ -10,8 +10,9 @@ export const username = () => 'username'; >username : Symbol(username, Decl(username.ts, 0, 12)) === tests/cases/compiler/utils/index.ts === + export * from './username'; -No type information for this code.=== tests/cases/compiler/hello.ts === +=== tests/cases/compiler/hello.ts === const sayHello = (name?: string) => void (`Hello, ${name}!`); >sayHello : Symbol(sayHello, Decl(hello.ts, 0, 5)) >name : Symbol(name, Decl(hello.ts, 0, 18)) diff --git a/tests/baselines/reference/esModuleInteropImportTSLibHasImport.types b/tests/baselines/reference/esModuleInteropImportTSLibHasImport.types index 5851ad03565bf..d6e5524e95e09 100644 --- a/tests/baselines/reference/esModuleInteropImportTSLibHasImport.types +++ b/tests/baselines/reference/esModuleInteropImportTSLibHasImport.types @@ -12,8 +12,9 @@ export const username = () => 'username'; >'username' : "username" === tests/cases/compiler/utils/index.ts === + export * from './username'; -No type information for this code.=== tests/cases/compiler/hello.ts === +=== tests/cases/compiler/hello.ts === const sayHello = (name?: string) => void (`Hello, ${name}!`); >sayHello : (name?: string) => any >(name?: string) => void (`Hello, ${name}!`) : (name?: string) => any diff --git a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types index 7a5efc0e8570f..cddd3ccbb6bd3 100644 --- a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types +++ b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.types @@ -1,13 +1,14 @@ === tests/cases/compiler/types.d.ts === + declare namespace A { -No type information for this code. export namespace B { -No type information for this code. export namespace C { -No type information for this code. export namespace D { -No type information for this code. } -No type information for this code. } -No type information for this code. } -No type information for this code.} -No type information for this code.=== tests/cases/compiler/usage.ts === + export namespace B { + export namespace C { + export namespace D { + } + } + } +} +=== tests/cases/compiler/usage.ts === class Foo { >Foo : Foo diff --git a/tests/baselines/reference/exportAssignNonIdentifier.symbols b/tests/baselines/reference/exportAssignNonIdentifier.symbols index 0c1e7c3611d11..7afebe9c7d4e9 100644 --- a/tests/baselines/reference/exportAssignNonIdentifier.symbols +++ b/tests/baselines/reference/exportAssignNonIdentifier.symbols @@ -6,29 +6,32 @@ export = typeof x; // Ok >x : Symbol(x, Decl(foo1.ts, 0, 3)) === tests/cases/conformance/externalModules/foo2.ts === + export = "sausages"; // Ok -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/foo3.ts === + +=== tests/cases/conformance/externalModules/foo3.ts === export = class Foo3 {}; // Error, not an expression >Foo3 : Symbol(Foo3, Decl(foo3.ts, 0, 8)) === tests/cases/conformance/externalModules/foo4.ts === + export = true; // Ok -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/foo5.ts === + +=== tests/cases/conformance/externalModules/foo5.ts === export = undefined; // Valid. undefined is an identifier in JavaScript/TypeScript >undefined : Symbol(undefined) === tests/cases/conformance/externalModules/foo6.ts === + export = void; // Error, void operator requires an argument -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/foo7.ts === + +=== tests/cases/conformance/externalModules/foo7.ts === export = Date || String; // Ok >Date : Symbol(Date, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.scripthost.d.ts, --, --)) >String : Symbol(String, Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --), Decl(lib.es5.d.ts, --, --)) === tests/cases/conformance/externalModules/foo8.ts === + export = null; // Ok -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file + + diff --git a/tests/baselines/reference/exportAssignNonIdentifier.types b/tests/baselines/reference/exportAssignNonIdentifier.types index e457fd8a209ea..cb0a536030b64 100644 --- a/tests/baselines/reference/exportAssignNonIdentifier.types +++ b/tests/baselines/reference/exportAssignNonIdentifier.types @@ -8,9 +8,10 @@ export = typeof x; // Ok >x : number === tests/cases/conformance/externalModules/foo2.ts === + export = "sausages"; // Ok -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/foo3.ts === + +=== tests/cases/conformance/externalModules/foo3.ts === export = class Foo3 {}; // Error, not an expression >class Foo3 {} : typeof Foo3 >Foo3 : typeof Foo3 diff --git a/tests/baselines/reference/exportClassWithoutName.symbols b/tests/baselines/reference/exportClassWithoutName.symbols index 82c66c3c11d56..da24c44bc1a18 100644 --- a/tests/baselines/reference/exportClassWithoutName.symbols +++ b/tests/baselines/reference/exportClassWithoutName.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/exportClassWithoutName.ts === + export class { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/exportClassWithoutName.types b/tests/baselines/reference/exportClassWithoutName.types index 82c66c3c11d56..da24c44bc1a18 100644 --- a/tests/baselines/reference/exportClassWithoutName.types +++ b/tests/baselines/reference/exportClassWithoutName.types @@ -1,4 +1,4 @@ === tests/cases/compiler/exportClassWithoutName.ts === + export class { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.symbols b/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.symbols index e3796ccf68543..5cd8dec7e549a 100644 --- a/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.symbols +++ b/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.symbols @@ -9,10 +9,11 @@ export { x } from "./t1"; === tests/cases/compiler/t3.ts === + export { } from -No type information for this code. "./t1"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/t4.ts === + "./t1"; + +=== tests/cases/compiler/t4.ts === export { x as a } from >x : Symbol(x, Decl(t1.ts, 0, 10)) >a : Symbol(a, Decl(t4.ts, 0, 8)) diff --git a/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.types b/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.types index 510ccc294680b..9bfc1dd0b7f20 100644 --- a/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.types +++ b/tests/baselines/reference/exportDeclarationWithModuleSpecifierNameOnNextLine1.types @@ -10,10 +10,11 @@ export { x } from "./t1"; === tests/cases/compiler/t3.ts === + export { } from -No type information for this code. "./t1"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/t4.ts === + "./t1"; + +=== tests/cases/compiler/t4.ts === export { x as a } from >x : string >a : string diff --git a/tests/baselines/reference/exportDefaultAsyncFunction2.symbols b/tests/baselines/reference/exportDefaultAsyncFunction2.symbols index ac2034bcf53da..24663e9de8784 100644 --- a/tests/baselines/reference/exportDefaultAsyncFunction2.symbols +++ b/tests/baselines/reference/exportDefaultAsyncFunction2.symbols @@ -21,9 +21,10 @@ export default async(() => await(Promise.resolve(1))); >resolve : Symbol(PromiseConstructor.resolve, Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --), Decl(lib.es2015.promise.d.ts, --, --)) === tests/cases/compiler/b.ts === + export default async () => { return 0; }; -No type information for this code. -No type information for this code.=== tests/cases/compiler/c.ts === + +=== tests/cases/compiler/c.ts === import { async, await } from 'asyncawait'; >async : Symbol(async, Decl(c.ts, 0, 8)) >await : Symbol(await, Decl(c.ts, 0, 15)) diff --git a/tests/baselines/reference/exportDefaultExpressionComments.symbols b/tests/baselines/reference/exportDefaultExpressionComments.symbols index a3a94331a56cd..6de3f2678c494 100644 --- a/tests/baselines/reference/exportDefaultExpressionComments.symbols +++ b/tests/baselines/reference/exportDefaultExpressionComments.symbols @@ -1,7 +1,7 @@ === tests/cases/conformance/declarationEmit/exportDefaultExpressionComments.ts === + /** -No type information for this code. * JSDoc Comments -No type information for this code. */ -No type information for this code.export default null -No type information for this code. -No type information for this code. \ No newline at end of file + * JSDoc Comments + */ +export default null + diff --git a/tests/baselines/reference/exportDefaultInJsFile01.symbols b/tests/baselines/reference/exportDefaultInJsFile01.symbols index 154e097eac3a7..3af24d5be7d6f 100644 --- a/tests/baselines/reference/exportDefaultInJsFile01.symbols +++ b/tests/baselines/reference/exportDefaultInJsFile01.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/salsa/myFile01.js === + export default "hello"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/exportDefaultInJsFile01.types b/tests/baselines/reference/exportDefaultInJsFile01.types index 154e097eac3a7..3af24d5be7d6f 100644 --- a/tests/baselines/reference/exportDefaultInJsFile01.types +++ b/tests/baselines/reference/exportDefaultInJsFile01.types @@ -1,3 +1,3 @@ === tests/cases/conformance/salsa/myFile01.js === + export default "hello"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/exportDefaultInJsFile02.symbols b/tests/baselines/reference/exportDefaultInJsFile02.symbols index 936da57c0f63f..3fcfaa23f216e 100644 --- a/tests/baselines/reference/exportDefaultInJsFile02.symbols +++ b/tests/baselines/reference/exportDefaultInJsFile02.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/salsa/myFile02.js === + export default "hello"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/exportDefaultInJsFile02.types b/tests/baselines/reference/exportDefaultInJsFile02.types index 936da57c0f63f..3fcfaa23f216e 100644 --- a/tests/baselines/reference/exportDefaultInJsFile02.types +++ b/tests/baselines/reference/exportDefaultInJsFile02.types @@ -1,3 +1,3 @@ === tests/cases/conformance/salsa/myFile02.js === + export default "hello"; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/exportDefaultMissingName.symbols b/tests/baselines/reference/exportDefaultMissingName.symbols index 90bc4a7b1773c..f4e740ff2aa11 100644 --- a/tests/baselines/reference/exportDefaultMissingName.symbols +++ b/tests/baselines/reference/exportDefaultMissingName.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/exportDefaultMissingName.ts === + export default xyzzy; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/exportDefaultParenthesize.symbols b/tests/baselines/reference/exportDefaultParenthesize.symbols index b2291da3a9b8f..505776b2f6098 100644 --- a/tests/baselines/reference/exportDefaultParenthesize.symbols +++ b/tests/baselines/reference/exportDefaultParenthesize.symbols @@ -80,6 +80,6 @@ export default { }; === tests/cases/compiler/functionexpression.ts === + export default () => 42; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/exportDefaultWithJSDoc1.symbols b/tests/baselines/reference/exportDefaultWithJSDoc1.symbols index bad38b845bb09..7f79a1571a707 100644 --- a/tests/baselines/reference/exportDefaultWithJSDoc1.symbols +++ b/tests/baselines/reference/exportDefaultWithJSDoc1.symbols @@ -1,12 +1,13 @@ === tests/cases/compiler/a.js === + /** -No type information for this code. * A number, or a string containing a number. -No type information for this code. * @typedef {(number|string)} NumberLike -No type information for this code. */ -No type information for this code. -No type information for this code./** @type {NumberLike[]} */export default ([ ]); -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + * A number, or a string containing a number. + * @typedef {(number|string)} NumberLike + */ + +/** @type {NumberLike[]} */export default ([ ]); + +=== tests/cases/compiler/b.ts === import A from './a' >A : Symbol(A, Decl(b.ts, 0, 6)) diff --git a/tests/baselines/reference/exportDefaultWithJSDoc2.symbols b/tests/baselines/reference/exportDefaultWithJSDoc2.symbols index ff3e74a3fbe94..0b0f5445a393b 100644 --- a/tests/baselines/reference/exportDefaultWithJSDoc2.symbols +++ b/tests/baselines/reference/exportDefaultWithJSDoc2.symbols @@ -1,12 +1,13 @@ === tests/cases/compiler/a.js === + /** -No type information for this code. * A number, or a string containing a number. -No type information for this code. * @typedef {(number|string)} NumberLike -No type information for this code. */ -No type information for this code. -No type information for this code.export default /** @type {NumberLike[]} */([ ]); -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + * A number, or a string containing a number. + * @typedef {(number|string)} NumberLike + */ + +export default /** @type {NumberLike[]} */([ ]); + +=== tests/cases/compiler/b.ts === import A from './a' >A : Symbol(A, Decl(b.ts, 0, 6)) diff --git a/tests/baselines/reference/exportNamespace1.symbols b/tests/baselines/reference/exportNamespace1.symbols index b3212c06df35a..237640959009a 100644 --- a/tests/baselines/reference/exportNamespace1.symbols +++ b/tests/baselines/reference/exportNamespace1.symbols @@ -7,9 +7,10 @@ export type { A } from './a'; >A : Symbol(A, Decl(b.ts, 0, 13)) === tests/cases/conformance/externalModules/typeOnly/c.ts === + export * from './b'; -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/typeOnly/d.ts === + +=== tests/cases/conformance/externalModules/typeOnly/d.ts === import { A } from './c'; >A : Symbol(A, Decl(d.ts, 0, 8)) diff --git a/tests/baselines/reference/exportNamespace1.types b/tests/baselines/reference/exportNamespace1.types index 17a88aadaaad5..d816e106e3844 100644 --- a/tests/baselines/reference/exportNamespace1.types +++ b/tests/baselines/reference/exportNamespace1.types @@ -7,9 +7,10 @@ export type { A } from './a'; >A : import("tests/cases/conformance/externalModules/typeOnly/a").A === tests/cases/conformance/externalModules/typeOnly/c.ts === + export * from './b'; -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/typeOnly/d.ts === + +=== tests/cases/conformance/externalModules/typeOnly/d.ts === import { A } from './c'; >A : typeof A diff --git a/tests/baselines/reference/exportNamespace4.symbols b/tests/baselines/reference/exportNamespace4.symbols index 860bb80b87795..7e4d3712c41d9 100644 --- a/tests/baselines/reference/exportNamespace4.symbols +++ b/tests/baselines/reference/exportNamespace4.symbols @@ -3,9 +3,10 @@ export class A {} >A : Symbol(A, Decl(a.ts, 0, 0)) === tests/cases/conformance/externalModules/typeOnly/b.ts === + export type * from './a'; // Grammar error -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/typeOnly/c.ts === + +=== tests/cases/conformance/externalModules/typeOnly/c.ts === export type * as ns from './a'; // Grammar error >ns : Symbol(ns, Decl(c.ts, 0, 11)) diff --git a/tests/baselines/reference/exportNamespace4.types b/tests/baselines/reference/exportNamespace4.types index 457e238dcad3e..d1a496dad809d 100644 --- a/tests/baselines/reference/exportNamespace4.types +++ b/tests/baselines/reference/exportNamespace4.types @@ -3,9 +3,10 @@ export class A {} >A : A === tests/cases/conformance/externalModules/typeOnly/b.ts === + export type * from './a'; // Grammar error -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/typeOnly/c.ts === + +=== tests/cases/conformance/externalModules/typeOnly/c.ts === export type * as ns from './a'; // Grammar error >ns : typeof import("tests/cases/conformance/externalModules/typeOnly/a") diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types index 3472ce6c5655e..54364cd6efe01 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.types @@ -1,7 +1,8 @@ === tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_A.ts === + declare module X { export interface bar { } } -No type information for this code. -No type information for this code.=== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts === + +=== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts === export { X }; >X : any diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types index eb83726ae391f..9ec71065d0bf0 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.types @@ -1,7 +1,8 @@ === tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_A.ts === + declare module X { export interface bar { } } -No type information for this code. -No type information for this code.=== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts === + +=== tests/cases/compiler/exportSpecifierReferencingOuterDeclaration2_B.ts === declare module X { export interface foo { } } export { X }; >X : any diff --git a/tests/baselines/reference/exportStar-amd.symbols b/tests/baselines/reference/exportStar-amd.symbols index b559d4007a982..3cc365f8e2de2 100644 --- a/tests/baselines/reference/exportStar-amd.symbols +++ b/tests/baselines/reference/exportStar-amd.symbols @@ -26,11 +26,12 @@ export { x, y, z }; >z : Symbol(z, Decl(t3.ts, 3, 14)) === tests/cases/conformance/es6/modules/t4.ts === + export * from "./t1"; -No type information for this code.export * from "./t2"; -No type information for this code.export * from "./t3"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/es6/modules/main.ts === +export * from "./t2"; +export * from "./t3"; + +=== tests/cases/conformance/es6/modules/main.ts === import hello, { x, y, z, foo } from "./t4"; >hello : Symbol(hello, Decl(main.ts, 0, 6)) >x : Symbol(x, Decl(main.ts, 0, 15)) diff --git a/tests/baselines/reference/exportStar-amd.types b/tests/baselines/reference/exportStar-amd.types index ed6f4befbb2c9..39d1c1ed12491 100644 --- a/tests/baselines/reference/exportStar-amd.types +++ b/tests/baselines/reference/exportStar-amd.types @@ -31,11 +31,12 @@ export { x, y, z }; >z : string === tests/cases/conformance/es6/modules/t4.ts === + export * from "./t1"; -No type information for this code.export * from "./t2"; -No type information for this code.export * from "./t3"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/es6/modules/main.ts === +export * from "./t2"; +export * from "./t3"; + +=== tests/cases/conformance/es6/modules/main.ts === import hello, { x, y, z, foo } from "./t4"; >hello : any >x : number diff --git a/tests/baselines/reference/exportStar.symbols b/tests/baselines/reference/exportStar.symbols index b559d4007a982..3cc365f8e2de2 100644 --- a/tests/baselines/reference/exportStar.symbols +++ b/tests/baselines/reference/exportStar.symbols @@ -26,11 +26,12 @@ export { x, y, z }; >z : Symbol(z, Decl(t3.ts, 3, 14)) === tests/cases/conformance/es6/modules/t4.ts === + export * from "./t1"; -No type information for this code.export * from "./t2"; -No type information for this code.export * from "./t3"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/es6/modules/main.ts === +export * from "./t2"; +export * from "./t3"; + +=== tests/cases/conformance/es6/modules/main.ts === import hello, { x, y, z, foo } from "./t4"; >hello : Symbol(hello, Decl(main.ts, 0, 6)) >x : Symbol(x, Decl(main.ts, 0, 15)) diff --git a/tests/baselines/reference/exportStar.types b/tests/baselines/reference/exportStar.types index ed6f4befbb2c9..39d1c1ed12491 100644 --- a/tests/baselines/reference/exportStar.types +++ b/tests/baselines/reference/exportStar.types @@ -31,11 +31,12 @@ export { x, y, z }; >z : string === tests/cases/conformance/es6/modules/t4.ts === + export * from "./t1"; -No type information for this code.export * from "./t2"; -No type information for this code.export * from "./t3"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/es6/modules/main.ts === +export * from "./t2"; +export * from "./t3"; + +=== tests/cases/conformance/es6/modules/main.ts === import hello, { x, y, z, foo } from "./t4"; >hello : any >x : number diff --git a/tests/baselines/reference/exportStarFromEmptyModule.symbols b/tests/baselines/reference/exportStarFromEmptyModule.symbols index 5d920a1dd8008..7ae2bd51187e7 100644 --- a/tests/baselines/reference/exportStarFromEmptyModule.symbols +++ b/tests/baselines/reference/exportStarFromEmptyModule.symbols @@ -7,9 +7,10 @@ export class A { } === tests/cases/compiler/exportStarFromEmptyModule_module2.ts === + // empty -No type information for this code. -No type information for this code.=== tests/cases/compiler/exportStarFromEmptyModule_module3.ts === + +=== tests/cases/compiler/exportStarFromEmptyModule_module3.ts === export * from "./exportStarFromEmptyModule_module2"; export * from "./exportStarFromEmptyModule_module1"; diff --git a/tests/baselines/reference/exportStarFromEmptyModule.types b/tests/baselines/reference/exportStarFromEmptyModule.types index 1486e5451a363..17cc780eac283 100644 --- a/tests/baselines/reference/exportStarFromEmptyModule.types +++ b/tests/baselines/reference/exportStarFromEmptyModule.types @@ -7,9 +7,10 @@ export class A { } === tests/cases/compiler/exportStarFromEmptyModule_module2.ts === + // empty -No type information for this code. -No type information for this code.=== tests/cases/compiler/exportStarFromEmptyModule_module3.ts === + +=== tests/cases/compiler/exportStarFromEmptyModule_module3.ts === export * from "./exportStarFromEmptyModule_module2"; export * from "./exportStarFromEmptyModule_module1"; diff --git a/tests/baselines/reference/exportTwoInterfacesWithSameName.types b/tests/baselines/reference/exportTwoInterfacesWithSameName.types index 4865183ebc889..359877ca375a5 100644 --- a/tests/baselines/reference/exportTwoInterfacesWithSameName.types +++ b/tests/baselines/reference/exportTwoInterfacesWithSameName.types @@ -1,5 +1,5 @@ === tests/cases/compiler/exportTwoInterfacesWithSameName.ts === + export interface I {} -No type information for this code.export interface I {} -No type information for this code. -No type information for this code. \ No newline at end of file +export interface I {} + diff --git a/tests/baselines/reference/exportsAndImports4-amd.symbols b/tests/baselines/reference/exportsAndImports4-amd.symbols index 6dfbc067c2e86..79e0cbca78f8b 100644 --- a/tests/baselines/reference/exportsAndImports4-amd.symbols +++ b/tests/baselines/reference/exportsAndImports4-amd.symbols @@ -62,6 +62,6 @@ export { a, b, c, d, e1, e2, f1, f2 }; >f2 : Symbol(f2, Decl(t3.ts, 14, 32)) === tests/cases/conformance/es6/modules/t1.ts === + export default "hello"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/exportsAndImports4-amd.types b/tests/baselines/reference/exportsAndImports4-amd.types index 6127765014a57..e194fd300049a 100644 --- a/tests/baselines/reference/exportsAndImports4-amd.types +++ b/tests/baselines/reference/exportsAndImports4-amd.types @@ -62,6 +62,6 @@ export { a, b, c, d, e1, e2, f1, f2 }; >f2 : "hello" === tests/cases/conformance/es6/modules/t1.ts === + export default "hello"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/exportsAndImports4-es6.symbols b/tests/baselines/reference/exportsAndImports4-es6.symbols index 6dfbc067c2e86..79e0cbca78f8b 100644 --- a/tests/baselines/reference/exportsAndImports4-es6.symbols +++ b/tests/baselines/reference/exportsAndImports4-es6.symbols @@ -62,6 +62,6 @@ export { a, b, c, d, e1, e2, f1, f2 }; >f2 : Symbol(f2, Decl(t3.ts, 14, 32)) === tests/cases/conformance/es6/modules/t1.ts === + export default "hello"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/exportsAndImports4-es6.types b/tests/baselines/reference/exportsAndImports4-es6.types index 6127765014a57..e194fd300049a 100644 --- a/tests/baselines/reference/exportsAndImports4-es6.types +++ b/tests/baselines/reference/exportsAndImports4-es6.types @@ -62,6 +62,6 @@ export { a, b, c, d, e1, e2, f1, f2 }; >f2 : "hello" === tests/cases/conformance/es6/modules/t1.ts === + export default "hello"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/exportsAndImports4.symbols b/tests/baselines/reference/exportsAndImports4.symbols index 6dfbc067c2e86..79e0cbca78f8b 100644 --- a/tests/baselines/reference/exportsAndImports4.symbols +++ b/tests/baselines/reference/exportsAndImports4.symbols @@ -62,6 +62,6 @@ export { a, b, c, d, e1, e2, f1, f2 }; >f2 : Symbol(f2, Decl(t3.ts, 14, 32)) === tests/cases/conformance/es6/modules/t1.ts === + export default "hello"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/exportsAndImports4.types b/tests/baselines/reference/exportsAndImports4.types index 6127765014a57..e194fd300049a 100644 --- a/tests/baselines/reference/exportsAndImports4.types +++ b/tests/baselines/reference/exportsAndImports4.types @@ -62,6 +62,6 @@ export { a, b, c, d, e1, e2, f1, f2 }; >f2 : "hello" === tests/cases/conformance/es6/modules/t1.ts === + export default "hello"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/externalModuleWithoutCompilerFlag1.types b/tests/baselines/reference/externalModuleWithoutCompilerFlag1.types index 5a7e6f6601e5d..caf80fe611816 100644 --- a/tests/baselines/reference/externalModuleWithoutCompilerFlag1.types +++ b/tests/baselines/reference/externalModuleWithoutCompilerFlag1.types @@ -1,5 +1,5 @@ === tests/cases/compiler/externalModuleWithoutCompilerFlag1.ts === + // Not on line 0 because we want to verify the error is placed in the appropriate location. -No type information for this code. export module M { -No type information for this code.} -No type information for this code. \ No newline at end of file + export module M { +} diff --git a/tests/baselines/reference/fileWithNextLine3.symbols b/tests/baselines/reference/fileWithNextLine3.symbols index 67bcad5eeb6ca..bf3b8905018e4 100644 --- a/tests/baselines/reference/fileWithNextLine3.symbols +++ b/tests/baselines/reference/fileWithNextLine3.symbols @@ -1,5 +1,5 @@ === tests/cases/compiler/fileWithNextLine3.ts === + // Note: there is a nextline (0x85) between the return and the -No type information for this code.// 0. It should be counted as a space and should not trigger ASI -No type information for this code.returnÂ…0; -No type information for this code. \ No newline at end of file +// 0. It should be counted as a space and should not trigger ASI +returnÂ…0; diff --git a/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.types b/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.types index a04e40bdfba22..96f2409a484aa 100644 --- a/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.types +++ b/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.types @@ -1,5 +1,5 @@ === tests/cases/compiler/genericTypeUsedWithoutTypeArguments3.ts === + interface Foo { } -No type information for this code.interface Bar extends Foo { } -No type information for this code. -No type information for this code. \ No newline at end of file +interface Bar extends Foo { } + diff --git a/tests/baselines/reference/ifStatementInternalComments.symbols b/tests/baselines/reference/ifStatementInternalComments.symbols index a7d0c5feef9bf..e40a9e9ac422d 100644 --- a/tests/baselines/reference/ifStatementInternalComments.symbols +++ b/tests/baselines/reference/ifStatementInternalComments.symbols @@ -1,6 +1,6 @@ === tests/cases/compiler/ifStatementInternalComments.ts === + /*1*/ if /*2*/ ( /*3*/ true /*4*/ ) /*5*/ {} -No type information for this code. -No type information for this code./*1*/ if /*2*/ ( /*3*/ true /*4*/ ) /*5*/ {} /*6*/ else /*7*/ {} -No type information for this code. -No type information for this code. \ No newline at end of file + +/*1*/ if /*2*/ ( /*3*/ true /*4*/ ) /*5*/ {} /*6*/ else /*7*/ {} + diff --git a/tests/baselines/reference/implementsClause.types b/tests/baselines/reference/implementsClause.types index ffdff2f6fb08d..0ecf91dab65f1 100644 --- a/tests/baselines/reference/implementsClause.types +++ b/tests/baselines/reference/implementsClause.types @@ -1,7 +1,8 @@ === tests/cases/conformance/externalModules/typeOnly/types.ts === + export interface Component {} -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/typeOnly/ns.ts === + +=== tests/cases/conformance/externalModules/typeOnly/ns.ts === import type * as types from './types'; >types : typeof types diff --git a/tests/baselines/reference/importAssertion3(module=es2015).types b/tests/baselines/reference/importAssertion3(module=es2015).types index 664ec54ac4a2b..d228171681044 100644 --- a/tests/baselines/reference/importAssertion3(module=es2015).types +++ b/tests/baselines/reference/importAssertion3(module=es2015).types @@ -1,7 +1,8 @@ === tests/cases/conformance/importAssertion/0.ts === + export interface I { } -No type information for this code. -No type information for this code.=== tests/cases/conformance/importAssertion/1.ts === + +=== tests/cases/conformance/importAssertion/1.ts === export type {} from './0' assert { type: "json" } >type : any diff --git a/tests/baselines/reference/importAssertion3(module=esnext).types b/tests/baselines/reference/importAssertion3(module=esnext).types index 664ec54ac4a2b..d228171681044 100644 --- a/tests/baselines/reference/importAssertion3(module=esnext).types +++ b/tests/baselines/reference/importAssertion3(module=esnext).types @@ -1,7 +1,8 @@ === tests/cases/conformance/importAssertion/0.ts === + export interface I { } -No type information for this code. -No type information for this code.=== tests/cases/conformance/importAssertion/1.ts === + +=== tests/cases/conformance/importAssertion/1.ts === export type {} from './0' assert { type: "json" } >type : any diff --git a/tests/baselines/reference/importCallExpressionInExportEqualsAMD.symbols b/tests/baselines/reference/importCallExpressionInExportEqualsAMD.symbols index cd8d7d3804190..21c17056047bc 100644 --- a/tests/baselines/reference/importCallExpressionInExportEqualsAMD.symbols +++ b/tests/baselines/reference/importCallExpressionInExportEqualsAMD.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/something.ts === + export = 42; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === export = async function() { const something = await import("./something"); >something : Symbol(something, Decl(index.ts, 1, 9)) diff --git a/tests/baselines/reference/importCallExpressionInExportEqualsAMD.types b/tests/baselines/reference/importCallExpressionInExportEqualsAMD.types index b590130d1cff5..d35342ec30ce5 100644 --- a/tests/baselines/reference/importCallExpressionInExportEqualsAMD.types +++ b/tests/baselines/reference/importCallExpressionInExportEqualsAMD.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/something.ts === + export = 42; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === export = async function() { >async function() { const something = await import("./something");} : () => Promise diff --git a/tests/baselines/reference/importCallExpressionInExportEqualsCJS.symbols b/tests/baselines/reference/importCallExpressionInExportEqualsCJS.symbols index cd8d7d3804190..21c17056047bc 100644 --- a/tests/baselines/reference/importCallExpressionInExportEqualsCJS.symbols +++ b/tests/baselines/reference/importCallExpressionInExportEqualsCJS.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/something.ts === + export = 42; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === export = async function() { const something = await import("./something"); >something : Symbol(something, Decl(index.ts, 1, 9)) diff --git a/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types b/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types index b590130d1cff5..d35342ec30ce5 100644 --- a/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types +++ b/tests/baselines/reference/importCallExpressionInExportEqualsCJS.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/something.ts === + export = 42; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === export = async function() { >async function() { const something = await import("./something");} : () => Promise diff --git a/tests/baselines/reference/importCallExpressionInExportEqualsUMD.symbols b/tests/baselines/reference/importCallExpressionInExportEqualsUMD.symbols index cd8d7d3804190..21c17056047bc 100644 --- a/tests/baselines/reference/importCallExpressionInExportEqualsUMD.symbols +++ b/tests/baselines/reference/importCallExpressionInExportEqualsUMD.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/something.ts === + export = 42; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === export = async function() { const something = await import("./something"); >something : Symbol(something, Decl(index.ts, 1, 9)) diff --git a/tests/baselines/reference/importCallExpressionInExportEqualsUMD.types b/tests/baselines/reference/importCallExpressionInExportEqualsUMD.types index b590130d1cff5..d35342ec30ce5 100644 --- a/tests/baselines/reference/importCallExpressionInExportEqualsUMD.types +++ b/tests/baselines/reference/importCallExpressionInExportEqualsUMD.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/something.ts === + export = 42; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === export = async function() { >async function() { const something = await import("./something");} : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedAMD.symbols b/tests/baselines/reference/importCallExpressionNestedAMD.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedAMD.symbols +++ b/tests/baselines/reference/importCallExpressionNestedAMD.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedAMD.types b/tests/baselines/reference/importCallExpressionNestedAMD.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedAMD.types +++ b/tests/baselines/reference/importCallExpressionNestedAMD.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedAMD2.symbols b/tests/baselines/reference/importCallExpressionNestedAMD2.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedAMD2.symbols +++ b/tests/baselines/reference/importCallExpressionNestedAMD2.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedAMD2.types b/tests/baselines/reference/importCallExpressionNestedAMD2.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedAMD2.types +++ b/tests/baselines/reference/importCallExpressionNestedAMD2.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedCJS.symbols b/tests/baselines/reference/importCallExpressionNestedCJS.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS.symbols +++ b/tests/baselines/reference/importCallExpressionNestedCJS.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedCJS.types b/tests/baselines/reference/importCallExpressionNestedCJS.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS.types +++ b/tests/baselines/reference/importCallExpressionNestedCJS.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedCJS2.symbols b/tests/baselines/reference/importCallExpressionNestedCJS2.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS2.symbols +++ b/tests/baselines/reference/importCallExpressionNestedCJS2.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedCJS2.types b/tests/baselines/reference/importCallExpressionNestedCJS2.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS2.types +++ b/tests/baselines/reference/importCallExpressionNestedCJS2.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedES2015.symbols b/tests/baselines/reference/importCallExpressionNestedES2015.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedES2015.symbols +++ b/tests/baselines/reference/importCallExpressionNestedES2015.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedES2015.types b/tests/baselines/reference/importCallExpressionNestedES2015.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedES2015.types +++ b/tests/baselines/reference/importCallExpressionNestedES2015.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedES20152.symbols b/tests/baselines/reference/importCallExpressionNestedES20152.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20152.symbols +++ b/tests/baselines/reference/importCallExpressionNestedES20152.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedES20152.types b/tests/baselines/reference/importCallExpressionNestedES20152.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20152.types +++ b/tests/baselines/reference/importCallExpressionNestedES20152.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedES2020.symbols b/tests/baselines/reference/importCallExpressionNestedES2020.symbols index ca63503edfecf..d9157542350f3 100644 --- a/tests/baselines/reference/importCallExpressionNestedES2020.symbols +++ b/tests/baselines/reference/importCallExpressionNestedES2020.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedES2020.types b/tests/baselines/reference/importCallExpressionNestedES2020.types index 379522a845db9..81d288e92ad18 100644 --- a/tests/baselines/reference/importCallExpressionNestedES2020.types +++ b/tests/baselines/reference/importCallExpressionNestedES2020.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedES20202.symbols b/tests/baselines/reference/importCallExpressionNestedES20202.symbols index ca63503edfecf..d9157542350f3 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20202.symbols +++ b/tests/baselines/reference/importCallExpressionNestedES20202.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedES20202.types b/tests/baselines/reference/importCallExpressionNestedES20202.types index 379522a845db9..81d288e92ad18 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20202.types +++ b/tests/baselines/reference/importCallExpressionNestedES20202.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedSystem.symbols b/tests/baselines/reference/importCallExpressionNestedSystem.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem.symbols +++ b/tests/baselines/reference/importCallExpressionNestedSystem.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedSystem.types b/tests/baselines/reference/importCallExpressionNestedSystem.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem.types +++ b/tests/baselines/reference/importCallExpressionNestedSystem.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedSystem2.symbols b/tests/baselines/reference/importCallExpressionNestedSystem2.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem2.symbols +++ b/tests/baselines/reference/importCallExpressionNestedSystem2.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedSystem2.types b/tests/baselines/reference/importCallExpressionNestedSystem2.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem2.types +++ b/tests/baselines/reference/importCallExpressionNestedSystem2.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedUMD.symbols b/tests/baselines/reference/importCallExpressionNestedUMD.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedUMD.symbols +++ b/tests/baselines/reference/importCallExpressionNestedUMD.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedUMD.types b/tests/baselines/reference/importCallExpressionNestedUMD.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedUMD.types +++ b/tests/baselines/reference/importCallExpressionNestedUMD.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importCallExpressionNestedUMD2.symbols b/tests/baselines/reference/importCallExpressionNestedUMD2.symbols index 67e2eabd6fd5e..a5d4040f3f389 100644 --- a/tests/baselines/reference/importCallExpressionNestedUMD2.symbols +++ b/tests/baselines/reference/importCallExpressionNestedUMD2.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : Symbol(foo, Decl(index.ts, 0, 0)) diff --git a/tests/baselines/reference/importCallExpressionNestedUMD2.types b/tests/baselines/reference/importCallExpressionNestedUMD2.types index 1e23832e30522..dd40cab13b940 100644 --- a/tests/baselines/reference/importCallExpressionNestedUMD2.types +++ b/tests/baselines/reference/importCallExpressionNestedUMD2.types @@ -1,7 +1,8 @@ === tests/cases/conformance/dynamicImport/foo.ts === + export default "./foo"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/dynamicImport/index.ts === + +=== tests/cases/conformance/dynamicImport/index.ts === async function foo() { >foo : () => Promise diff --git a/tests/baselines/reference/importDeclFromTypeNodeInJsSource.symbols b/tests/baselines/reference/importDeclFromTypeNodeInJsSource.symbols index 954e38a8581ec..cab811b2000d4 100644 --- a/tests/baselines/reference/importDeclFromTypeNodeInJsSource.symbols +++ b/tests/baselines/reference/importDeclFromTypeNodeInJsSource.symbols @@ -1,6 +1,7 @@ === /src/node_modules/@types/node/index.d.ts === + /// -No type information for this code.=== /src/node_modules/@types/node/events.d.ts === +=== /src/node_modules/@types/node/events.d.ts === declare module "events" { >"events" : Symbol("events", Decl(events.d.ts, 0, 0)) diff --git a/tests/baselines/reference/importDeclFromTypeNodeInJsSource.types b/tests/baselines/reference/importDeclFromTypeNodeInJsSource.types index 2f8af5e09dbd4..c5ae59d921457 100644 --- a/tests/baselines/reference/importDeclFromTypeNodeInJsSource.types +++ b/tests/baselines/reference/importDeclFromTypeNodeInJsSource.types @@ -1,6 +1,7 @@ === /src/node_modules/@types/node/index.d.ts === + /// -No type information for this code.=== /src/node_modules/@types/node/events.d.ts === +=== /src/node_modules/@types/node/events.d.ts === declare module "events" { >"events" : typeof import("events") diff --git a/tests/baselines/reference/importEmptyFromModuleNotExisted.symbols b/tests/baselines/reference/importEmptyFromModuleNotExisted.symbols index ea0425ff26c37..c3c7f961b3b78 100644 --- a/tests/baselines/reference/importEmptyFromModuleNotExisted.symbols +++ b/tests/baselines/reference/importEmptyFromModuleNotExisted.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/es6/modules/importEmptyFromModuleNotExisted.ts === + import {} from 'module-not-existed' -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importEmptyFromModuleNotExisted.types b/tests/baselines/reference/importEmptyFromModuleNotExisted.types index ea0425ff26c37..c3c7f961b3b78 100644 --- a/tests/baselines/reference/importEmptyFromModuleNotExisted.types +++ b/tests/baselines/reference/importEmptyFromModuleNotExisted.types @@ -1,4 +1,4 @@ === tests/cases/conformance/es6/modules/importEmptyFromModuleNotExisted.ts === + import {} from 'module-not-existed' -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importHelpersNoHelpers.symbols b/tests/baselines/reference/importHelpersNoHelpers.symbols index 109ef656549e1..fc5b4384670e5 100644 --- a/tests/baselines/reference/importHelpersNoHelpers.symbols +++ b/tests/baselines/reference/importHelpersNoHelpers.symbols @@ -64,6 +64,6 @@ class C { } === tests/cases/compiler/tslib.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importHelpersNoHelpers.types b/tests/baselines/reference/importHelpersNoHelpers.types index f749a5bc3a107..27d8bb5e0179c 100644 --- a/tests/baselines/reference/importHelpersNoHelpers.types +++ b/tests/baselines/reference/importHelpersNoHelpers.types @@ -68,6 +68,6 @@ class C { } === tests/cases/compiler/tslib.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.symbols b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.symbols index c8ce03710925c..7651a0e6a931a 100644 --- a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.symbols +++ b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.symbols @@ -8,6 +8,6 @@ export async function * f() { } === tests/cases/compiler/tslib.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types index da4e9fb704dde..0e50295a2208d 100644 --- a/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types +++ b/tests/baselines/reference/importHelpersNoHelpersForAsyncGenerators.types @@ -17,6 +17,6 @@ export async function * f() { } === tests/cases/compiler/tslib.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.symbols b/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.symbols index 2fbafd889213f..4ff41dd59ff00 100644 --- a/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.symbols +++ b/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.symbols @@ -21,6 +21,6 @@ export class Foo { } === tests/cases/compiler/tslib.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.types b/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.types index fcb8f6214dd4f..77cf274cd730e 100644 --- a/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.types +++ b/tests/baselines/reference/importHelpersNoHelpersForPrivateFields.types @@ -24,6 +24,6 @@ export class Foo { } === tests/cases/compiler/tslib.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=amd).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=commonjs).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2015).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=es2020).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=false,module=system).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=amd).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=commonjs).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2015).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=es2020).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).symbols b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).symbols index 96341fc8c39cf..10dcfba7d3b54 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).symbols +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : Symbol(default, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).types b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).types index 867143d099172..f7384f52c56db 100644 --- a/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).types +++ b/tests/baselines/reference/importHelpersWithImportOrExportDefault(esmoduleinterop=true,module=system).types @@ -1,7 +1,8 @@ === tests/cases/compiler/a.ts === + export default class { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === + +=== tests/cases/compiler/b.ts === export { default } from "./a"; >default : typeof b diff --git a/tests/baselines/reference/importNonExportedMember2.types b/tests/baselines/reference/importNonExportedMember2.types index d6956acb15e61..973c8ca3d7ea8 100644 --- a/tests/baselines/reference/importNonExportedMember2.types +++ b/tests/baselines/reference/importNonExportedMember2.types @@ -1,8 +1,9 @@ === tests/cases/compiler/a.ts === + export {} -No type information for this code.interface Foo {} -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === +interface Foo {} + +=== tests/cases/compiler/b.ts === import { Foo } from './a'; >Foo : any diff --git a/tests/baselines/reference/importNonExportedMember3.types b/tests/baselines/reference/importNonExportedMember3.types index 7ca8de617e06f..28e54d59daea0 100644 --- a/tests/baselines/reference/importNonExportedMember3.types +++ b/tests/baselines/reference/importNonExportedMember3.types @@ -1,10 +1,11 @@ === tests/cases/compiler/a.ts === + export {} -No type information for this code.interface Foo {} -No type information for this code.interface Foo {} -No type information for this code.namespace Foo {} -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === +interface Foo {} +interface Foo {} +namespace Foo {} + +=== tests/cases/compiler/b.ts === import { Foo } from './a'; >Foo : any diff --git a/tests/baselines/reference/importSpecifiers_js.types b/tests/baselines/reference/importSpecifiers_js.types index b668b5e5fe256..daf301bdc8540 100644 --- a/tests/baselines/reference/importSpecifiers_js.types +++ b/tests/baselines/reference/importSpecifiers_js.types @@ -1,7 +1,8 @@ === tests/cases/conformance/externalModules/typeOnly/a.ts === + export interface A {} -No type information for this code. -No type information for this code.=== tests/cases/conformance/externalModules/typeOnly/a.js === + +=== tests/cases/conformance/externalModules/typeOnly/a.js === import { type A } from "./a"; >A : any diff --git a/tests/baselines/reference/importsNotUsedAsValues_error.symbols b/tests/baselines/reference/importsNotUsedAsValues_error.symbols index 28fcb0ff1d907..4cd9d40aec3f6 100644 --- a/tests/baselines/reference/importsNotUsedAsValues_error.symbols +++ b/tests/baselines/reference/importsNotUsedAsValues_error.symbols @@ -154,9 +154,10 @@ console.log(h); >h : Symbol(h, Decl(i.ts, 1, 3)) === /j.ts === + import H = require('./h'); // noUnusedLocals error only -No type information for this code. -No type information for this code.=== /k.ts === + +=== /k.ts === const enum K { One, Two } >K : Symbol(K, Decl(k.ts, 0, 0)) >One : Symbol(K.One, Decl(k.ts, 0, 14)) @@ -175,5 +176,5 @@ K.One; >One : Symbol(K.One, Decl(k.ts, 0, 14)) === /j.ts === + // Sad face https://github.com/microsoft/TypeScript/blob/6b04f5039429b9d412696fe2febe39ecc69ad365/src/testRunner/compilerRunner.ts#L207 -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/importsNotUsedAsValues_error.types b/tests/baselines/reference/importsNotUsedAsValues_error.types index 99acfb8041ed2..e3d06b246c124 100644 --- a/tests/baselines/reference/importsNotUsedAsValues_error.types +++ b/tests/baselines/reference/importsNotUsedAsValues_error.types @@ -151,9 +151,10 @@ console.log(h); >h : H === /j.ts === + import H = require('./h'); // noUnusedLocals error only -No type information for this code. -No type information for this code.=== /k.ts === + +=== /k.ts === const enum K { One, Two } >K : K >One : K.One @@ -172,5 +173,5 @@ K.One; >One : K.One === /j.ts === + // Sad face https://github.com/microsoft/TypeScript/blob/6b04f5039429b9d412696fe2febe39ecc69ad365/src/testRunner/compilerRunner.ts#L207 -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..symbols b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..symbols index 7ab1bd72cd791..99357ae260542 100644 --- a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..symbols +++ b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..symbols @@ -1,3 +1,2 @@ === tests/cases/compiler/indexSignatureWithoutTypeAnnotation1..ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..types b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..types index 7ab1bd72cd791..99357ae260542 100644 --- a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..types +++ b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..types @@ -1,3 +1,2 @@ === tests/cases/compiler/indexSignatureWithoutTypeAnnotation1..ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/inlineJsxAndJsxFragPragma.symbols b/tests/baselines/reference/inlineJsxAndJsxFragPragma.symbols index 9945b1306fc5d..70778a368920d 100644 --- a/tests/baselines/reference/inlineJsxAndJsxFragPragma.symbols +++ b/tests/baselines/reference/inlineJsxAndJsxFragPragma.symbols @@ -75,12 +75,13 @@ import {Fragment} from "./renderer"; <> === tests/cases/conformance/jsx/inline/snabbdomy-only-fragment-no-jsx.tsx === + /* @jsx jsx */ -No type information for this code./* @jsxfrag null */ -No type information for this code.import {} from "./renderer"; -No type information for this code.<> -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsx/inline/preacty-no-fragment.tsx === +/* @jsxfrag null */ +import {} from "./renderer"; +<> + +=== tests/cases/conformance/jsx/inline/preacty-no-fragment.tsx === /** * @jsx h * @jsxFrag Fragment diff --git a/tests/baselines/reference/instantiateConstraintsToTypeArguments2.types b/tests/baselines/reference/instantiateConstraintsToTypeArguments2.types index deac9b331d1d6..3e2285060d622 100644 --- a/tests/baselines/reference/instantiateConstraintsToTypeArguments2.types +++ b/tests/baselines/reference/instantiateConstraintsToTypeArguments2.types @@ -1,4 +1,4 @@ === tests/cases/compiler/instantiateConstraintsToTypeArguments2.ts === + interface A, S extends A> { } -No type information for this code.interface B, S extends B> extends A, B> { } -No type information for this code. \ No newline at end of file +interface B, S extends B> extends A, B> { } diff --git a/tests/baselines/reference/instantiatedBaseTypeConstraints2.types b/tests/baselines/reference/instantiatedBaseTypeConstraints2.types index 6093404bcdf69..dabb7136d2d85 100644 --- a/tests/baselines/reference/instantiatedBaseTypeConstraints2.types +++ b/tests/baselines/reference/instantiatedBaseTypeConstraints2.types @@ -1,4 +1,4 @@ === tests/cases/compiler/instantiatedBaseTypeConstraints2.ts === + interface A, S extends A> { } -No type information for this code.interface B extends A, B> { } -No type information for this code. \ No newline at end of file +interface B extends A, B> { } diff --git a/tests/baselines/reference/interfaceThatInheritsFromItself.types b/tests/baselines/reference/interfaceThatInheritsFromItself.types index f0e3469d9750b..9461628ab3a72 100644 --- a/tests/baselines/reference/interfaceThatInheritsFromItself.types +++ b/tests/baselines/reference/interfaceThatInheritsFromItself.types @@ -1,15 +1,15 @@ === tests/cases/conformance/interfaces/interfaceDeclarations/interfaceThatInheritsFromItself.ts === + interface Foo extends Foo { // error -No type information for this code.} -No type information for this code. -No type information for this code.interface Foo2 extends Foo2 { // error -No type information for this code.} -No type information for this code. -No type information for this code.interface Foo3 extends Foo3 { // error -No type information for this code.} -No type information for this code. -No type information for this code.interface Bar implements Bar { // error -No type information for this code.} -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file +} + +interface Foo2 extends Foo2 { // error +} + +interface Foo3 extends Foo3 { // error +} + +interface Bar implements Bar { // error +} + + diff --git a/tests/baselines/reference/interfaceWithImplements1.types b/tests/baselines/reference/interfaceWithImplements1.types index ff4f1fed8129c..59b4e332379c4 100644 --- a/tests/baselines/reference/interfaceWithImplements1.types +++ b/tests/baselines/reference/interfaceWithImplements1.types @@ -1,6 +1,6 @@ === tests/cases/compiler/interfaceWithImplements1.ts === + interface IFoo { } -No type information for this code. -No type information for this code.interface IBar implements IFoo { -No type information for this code.} -No type information for this code. \ No newline at end of file + +interface IBar implements IFoo { +} diff --git a/tests/baselines/reference/intersectionsAndEmptyObjects.symbols b/tests/baselines/reference/intersectionsAndEmptyObjects.symbols index 7cb08ebfb2523..7158ee012b987 100644 --- a/tests/baselines/reference/intersectionsAndEmptyObjects.symbols +++ b/tests/baselines/reference/intersectionsAndEmptyObjects.symbols @@ -275,6 +275,6 @@ mock(import('./ex')) >'./ex' : Symbol("tests/cases/conformance/types/intersection/ex", Decl(ex.d.ts, 0, 0)) === tests/cases/conformance/types/intersection/ex.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/intersectionsAndEmptyObjects.types b/tests/baselines/reference/intersectionsAndEmptyObjects.types index 6972e06169dcb..fc28f024e45e9 100644 --- a/tests/baselines/reference/intersectionsAndEmptyObjects.types +++ b/tests/baselines/reference/intersectionsAndEmptyObjects.types @@ -230,6 +230,6 @@ mock(import('./ex')) >'./ex' : "./ex" === tests/cases/conformance/types/intersection/ex.d.ts === + export {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/invalidSwitchBreakStatement.symbols b/tests/baselines/reference/invalidSwitchBreakStatement.symbols index a17a2a7dee289..afebca7775ad3 100644 --- a/tests/baselines/reference/invalidSwitchBreakStatement.symbols +++ b/tests/baselines/reference/invalidSwitchBreakStatement.symbols @@ -1,9 +1,9 @@ === tests/cases/conformance/statements/breakStatements/invalidSwitchBreakStatement.ts === + // break is not allowed in a switch statement -No type information for this code. -No type information for this code.switch (12) { -No type information for this code. case 5: -No type information for this code. break; -No type information for this code.} -No type information for this code. -No type information for this code. \ No newline at end of file + +switch (12) { + case 5: + break; +} + diff --git a/tests/baselines/reference/invalidSwitchContinueStatement.symbols b/tests/baselines/reference/invalidSwitchContinueStatement.symbols index 4472c30f76d6d..f0e72377631a5 100644 --- a/tests/baselines/reference/invalidSwitchContinueStatement.symbols +++ b/tests/baselines/reference/invalidSwitchContinueStatement.symbols @@ -1,9 +1,9 @@ === tests/cases/conformance/statements/continueStatements/invalidSwitchContinueStatement.ts === + // continue is not allowed in a switch statement -No type information for this code. -No type information for this code.switch (12) { -No type information for this code. case 5: -No type information for this code. continue; -No type information for this code.} -No type information for this code. -No type information for this code. \ No newline at end of file + +switch (12) { + case 5: + continue; +} + diff --git a/tests/baselines/reference/invalidThrowStatement.symbols b/tests/baselines/reference/invalidThrowStatement.symbols index df6bd8a3119c0..c500cb2a24183 100644 --- a/tests/baselines/reference/invalidThrowStatement.symbols +++ b/tests/baselines/reference/invalidThrowStatement.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/statements/throwStatements/invalidThrowStatement.ts === + throw; -No type information for this code. -No type information for this code.export throw null; -No type information for this code. -No type information for this code. \ No newline at end of file + +export throw null; + diff --git a/tests/baselines/reference/invalidUnicodeEscapeSequance3.symbols b/tests/baselines/reference/invalidUnicodeEscapeSequance3.symbols index ed7eaf3592f99..34005a9bce75c 100644 --- a/tests/baselines/reference/invalidUnicodeEscapeSequance3.symbols +++ b/tests/baselines/reference/invalidUnicodeEscapeSequance3.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/invalidUnicodeEscapeSequance3.ts === + a\u -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/isolatedModulesDontElideReExportStar.symbols b/tests/baselines/reference/isolatedModulesDontElideReExportStar.symbols index 38ab78bf49815..5e8371bb8e2d8 100644 --- a/tests/baselines/reference/isolatedModulesDontElideReExportStar.symbols +++ b/tests/baselines/reference/isolatedModulesDontElideReExportStar.symbols @@ -3,6 +3,6 @@ export type T = number; >T : Symbol(T, Decl(a.ts, 0, 0)) === /b.ts === + export * from "./a"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/isolatedModulesDontElideReExportStar.types b/tests/baselines/reference/isolatedModulesDontElideReExportStar.types index 4f68c5ded8973..b083d9914d76d 100644 --- a/tests/baselines/reference/isolatedModulesDontElideReExportStar.types +++ b/tests/baselines/reference/isolatedModulesDontElideReExportStar.types @@ -3,6 +3,6 @@ export type T = number; >T : number === /b.ts === + export * from "./a"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.symbols b/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.symbols index 39ef3fa478d07..34ba5a1cc59c3 100644 --- a/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.symbols +++ b/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.symbols @@ -1,5 +1,5 @@ === tests/cases/compiler/file1.ts === + export {}; -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file + + diff --git a/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.types b/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.types index 39ef3fa478d07..34ba5a1cc59c3 100644 --- a/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.types +++ b/tests/baselines/reference/isolatedModulesRequiresPreserveConstEnum.types @@ -1,5 +1,5 @@ === tests/cases/compiler/file1.ts === + export {}; -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file + + diff --git a/tests/baselines/reference/isolatedModules_resolveJsonModule.symbols b/tests/baselines/reference/isolatedModules_resolveJsonModule.symbols index 6282706d3aa92..4766d809cfbc6 100644 --- a/tests/baselines/reference/isolatedModules_resolveJsonModule.symbols +++ b/tests/baselines/reference/isolatedModules_resolveJsonModule.symbols @@ -3,6 +3,6 @@ import j = require("./j.json"); >j : Symbol(j, Decl(a.ts, 0, 0)) === /j.json === + {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/isolatedModules_resolveJsonModule_strict_outDir_commonJs.symbols b/tests/baselines/reference/isolatedModules_resolveJsonModule_strict_outDir_commonJs.symbols index d2bbd4ef0bc9c..b95c3ce3fc1e8 100644 --- a/tests/baselines/reference/isolatedModules_resolveJsonModule_strict_outDir_commonJs.symbols +++ b/tests/baselines/reference/isolatedModules_resolveJsonModule_strict_outDir_commonJs.symbols @@ -3,6 +3,6 @@ import * as j from "./j.json"; >j : Symbol(j, Decl(a.ts, 0, 6)) === /j.json === + {} -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/jsDeclarationsDefault.symbols b/tests/baselines/reference/jsDeclarationsDefault.symbols index 4436c83d40ec0..1ed448d77437a 100644 --- a/tests/baselines/reference/jsDeclarationsDefault.symbols +++ b/tests/baselines/reference/jsDeclarationsDefault.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/jsdoc/declarations/index1.js === + export default 12; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/index2.js === + +=== tests/cases/conformance/jsdoc/declarations/index2.js === export default function foo() { >foo : Symbol(foo, Decl(index2.js, 0, 0)) @@ -47,13 +48,14 @@ export default Bar; >Bar : Symbol(Bar, Decl(index4.js, 0, 27)) === tests/cases/conformance/jsdoc/declarations/index5.js === + // merge type alias and const (OK) -No type information for this code.export default 12; -No type information for this code./** -No type information for this code. * @typedef {string | number} default -No type information for this code. */ -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/index6.js === +export default 12; +/** + * @typedef {string | number} default + */ + +=== tests/cases/conformance/jsdoc/declarations/index6.js === // merge type alias and function (OK) export default function func() {}; >func : Symbol(func, Decl(index6.js, 0, 0), Decl(index6.js, 3, 3)) diff --git a/tests/baselines/reference/jsDeclarationsDefault.types b/tests/baselines/reference/jsDeclarationsDefault.types index df45a2a221c2f..e9066661160da 100644 --- a/tests/baselines/reference/jsDeclarationsDefault.types +++ b/tests/baselines/reference/jsDeclarationsDefault.types @@ -1,7 +1,8 @@ === tests/cases/conformance/jsdoc/declarations/index1.js === + export default 12; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/index2.js === + +=== tests/cases/conformance/jsdoc/declarations/index2.js === export default function foo() { >foo : () => typeof foo @@ -51,13 +52,14 @@ export default Bar; >Bar : Bar === tests/cases/conformance/jsdoc/declarations/index5.js === + // merge type alias and const (OK) -No type information for this code.export default 12; -No type information for this code./** -No type information for this code. * @typedef {string | number} default -No type information for this code. */ -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/index6.js === +export default 12; +/** + * @typedef {string | number} default + */ + +=== tests/cases/conformance/jsdoc/declarations/index6.js === // merge type alias and function (OK) export default function func() {}; >func : () => void diff --git a/tests/baselines/reference/jsDeclarationsExportForms.symbols b/tests/baselines/reference/jsDeclarationsExportForms.symbols index 4232aa53158ce..3c29068a6cfee 100644 --- a/tests/baselines/reference/jsDeclarationsExportForms.symbols +++ b/tests/baselines/reference/jsDeclarationsExportForms.symbols @@ -7,13 +7,15 @@ export function func() {} >func : Symbol(func, Decl(func.js, 0, 0)) === tests/cases/conformance/jsdoc/declarations/bar.js === + export * from "./cls"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/bar2.js === + +=== tests/cases/conformance/jsdoc/declarations/bar2.js === + export * from "./func"; -No type information for this code.export * from "./cls"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/baz.js === +export * from "./cls"; + +=== tests/cases/conformance/jsdoc/declarations/baz.js === import {Foo} from "./cls"; >Foo : Symbol(Foo, Decl(baz.js, 0, 8)) @@ -95,15 +97,15 @@ module.exports.names = ns; >ns : Symbol(ns, Decl(cjs4.js, 0, 5)) === tests/cases/conformance/jsdoc/declarations/includeAll.js === + import "./cjs4"; -No type information for this code.import "./cjs3"; -No type information for this code.import "./cjs2"; -No type information for this code.import "./cjs"; -No type information for this code.import "./bol"; -No type information for this code.import "./ban"; -No type information for this code.import "./bat"; -No type information for this code.import "./baz"; -No type information for this code.import "./bar"; -No type information for this code.import "./bar2"; -No type information for this code. -No type information for this code. \ No newline at end of file +import "./cjs3"; +import "./cjs2"; +import "./cjs"; +import "./bol"; +import "./ban"; +import "./bat"; +import "./baz"; +import "./bar"; +import "./bar2"; + diff --git a/tests/baselines/reference/jsDeclarationsExportForms.types b/tests/baselines/reference/jsDeclarationsExportForms.types index 910f991ef4060..836f90c72db61 100644 --- a/tests/baselines/reference/jsDeclarationsExportForms.types +++ b/tests/baselines/reference/jsDeclarationsExportForms.types @@ -7,13 +7,15 @@ export function func() {} >func : () => void === tests/cases/conformance/jsdoc/declarations/bar.js === + export * from "./cls"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/bar2.js === + +=== tests/cases/conformance/jsdoc/declarations/bar2.js === + export * from "./func"; -No type information for this code.export * from "./cls"; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/baz.js === +export * from "./cls"; + +=== tests/cases/conformance/jsdoc/declarations/baz.js === import {Foo} from "./cls"; >Foo : typeof Foo @@ -104,15 +106,15 @@ module.exports.names = ns; >ns : typeof ns === tests/cases/conformance/jsdoc/declarations/includeAll.js === + import "./cjs4"; -No type information for this code.import "./cjs3"; -No type information for this code.import "./cjs2"; -No type information for this code.import "./cjs"; -No type information for this code.import "./bol"; -No type information for this code.import "./ban"; -No type information for this code.import "./bat"; -No type information for this code.import "./baz"; -No type information for this code.import "./bar"; -No type information for this code.import "./bar2"; -No type information for this code. -No type information for this code. \ No newline at end of file +import "./cjs3"; +import "./cjs2"; +import "./cjs"; +import "./bol"; +import "./ban"; +import "./bat"; +import "./baz"; +import "./bar"; +import "./bar2"; + diff --git a/tests/baselines/reference/jsDeclarationsExportFormsErr.symbols b/tests/baselines/reference/jsDeclarationsExportFormsErr.symbols index a8795f892f26f..1cac8209c7972 100644 --- a/tests/baselines/reference/jsDeclarationsExportFormsErr.symbols +++ b/tests/baselines/reference/jsDeclarationsExportFormsErr.symbols @@ -17,12 +17,13 @@ module.exports = ns; // We refuse to bind cjs module exports assignments in the >ns : Symbol(ns, Decl(bin.js, 0, 6)) === tests/cases/conformance/jsdoc/declarations/globalNs.js === + export * from "./cls"; -No type information for this code.export as namespace GLO; // TS Only -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/includeAll.js === +export as namespace GLO; // TS Only + +=== tests/cases/conformance/jsdoc/declarations/includeAll.js === + import "./bar"; -No type information for this code.import "./bin"; -No type information for this code.import "./globalNs"; -No type information for this code. -No type information for this code. \ No newline at end of file +import "./bin"; +import "./globalNs"; + diff --git a/tests/baselines/reference/jsDeclarationsExportFormsErr.types b/tests/baselines/reference/jsDeclarationsExportFormsErr.types index c4035e7ec82db..2fda7f6daace0 100644 --- a/tests/baselines/reference/jsDeclarationsExportFormsErr.types +++ b/tests/baselines/reference/jsDeclarationsExportFormsErr.types @@ -26,8 +26,8 @@ export as namespace GLO; // TS Only >GLO : any === tests/cases/conformance/jsdoc/declarations/includeAll.js === + import "./bar"; -No type information for this code.import "./bin"; -No type information for this code.import "./globalNs"; -No type information for this code. -No type information for this code. \ No newline at end of file +import "./bin"; +import "./globalNs"; + diff --git a/tests/baselines/reference/jsDeclarationsTypeAliases.symbols b/tests/baselines/reference/jsDeclarationsTypeAliases.symbols index eb0d5dd3173f5..251ca37b6c117 100644 --- a/tests/baselines/reference/jsDeclarationsTypeAliases.symbols +++ b/tests/baselines/reference/jsDeclarationsTypeAliases.symbols @@ -1,32 +1,33 @@ === tests/cases/conformance/jsdoc/declarations/index.js === + export {}; // flag file as module -No type information for this code./** -No type information for this code. * @typedef {string | number | symbol} PropName -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * Callback -No type information for this code. * -No type information for this code. * @callback NumberToStringCb -No type information for this code. * @param {number} a -No type information for this code. * @returns {string} -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * @template T -No type information for this code. * @typedef {T & {name: string}} MixinName -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * Identity function -No type information for this code. * -No type information for this code. * @template T -No type information for this code. * @callback Identity -No type information for this code. * @param {T} x -No type information for this code. * @returns {T} -No type information for this code. */ -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/mixed.js === +/** + * @typedef {string | number | symbol} PropName + */ + +/** + * Callback + * + * @callback NumberToStringCb + * @param {number} a + * @returns {string} + */ + +/** + * @template T + * @typedef {T & {name: string}} MixinName + */ + +/** + * Identity function + * + * @template T + * @callback Identity + * @param {T} x + * @returns {T} + */ + +=== tests/cases/conformance/jsdoc/declarations/mixed.js === /** * @typedef {{x: string} | number | LocalThing | ExportedThing} SomeType */ diff --git a/tests/baselines/reference/jsDeclarationsTypeAliases.types b/tests/baselines/reference/jsDeclarationsTypeAliases.types index a9e5e74f004cb..4a2a0d92c9e45 100644 --- a/tests/baselines/reference/jsDeclarationsTypeAliases.types +++ b/tests/baselines/reference/jsDeclarationsTypeAliases.types @@ -1,32 +1,33 @@ === tests/cases/conformance/jsdoc/declarations/index.js === + export {}; // flag file as module -No type information for this code./** -No type information for this code. * @typedef {string | number | symbol} PropName -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * Callback -No type information for this code. * -No type information for this code. * @callback NumberToStringCb -No type information for this code. * @param {number} a -No type information for this code. * @returns {string} -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * @template T -No type information for this code. * @typedef {T & {name: string}} MixinName -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * Identity function -No type information for this code. * -No type information for this code. * @template T -No type information for this code. * @callback Identity -No type information for this code. * @param {T} x -No type information for this code. * @returns {T} -No type information for this code. */ -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsdoc/declarations/mixed.js === +/** + * @typedef {string | number | symbol} PropName + */ + +/** + * Callback + * + * @callback NumberToStringCb + * @param {number} a + * @returns {string} + */ + +/** + * @template T + * @typedef {T & {name: string}} MixinName + */ + +/** + * Identity function + * + * @template T + * @callback Identity + * @param {T} x + * @returns {T} + */ + +=== tests/cases/conformance/jsdoc/declarations/mixed.js === /** * @typedef {{x: string} | number | LocalThing | ExportedThing} SomeType */ diff --git a/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.symbols b/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.symbols index da2182e01c45f..ca1782da9acd5 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.symbols +++ b/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.symbols @@ -1,18 +1,18 @@ === tests/cases/conformance/jsdoc/declarations/index.js === + /** -No type information for this code. * Options for Foo <------------ -No type information for this code. * @typedef {Object} FooOptions -No type information for this code. * @property {boolean} bar - Marvin K Mooney -No type information for this code. * @property {string} baz - Sylvester McMonkey McBean -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * Multiline -No type information for this code. * Options -No type information for this code. * for Foo <------------ -No type information for this code. * @typedef {Object} BarOptions -No type information for this code. * @property {boolean} bar - Marvin K Mooney -No type information for this code. * @property {string} baz - Sylvester McMonkey McBean -No type information for this code. */ -No type information for this code. -No type information for this code. \ No newline at end of file + * Options for Foo <------------ + * @typedef {Object} FooOptions + * @property {boolean} bar - Marvin K Mooney + * @property {string} baz - Sylvester McMonkey McBean + */ + +/** + * Multiline + * Options + * for Foo <------------ + * @typedef {Object} BarOptions + * @property {boolean} bar - Marvin K Mooney + * @property {string} baz - Sylvester McMonkey McBean + */ + diff --git a/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.types b/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.types index da2182e01c45f..ca1782da9acd5 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.types +++ b/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.types @@ -1,18 +1,18 @@ === tests/cases/conformance/jsdoc/declarations/index.js === + /** -No type information for this code. * Options for Foo <------------ -No type information for this code. * @typedef {Object} FooOptions -No type information for this code. * @property {boolean} bar - Marvin K Mooney -No type information for this code. * @property {string} baz - Sylvester McMonkey McBean -No type information for this code. */ -No type information for this code. -No type information for this code./** -No type information for this code. * Multiline -No type information for this code. * Options -No type information for this code. * for Foo <------------ -No type information for this code. * @typedef {Object} BarOptions -No type information for this code. * @property {boolean} bar - Marvin K Mooney -No type information for this code. * @property {string} baz - Sylvester McMonkey McBean -No type information for this code. */ -No type information for this code. -No type information for this code. \ No newline at end of file + * Options for Foo <------------ + * @typedef {Object} FooOptions + * @property {boolean} bar - Marvin K Mooney + * @property {string} baz - Sylvester McMonkey McBean + */ + +/** + * Multiline + * Options + * for Foo <------------ + * @typedef {Object} BarOptions + * @property {boolean} bar - Marvin K Mooney + * @property {string} baz - Sylvester McMonkey McBean + */ + diff --git a/tests/baselines/reference/jsFileCompilationExportAssignmentSyntax.symbols b/tests/baselines/reference/jsFileCompilationExportAssignmentSyntax.symbols index 52baff824a04e..bd9091bd6ff15 100644 --- a/tests/baselines/reference/jsFileCompilationExportAssignmentSyntax.symbols +++ b/tests/baselines/reference/jsFileCompilationExportAssignmentSyntax.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/a.js === + export = b; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationInterfaceSyntax.types b/tests/baselines/reference/jsFileCompilationInterfaceSyntax.types index 120d2537789d4..299162da19436 100644 --- a/tests/baselines/reference/jsFileCompilationInterfaceSyntax.types +++ b/tests/baselines/reference/jsFileCompilationInterfaceSyntax.types @@ -1,3 +1,3 @@ === tests/cases/compiler/a.js === + interface I { } -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationModuleSyntax.types b/tests/baselines/reference/jsFileCompilationModuleSyntax.types index 14b240e90c0dc..b38acb84abb6e 100644 --- a/tests/baselines/reference/jsFileCompilationModuleSyntax.types +++ b/tests/baselines/reference/jsFileCompilationModuleSyntax.types @@ -1,3 +1,3 @@ === tests/cases/compiler/a.js === + module M { } -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationNonNullAssertion.symbols b/tests/baselines/reference/jsFileCompilationNonNullAssertion.symbols index 8051c144dc363..955773e988ce9 100644 --- a/tests/baselines/reference/jsFileCompilationNonNullAssertion.symbols +++ b/tests/baselines/reference/jsFileCompilationNonNullAssertion.symbols @@ -1,4 +1,4 @@ === /src/a.js === + 0! -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/jsdocImportTypeNodeNamespace.symbols b/tests/baselines/reference/jsdocImportTypeNodeNamespace.symbols index 203de80641346..087bf14ba6355 100644 --- a/tests/baselines/reference/jsdocImportTypeNodeNamespace.symbols +++ b/tests/baselines/reference/jsdocImportTypeNodeNamespace.symbols @@ -11,8 +11,8 @@ export default _default; >_default : Symbol(_default, Decl(GeometryType.d.ts, 0, 0)) === tests/cases/compiler/Main.js === + export default function () { -No type information for this code. return /** @type {import('./GeometryType.js').default} */ ('Point'); -No type information for this code.} -No type information for this code. -No type information for this code. \ No newline at end of file + return /** @type {import('./GeometryType.js').default} */ ('Point'); +} + diff --git a/tests/baselines/reference/jsdocLinkTag1.types b/tests/baselines/reference/jsdocLinkTag1.types index f3b60c506fafd..a6d16d39809b0 100644 --- a/tests/baselines/reference/jsdocLinkTag1.types +++ b/tests/baselines/reference/jsdocLinkTag1.types @@ -1,7 +1,8 @@ === /a.ts === + export interface A {} -No type information for this code. -No type information for this code.=== /b.ts === + +=== /b.ts === import type { A } from "./a"; >A : A diff --git a/tests/baselines/reference/jsdocLinkTag3.types b/tests/baselines/reference/jsdocLinkTag3.types index 821818f763635..5dbbe5bbebc16 100644 --- a/tests/baselines/reference/jsdocLinkTag3.types +++ b/tests/baselines/reference/jsdocLinkTag3.types @@ -1,7 +1,8 @@ === /a.ts === + export interface A {} -No type information for this code. -No type information for this code.=== /b.ts === + +=== /b.ts === import type { A } from "./a"; >A : A diff --git a/tests/baselines/reference/jsdocLinkTag4.types b/tests/baselines/reference/jsdocLinkTag4.types index 1edf435990904..5659b707b05d9 100644 --- a/tests/baselines/reference/jsdocLinkTag4.types +++ b/tests/baselines/reference/jsdocLinkTag4.types @@ -1,7 +1,8 @@ === /a.ts === + export interface A {} -No type information for this code. -No type information for this code.=== /b.ts === + +=== /b.ts === import * as a from "./a"; >a : typeof a diff --git a/tests/baselines/reference/jsdocLinkTag5.types b/tests/baselines/reference/jsdocLinkTag5.types index 42dabbcfc6937..c2378f5554855 100644 --- a/tests/baselines/reference/jsdocLinkTag5.types +++ b/tests/baselines/reference/jsdocLinkTag5.types @@ -1,5 +1,5 @@ === /a.ts === + /** {@link UNRESOLVED_LINK} */ -No type information for this code.export interface A {} -No type information for this code. -No type information for this code. \ No newline at end of file +export interface A {} + diff --git a/tests/baselines/reference/jsdocPrivateName2.symbols b/tests/baselines/reference/jsdocPrivateName2.symbols index 756c4657c6f5c..197c36cf68dce 100644 --- a/tests/baselines/reference/jsdocPrivateName2.symbols +++ b/tests/baselines/reference/jsdocPrivateName2.symbols @@ -1,10 +1,10 @@ === tests/cases/conformance/jsdoc/jsdocPrivateName1.js === + // Expecting parse error for private field -No type information for this code. -No type information for this code./** -No type information for this code. * @typedef A -No type information for this code. * @type {object} -No type information for this code. * @property {string} #id -No type information for this code. */ -No type information for this code. -No type information for this code. \ No newline at end of file + +/** + * @typedef A + * @type {object} + * @property {string} #id + */ + diff --git a/tests/baselines/reference/jsdocPrivateName2.types b/tests/baselines/reference/jsdocPrivateName2.types index 756c4657c6f5c..197c36cf68dce 100644 --- a/tests/baselines/reference/jsdocPrivateName2.types +++ b/tests/baselines/reference/jsdocPrivateName2.types @@ -1,10 +1,10 @@ === tests/cases/conformance/jsdoc/jsdocPrivateName1.js === + // Expecting parse error for private field -No type information for this code. -No type information for this code./** -No type information for this code. * @typedef A -No type information for this code. * @type {object} -No type information for this code. * @property {string} #id -No type information for this code. */ -No type information for this code. -No type information for this code. \ No newline at end of file + +/** + * @typedef A + * @type {object} + * @property {string} #id + */ + diff --git a/tests/baselines/reference/jsdocTypeDefAtStartOfFile.symbols b/tests/baselines/reference/jsdocTypeDefAtStartOfFile.symbols index 6aaeda1b4b51a..be47b8f23c71b 100644 --- a/tests/baselines/reference/jsdocTypeDefAtStartOfFile.symbols +++ b/tests/baselines/reference/jsdocTypeDefAtStartOfFile.symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/jsdoc/dtsEquivalent.js === + /** @typedef {{[k: string]: any}} AnyEffect */ -No type information for this code./** @typedef {number} Third */ -No type information for this code.=== tests/cases/conformance/jsdoc/index.js === +/** @typedef {number} Third */ +=== tests/cases/conformance/jsdoc/index.js === /** @type {AnyEffect} */ let b; >b : Symbol(b, Decl(index.js, 1, 3)) diff --git a/tests/baselines/reference/jsdocTypeDefAtStartOfFile.types b/tests/baselines/reference/jsdocTypeDefAtStartOfFile.types index c4ea68d18a8fd..7342f4eff2432 100644 --- a/tests/baselines/reference/jsdocTypeDefAtStartOfFile.types +++ b/tests/baselines/reference/jsdocTypeDefAtStartOfFile.types @@ -1,7 +1,8 @@ === tests/cases/conformance/jsdoc/dtsEquivalent.js === + /** @typedef {{[k: string]: any}} AnyEffect */ -No type information for this code./** @typedef {number} Third */ -No type information for this code.=== tests/cases/conformance/jsdoc/index.js === +/** @typedef {number} Third */ +=== tests/cases/conformance/jsdoc/index.js === /** @type {AnyEffect} */ let b; >b : AnyEffect diff --git a/tests/baselines/reference/jsxClassAttributeResolution.symbols b/tests/baselines/reference/jsxClassAttributeResolution.symbols index 59ccd79b7be1a..a390a960500d4 100644 --- a/tests/baselines/reference/jsxClassAttributeResolution.symbols +++ b/tests/baselines/reference/jsxClassAttributeResolution.symbols @@ -26,8 +26,9 @@ declare namespace JSX { >T : Symbol(T, Decl(index.d.ts, 4, 34)) } === tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts === + import './'; -No type information for this code.=== tests/cases/compiler/node_modules/@types/react/jsx-dev-runtime.d.ts === +=== tests/cases/compiler/node_modules/@types/react/jsx-dev-runtime.d.ts === + import './'; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/jsxClassAttributeResolution.types b/tests/baselines/reference/jsxClassAttributeResolution.types index 4a5c208a849b5..fe669f05fe2fc 100644 --- a/tests/baselines/reference/jsxClassAttributeResolution.types +++ b/tests/baselines/reference/jsxClassAttributeResolution.types @@ -18,8 +18,9 @@ declare namespace JSX { >IntrinsicClassAttributes : IntrinsicClassAttributes } === tests/cases/compiler/node_modules/@types/react/jsx-runtime.d.ts === + import './'; -No type information for this code.=== tests/cases/compiler/node_modules/@types/react/jsx-dev-runtime.d.ts === +=== tests/cases/compiler/node_modules/@types/react/jsx-dev-runtime.d.ts === + import './'; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/jsxInvalidEsprimaTestSuite.symbols b/tests/baselines/reference/jsxInvalidEsprimaTestSuite.symbols index b5e2de25fcde3..b3363ce0ef4aa 100644 --- a/tests/baselines/reference/jsxInvalidEsprimaTestSuite.symbols +++ b/tests/baselines/reference/jsxInvalidEsprimaTestSuite.symbols @@ -4,43 +4,55 @@ declare var React: any; ; === tests/cases/conformance/jsx/2.tsx === + ; -No type information for this code.=== tests/cases/conformance/jsx/3.tsx === +=== tests/cases/conformance/jsx/3.tsx === + <:a />; -No type information for this code.=== tests/cases/conformance/jsx/4.tsx === +=== tests/cases/conformance/jsx/4.tsx === ; >b : Symbol(b, Decl(4.tsx, 0, 2)) >d : Symbol(d, Decl(4.tsx, 0, 5)) === tests/cases/conformance/jsx/5.tsx === + ; -No type information for this code.=== tests/cases/conformance/jsx/6.tsx === +=== tests/cases/conformance/jsx/6.tsx === + ; -No type information for this code.=== tests/cases/conformance/jsx/7.tsx === +=== tests/cases/conformance/jsx/7.tsx === ; -No type information for this code.=== tests/cases/conformance/jsx/21.tsx === +=== tests/cases/conformance/jsx/21.tsx === ; >className : Symbol(className, Decl(21.tsx, 0, 5)) >id : Symbol(id, Decl(21.tsx, 0, 20)) @@ -64,22 +77,27 @@ No type information for this code.=== tests/cases/conformance/jsx/21.tsx === >className : Symbol(className, Decl(22.tsx, 0, 4)) === tests/cases/conformance/jsx/23.tsx === +
; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsx/24.tsx === + +=== tests/cases/conformance/jsx/24.tsx === +
stuff
; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsx/25.tsx === + +=== tests/cases/conformance/jsx/25.tsx === +
stuff
; -No type information for this code. -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsx/26.tsx === + + +=== tests/cases/conformance/jsx/26.tsx === +
>; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsx/27.tsx === + +=== tests/cases/conformance/jsx/27.tsx === + >; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsx/28.tsx === + +=== tests/cases/conformance/jsx/28.tsx === ; >b : Symbol(b, Decl(28.tsx, 0, 2)) @@ -88,9 +106,10 @@ No type information for this code.=== tests/cases/conformance/jsx/28.tsx === >b : Symbol(b, Decl(29.tsx, 0, 2)) === tests/cases/conformance/jsx/30.tsx === + }; -No type information for this code. -No type information for this code.=== tests/cases/conformance/jsx/31.tsx === + +=== tests/cases/conformance/jsx/31.tsx === ; >asdf : Symbol(asdf, Decl(31.tsx, 0, 6)) diff --git a/tests/baselines/reference/keepImportsInDts1.symbols b/tests/baselines/reference/keepImportsInDts1.symbols index 0d0e7b9ccfd8c..bb9e965e79d06 100644 --- a/tests/baselines/reference/keepImportsInDts1.symbols +++ b/tests/baselines/reference/keepImportsInDts1.symbols @@ -1,5 +1,6 @@ === c:/test.d.ts === + export {}; -No type information for this code.=== c:/app/main.ts === +=== c:/app/main.ts === + import "test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts1.types b/tests/baselines/reference/keepImportsInDts1.types index 0d0e7b9ccfd8c..bb9e965e79d06 100644 --- a/tests/baselines/reference/keepImportsInDts1.types +++ b/tests/baselines/reference/keepImportsInDts1.types @@ -1,5 +1,6 @@ === c:/test.d.ts === + export {}; -No type information for this code.=== c:/app/main.ts === +=== c:/app/main.ts === + import "test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts2.symbols b/tests/baselines/reference/keepImportsInDts2.symbols index a18db585da9d4..f0a766c5adb6e 100644 --- a/tests/baselines/reference/keepImportsInDts2.symbols +++ b/tests/baselines/reference/keepImportsInDts2.symbols @@ -1,5 +1,6 @@ === tests/cases/compiler/folder/test.ts === + export {}; -No type information for this code.=== tests/cases/compiler/main.ts === +=== tests/cases/compiler/main.ts === + import "./folder/test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts2.types b/tests/baselines/reference/keepImportsInDts2.types index a18db585da9d4..f0a766c5adb6e 100644 --- a/tests/baselines/reference/keepImportsInDts2.types +++ b/tests/baselines/reference/keepImportsInDts2.types @@ -1,5 +1,6 @@ === tests/cases/compiler/folder/test.ts === + export {}; -No type information for this code.=== tests/cases/compiler/main.ts === +=== tests/cases/compiler/main.ts === + import "./folder/test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts3.symbols b/tests/baselines/reference/keepImportsInDts3.symbols index 552c6ff0be61b..7eff19bdffcd1 100644 --- a/tests/baselines/reference/keepImportsInDts3.symbols +++ b/tests/baselines/reference/keepImportsInDts3.symbols @@ -1,5 +1,6 @@ === c:/test.ts === + export {}; -No type information for this code.=== c:/app/main.ts === +=== c:/app/main.ts === + import "test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts3.types b/tests/baselines/reference/keepImportsInDts3.types index 552c6ff0be61b..7eff19bdffcd1 100644 --- a/tests/baselines/reference/keepImportsInDts3.types +++ b/tests/baselines/reference/keepImportsInDts3.types @@ -1,5 +1,6 @@ === c:/test.ts === + export {}; -No type information for this code.=== c:/app/main.ts === +=== c:/app/main.ts === + import "test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts4.symbols b/tests/baselines/reference/keepImportsInDts4.symbols index a18db585da9d4..f0a766c5adb6e 100644 --- a/tests/baselines/reference/keepImportsInDts4.symbols +++ b/tests/baselines/reference/keepImportsInDts4.symbols @@ -1,5 +1,6 @@ === tests/cases/compiler/folder/test.ts === + export {}; -No type information for this code.=== tests/cases/compiler/main.ts === +=== tests/cases/compiler/main.ts === + import "./folder/test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/keepImportsInDts4.types b/tests/baselines/reference/keepImportsInDts4.types index a18db585da9d4..f0a766c5adb6e 100644 --- a/tests/baselines/reference/keepImportsInDts4.types +++ b/tests/baselines/reference/keepImportsInDts4.types @@ -1,5 +1,6 @@ === tests/cases/compiler/folder/test.ts === + export {}; -No type information for this code.=== tests/cases/compiler/main.ts === +=== tests/cases/compiler/main.ts === + import "./folder/test" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/leaveOptionalParameterAsWritten.types b/tests/baselines/reference/leaveOptionalParameterAsWritten.types index 14632b2b28df4..0595af5142612 100644 --- a/tests/baselines/reference/leaveOptionalParameterAsWritten.types +++ b/tests/baselines/reference/leaveOptionalParameterAsWritten.types @@ -1,7 +1,8 @@ === tests/cases/conformance/declarationEmit/a.ts === + export interface Foo {} -No type information for this code. -No type information for this code.=== tests/cases/conformance/declarationEmit/b.ts === + +=== tests/cases/conformance/declarationEmit/b.ts === import * as a from "./a"; >a : typeof a diff --git a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types index b0aa85034178d..b9ad515a500a8 100644 --- a/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types +++ b/tests/baselines/reference/legacyNodeModulesExportsSpecifierGenerationConditions.types @@ -22,5 +22,5 @@ export const x: () => Thing; >x : () => Thing === tests/cases/conformance/node/node_modules/inner/private.d.ts === + export interface Thing {} // not exported in export map, inaccessible under new module modes -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/libCompileChecks.symbols b/tests/baselines/reference/libCompileChecks.symbols index 2bed52247c080..842c24027535a 100644 --- a/tests/baselines/reference/libCompileChecks.symbols +++ b/tests/baselines/reference/libCompileChecks.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/libCompileChecks.ts === + // This test is effectively the 'lib check' for all our .d.ts files because we use skipLibCheck -No type information for this code.// as false everywhere. -No type information for this code. \ No newline at end of file +// as false everywhere. diff --git a/tests/baselines/reference/libCompileChecks.types b/tests/baselines/reference/libCompileChecks.types index 2bed52247c080..842c24027535a 100644 --- a/tests/baselines/reference/libCompileChecks.types +++ b/tests/baselines/reference/libCompileChecks.types @@ -1,4 +1,4 @@ === tests/cases/compiler/libCompileChecks.ts === + // This test is effectively the 'lib check' for all our .d.ts files because we use skipLibCheck -No type information for this code.// as false everywhere. -No type information for this code. \ No newline at end of file +// as false everywhere. diff --git a/tests/baselines/reference/libReferenceNoLib.types b/tests/baselines/reference/libReferenceNoLib.types index 0b2733c226582..7c619894b6c79 100644 --- a/tests/baselines/reference/libReferenceNoLib.types +++ b/tests/baselines/reference/libReferenceNoLib.types @@ -1,17 +1,18 @@ === tests/cases/conformance/declarationEmit/fakelib.ts === + // Test that passing noLib disables resolution. -No type information for this code. -No type information for this code.interface Object { } -No type information for this code.interface Array { } -No type information for this code.interface String { } -No type information for this code.interface Boolean { } -No type information for this code.interface Number { } -No type information for this code.interface Function { } -No type information for this code.interface RegExp { } -No type information for this code.interface IArguments { } -No type information for this code. -No type information for this code. -No type information for this code.=== tests/cases/conformance/declarationEmit/file1.ts === + +interface Object { } +interface Array { } +interface String { } +interface Boolean { } +interface Number { } +interface Function { } +interface RegExp { } +interface IArguments { } + + +=== tests/cases/conformance/declarationEmit/file1.ts === /// export declare interface HTMLElement { field: string; } >field : string diff --git a/tests/baselines/reference/libReferenceNoLibBundle.types b/tests/baselines/reference/libReferenceNoLibBundle.types index 0b2733c226582..7c619894b6c79 100644 --- a/tests/baselines/reference/libReferenceNoLibBundle.types +++ b/tests/baselines/reference/libReferenceNoLibBundle.types @@ -1,17 +1,18 @@ === tests/cases/conformance/declarationEmit/fakelib.ts === + // Test that passing noLib disables resolution. -No type information for this code. -No type information for this code.interface Object { } -No type information for this code.interface Array { } -No type information for this code.interface String { } -No type information for this code.interface Boolean { } -No type information for this code.interface Number { } -No type information for this code.interface Function { } -No type information for this code.interface RegExp { } -No type information for this code.interface IArguments { } -No type information for this code. -No type information for this code. -No type information for this code.=== tests/cases/conformance/declarationEmit/file1.ts === + +interface Object { } +interface Array { } +interface String { } +interface Boolean { } +interface Number { } +interface Function { } +interface RegExp { } +interface IArguments { } + + +=== tests/cases/conformance/declarationEmit/file1.ts === /// export declare interface HTMLElement { field: string; } >field : string diff --git a/tests/baselines/reference/libTypeScriptSubfileResolving.symbols b/tests/baselines/reference/libTypeScriptSubfileResolving.symbols index dce0e21d6a371..4920433c469db 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolving.symbols +++ b/tests/baselines/reference/libTypeScriptSubfileResolving.symbols @@ -1,6 +1,7 @@ === /node_modules/@typescript/lib-dom/index.d.ts === + // NOOP -No type information for this code.=== /node_modules/@typescript/lib-dom/iterable.d.ts === +=== /node_modules/@typescript/lib-dom/iterable.d.ts === interface DOMIterable { abc: string } >DOMIterable : Symbol(DOMIterable, Decl(iterable.d.ts, 0, 0)) >abc : Symbol(DOMIterable.abc, Decl(iterable.d.ts, 0, 23)) diff --git a/tests/baselines/reference/libTypeScriptSubfileResolving.types b/tests/baselines/reference/libTypeScriptSubfileResolving.types index 73bd9f87814d1..073d0e5574500 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolving.types +++ b/tests/baselines/reference/libTypeScriptSubfileResolving.types @@ -1,6 +1,7 @@ === /node_modules/@typescript/lib-dom/index.d.ts === + // NOOP -No type information for this code.=== /node_modules/@typescript/lib-dom/iterable.d.ts === +=== /node_modules/@typescript/lib-dom/iterable.d.ts === interface DOMIterable { abc: string } >abc : string diff --git a/tests/baselines/reference/library-reference-4.symbols b/tests/baselines/reference/library-reference-4.symbols index 37a0e267d002b..4f974f56edc94 100644 --- a/tests/baselines/reference/library-reference-4.symbols +++ b/tests/baselines/reference/library-reference-4.symbols @@ -1,8 +1,9 @@ === /src/root.ts === + /// -No type information for this code./// -No type information for this code. -No type information for this code.=== /node_modules/foo/index.d.ts === +/// + +=== /node_modules/foo/index.d.ts === // Secondary references may be duplicated if they agree in content /// diff --git a/tests/baselines/reference/library-reference-4.types b/tests/baselines/reference/library-reference-4.types index 329ad50995fe1..ed03a3492557c 100644 --- a/tests/baselines/reference/library-reference-4.types +++ b/tests/baselines/reference/library-reference-4.types @@ -1,8 +1,9 @@ === /src/root.ts === + /// -No type information for this code./// -No type information for this code. -No type information for this code.=== /node_modules/foo/index.d.ts === +/// + +=== /node_modules/foo/index.d.ts === // Secondary references may be duplicated if they agree in content /// diff --git a/tests/baselines/reference/library-reference-5.symbols b/tests/baselines/reference/library-reference-5.symbols index 111d9cc21f590..d8a11c3aaa759 100644 --- a/tests/baselines/reference/library-reference-5.symbols +++ b/tests/baselines/reference/library-reference-5.symbols @@ -1,8 +1,9 @@ === /src/root.ts === + /// -No type information for this code./// -No type information for this code. -No type information for this code.=== /node_modules/foo/index.d.ts === +/// + +=== /node_modules/foo/index.d.ts === // Secondary references may not be duplicated if they disagree in content /// diff --git a/tests/baselines/reference/library-reference-5.types b/tests/baselines/reference/library-reference-5.types index 8b80dc87157d6..0bdf269f634b4 100644 --- a/tests/baselines/reference/library-reference-5.types +++ b/tests/baselines/reference/library-reference-5.types @@ -1,8 +1,9 @@ === /src/root.ts === + /// -No type information for this code./// -No type information for this code. -No type information for this code.=== /node_modules/foo/index.d.ts === +/// + +=== /node_modules/foo/index.d.ts === // Secondary references may not be duplicated if they disagree in content /// diff --git a/tests/baselines/reference/library-reference-scoped-packages.symbols b/tests/baselines/reference/library-reference-scoped-packages.symbols index 60ccaab89d2a5..42bbed6fb5211 100644 --- a/tests/baselines/reference/library-reference-scoped-packages.symbols +++ b/tests/baselines/reference/library-reference-scoped-packages.symbols @@ -1,7 +1,8 @@ === /a.ts === + /// -No type information for this code. -No type information for this code.=== /node_modules/@types/beep__boop/index.d.ts === + +=== /node_modules/@types/beep__boop/index.d.ts === export const y = 0; >y : Symbol(y, Decl(index.d.ts, 0, 12)) diff --git a/tests/baselines/reference/library-reference-scoped-packages.types b/tests/baselines/reference/library-reference-scoped-packages.types index bbb3062d98bd2..7c048d5f97ca8 100644 --- a/tests/baselines/reference/library-reference-scoped-packages.types +++ b/tests/baselines/reference/library-reference-scoped-packages.types @@ -1,7 +1,8 @@ === /a.ts === + /// -No type information for this code. -No type information for this code.=== /node_modules/@types/beep__boop/index.d.ts === + +=== /node_modules/@types/beep__boop/index.d.ts === export const y = 0; >y : 0 >0 : 0 diff --git a/tests/baselines/reference/logicalNotExpression1.symbols b/tests/baselines/reference/logicalNotExpression1.symbols index e09f4bca9e272..f3d38860e39d6 100644 --- a/tests/baselines/reference/logicalNotExpression1.symbols +++ b/tests/baselines/reference/logicalNotExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/logicalNotExpression1.ts === + !foo; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.symbols b/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.symbols index 921ab9843978a..ef25c54b5c2ec 100644 --- a/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.symbols +++ b/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.symbols @@ -10,7 +10,7 @@ HERE's A shouty thing GOTTA GO FAST === tests/cases/compiler/b.ts === + fhqwhgads -No type information for this code.to -No type information for this code.limit -No type information for this code. \ No newline at end of file +to +limit diff --git a/tests/baselines/reference/mergeMultipleInterfacesReexported.symbols b/tests/baselines/reference/mergeMultipleInterfacesReexported.symbols index c40babde0a3d9..4817edf286199 100644 --- a/tests/baselines/reference/mergeMultipleInterfacesReexported.symbols +++ b/tests/baselines/reference/mergeMultipleInterfacesReexported.symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/index.ts === + export * from './eventList'; -No type information for this code. -No type information for this code.=== tests/cases/compiler/test.ts === + +=== tests/cases/compiler/test.ts === import { EventList } from "./eventList"; >EventList : Symbol(EventList, Decl(test.ts, 0, 8)) diff --git a/tests/baselines/reference/mergeMultipleInterfacesReexported.types b/tests/baselines/reference/mergeMultipleInterfacesReexported.types index 1096770ca61b5..c976edaa5d435 100644 --- a/tests/baselines/reference/mergeMultipleInterfacesReexported.types +++ b/tests/baselines/reference/mergeMultipleInterfacesReexported.types @@ -1,7 +1,8 @@ === tests/cases/compiler/index.ts === + export * from './eventList'; -No type information for this code. -No type information for this code.=== tests/cases/compiler/test.ts === + +=== tests/cases/compiler/test.ts === import { EventList } from "./eventList"; >EventList : any diff --git a/tests/baselines/reference/missingArgument1.symbols b/tests/baselines/reference/missingArgument1.symbols index 092356de4a630..d8bfb1a8fc3f3 100644 --- a/tests/baselines/reference/missingArgument1.symbols +++ b/tests/baselines/reference/missingArgument1.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/missingArgument1.ts === + foo(a,,b); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/missingDecoratorType.types b/tests/baselines/reference/missingDecoratorType.types index fc73bd142ea43..ce94cd09cda9a 100644 --- a/tests/baselines/reference/missingDecoratorType.types +++ b/tests/baselines/reference/missingDecoratorType.types @@ -1,14 +1,15 @@ === tests/cases/conformance/decorators/a.ts === + interface Object { } -No type information for this code.interface Array { } -No type information for this code.interface String { } -No type information for this code.interface Boolean { } -No type information for this code.interface Number { } -No type information for this code.interface Function { } -No type information for this code.interface RegExp { } -No type information for this code.interface IArguments { } -No type information for this code. -No type information for this code.=== tests/cases/conformance/decorators/b.ts === +interface Array { } +interface String { } +interface Boolean { } +interface Number { } +interface Function { } +interface RegExp { } +interface IArguments { } + +=== tests/cases/conformance/decorators/b.ts === declare function dec(t, k, d); >dec : (t: any, k: any, d: any) => any >t : any diff --git a/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.symbols b/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.symbols index 7f51b640e1fd2..6a26f636cb2bc 100644 --- a/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.symbols +++ b/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.symbols @@ -6,8 +6,9 @@ export interface Foo { >x : Symbol(Foo.x, Decl(file.ts, 0, 22)) } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : Symbol(ns, Decl(augment.ts, 0, 6)) diff --git a/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.types b/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.types index 888a73a31388e..2e4f6ac5f14b8 100644 --- a/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.types +++ b/tests/baselines/reference/moduleAugmentationDoesInterfaceMergeOfReexport.types @@ -4,8 +4,9 @@ export interface Foo { >x : number } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : typeof ns diff --git a/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.symbols b/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.symbols index 89c0878d8405c..5a4cffe9a7c9a 100644 --- a/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.symbols +++ b/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.symbols @@ -11,8 +11,9 @@ export namespace Root { } } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : Symbol(ns, Decl(augment.ts, 0, 6)) diff --git a/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.types b/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.types index d10ce176c2667..a5d045abc92d8 100644 --- a/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.types +++ b/tests/baselines/reference/moduleAugmentationDoesNamespaceEnumMergeOfReexport.types @@ -7,8 +7,9 @@ export namespace Root { } } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : typeof ns diff --git a/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.symbols b/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.symbols index e887acceb93a4..f43aa48b97ba1 100644 --- a/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.symbols +++ b/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.symbols @@ -10,8 +10,9 @@ export namespace Root { } } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : Symbol(ns, Decl(augment.ts, 0, 6)) diff --git a/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.types b/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.types index 39143e003fad9..591418d6a13fb 100644 --- a/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.types +++ b/tests/baselines/reference/moduleAugmentationDoesNamespaceMergeOfReexport.types @@ -6,8 +6,9 @@ export namespace Root { } } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : typeof ns diff --git a/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.symbols b/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.symbols index b91d43b7c71e4..32c0aa73ebcfc 100644 --- a/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.symbols +++ b/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.symbols @@ -6,8 +6,9 @@ export class Foo { >member : Symbol(Foo.member, Decl(file.ts, 0, 18)) } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : Symbol(ns, Decl(augment.ts, 0, 6)) diff --git a/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.types b/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.types index 4bd02308a9ab3..53a0353c3ac4a 100644 --- a/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.types +++ b/tests/baselines/reference/moduleAugmentationEnumClassMergeOfReexportIsError.types @@ -6,8 +6,9 @@ export class Foo { >member : string } === tests/cases/compiler/reexport.ts === + export * from "./file"; -No type information for this code.=== tests/cases/compiler/augment.ts === +=== tests/cases/compiler/augment.ts === import * as ns from "./reexport"; >ns : typeof ns diff --git a/tests/baselines/reference/moduleAugmentationGlobal4.symbols b/tests/baselines/reference/moduleAugmentationGlobal4.symbols index 5a2ed5c76e716..527f50333f1e0 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal4.symbols +++ b/tests/baselines/reference/moduleAugmentationGlobal4.symbols @@ -17,8 +17,8 @@ declare global { } export {}; === tests/cases/compiler/f3.ts === + import "./f1"; -No type information for this code.import "./f2"; -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file +import "./f2"; + + diff --git a/tests/baselines/reference/moduleAugmentationGlobal4.types b/tests/baselines/reference/moduleAugmentationGlobal4.types index 910e8beba5403..d80d12abeed4b 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal4.types +++ b/tests/baselines/reference/moduleAugmentationGlobal4.types @@ -15,8 +15,8 @@ declare global { } export {}; === tests/cases/compiler/f3.ts === + import "./f1"; -No type information for this code.import "./f2"; -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file +import "./f2"; + + diff --git a/tests/baselines/reference/moduleAugmentationGlobal5.symbols b/tests/baselines/reference/moduleAugmentationGlobal5.symbols index cafb662e14f42..5677c288abd4e 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal5.symbols +++ b/tests/baselines/reference/moduleAugmentationGlobal5.symbols @@ -1,11 +1,12 @@ === tests/cases/compiler/f3.ts === + /// -No type information for this code./// -No type information for this code.import "A"; -No type information for this code.import "B"; -No type information for this code. -No type information for this code. -No type information for this code.=== tests/cases/compiler/f1.d.ts === +/// +import "A"; +import "B"; + + +=== tests/cases/compiler/f1.d.ts === declare module "A" { >"A" : Symbol("A", Decl(f1.d.ts, 0, 0)) diff --git a/tests/baselines/reference/moduleAugmentationGlobal5.types b/tests/baselines/reference/moduleAugmentationGlobal5.types index e87c411d085bb..5a733310cf1c8 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal5.types +++ b/tests/baselines/reference/moduleAugmentationGlobal5.types @@ -1,11 +1,12 @@ === tests/cases/compiler/f3.ts === + /// -No type information for this code./// -No type information for this code.import "A"; -No type information for this code.import "B"; -No type information for this code. -No type information for this code. -No type information for this code.=== tests/cases/compiler/f1.d.ts === +/// +import "A"; +import "B"; + + +=== tests/cases/compiler/f1.d.ts === declare module "A" { >"A" : typeof import("A") diff --git a/tests/baselines/reference/moduleAugmentationInDependency.symbols b/tests/baselines/reference/moduleAugmentationInDependency.symbols index 1913a2fbda60c..4805014867aaa 100644 --- a/tests/baselines/reference/moduleAugmentationInDependency.symbols +++ b/tests/baselines/reference/moduleAugmentationInDependency.symbols @@ -5,5 +5,5 @@ declare module "ext" { export {}; === /src/app.ts === + import "A" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/moduleAugmentationInDependency.types b/tests/baselines/reference/moduleAugmentationInDependency.types index d4d09c61f5389..2add398e7a554 100644 --- a/tests/baselines/reference/moduleAugmentationInDependency.types +++ b/tests/baselines/reference/moduleAugmentationInDependency.types @@ -5,5 +5,5 @@ declare module "ext" { export {}; === /src/app.ts === + import "A" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/moduleAugmentationInDependency2.symbols b/tests/baselines/reference/moduleAugmentationInDependency2.symbols index dc540ea909f6d..3ddb9db120e03 100644 --- a/tests/baselines/reference/moduleAugmentationInDependency2.symbols +++ b/tests/baselines/reference/moduleAugmentationInDependency2.symbols @@ -5,5 +5,5 @@ declare module "ext" { export {}; === /src/app.ts === + import "A" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/moduleAugmentationInDependency2.types b/tests/baselines/reference/moduleAugmentationInDependency2.types index 41942d083bc24..1d01bf94a7c30 100644 --- a/tests/baselines/reference/moduleAugmentationInDependency2.types +++ b/tests/baselines/reference/moduleAugmentationInDependency2.types @@ -5,5 +5,5 @@ declare module "ext" { export {}; === /src/app.ts === + import "A" -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.symbols b/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.symbols index fb67e53c5448c..f5c09f477e77d 100644 --- a/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.symbols +++ b/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.symbols @@ -1,7 +1,8 @@ === tests/cases/compiler/model/index.ts === + export * from "./account"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/model/account.ts === + +=== tests/cases/compiler/model/account.ts === export interface Account { >Account : Symbol(Account, Decl(account.ts, 0, 0)) diff --git a/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types b/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types index fd5403b0834d6..5a6e7c43e8d43 100644 --- a/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types +++ b/tests/baselines/reference/moduleDeclarationExportStarShadowingGlobalIsNameable.types @@ -1,7 +1,8 @@ === tests/cases/compiler/model/index.ts === + export * from "./account"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/model/account.ts === + +=== tests/cases/compiler/model/account.ts === export interface Account { myAccNum: number; >myAccNum : number diff --git a/tests/baselines/reference/moduleImportedForTypeArgumentPosition.types b/tests/baselines/reference/moduleImportedForTypeArgumentPosition.types index 63bcc00dbca19..faff899c7d17e 100644 --- a/tests/baselines/reference/moduleImportedForTypeArgumentPosition.types +++ b/tests/baselines/reference/moduleImportedForTypeArgumentPosition.types @@ -13,6 +13,6 @@ class Test1 extends C1 { } === tests/cases/compiler/moduleImportedForTypeArgumentPosition_0.ts === + export interface M2C { } -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleKeywordRepeatError.symbols b/tests/baselines/reference/moduleKeywordRepeatError.symbols index ee1928137dcf0..3df7d142dc1be 100644 --- a/tests/baselines/reference/moduleKeywordRepeatError.symbols +++ b/tests/baselines/reference/moduleKeywordRepeatError.symbols @@ -1,5 +1,5 @@ === tests/cases/compiler/moduleKeywordRepeatError.ts === + // "module.module { }" should raise a syntax error -No type information for this code. -No type information for this code.module.module { } -No type information for this code. \ No newline at end of file + +module.module { } diff --git a/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.symbols b/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.symbols index aa2fb0375ed84..9b251b7e3b5f7 100644 --- a/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.symbols +++ b/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.symbols @@ -10,8 +10,9 @@ export interface ISpinButton {} >ISpinButton : Symbol(ISpinButton, Decl(index.d.ts, 0, 51)) === tests/cases/compiler/node_modules/troublesome-lib/lib/utilities/positioning.d.ts === + export * from './positioning/index'; -No type information for this code.=== tests/cases/compiler/node_modules/troublesome-lib/lib/utilities/positioning/index.d.ts === +=== tests/cases/compiler/node_modules/troublesome-lib/lib/utilities/positioning/index.d.ts === export declare enum Position { >Position : Symbol(Position, Decl(index.d.ts, 0, 0)) diff --git a/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.types b/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.types index def8b2fce4b13..3770534c7ca5f 100644 --- a/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.types +++ b/tests/baselines/reference/moduleLocalImportNotIncorrectlyRedirected.types @@ -8,8 +8,9 @@ import { Position } from './utilities/positioning'; export interface ISpinButton {} === tests/cases/compiler/node_modules/troublesome-lib/lib/utilities/positioning.d.ts === + export * from './positioning/index'; -No type information for this code.=== tests/cases/compiler/node_modules/troublesome-lib/lib/utilities/positioning/index.d.ts === +=== tests/cases/compiler/node_modules/troublesome-lib/lib/utilities/positioning/index.d.ts === export declare enum Position { >Position : Position diff --git a/tests/baselines/reference/moduleMemberMissingErrorIsRelative.symbols b/tests/baselines/reference/moduleMemberMissingErrorIsRelative.symbols index 8650f888c281e..751d7982f8140 100644 --- a/tests/baselines/reference/moduleMemberMissingErrorIsRelative.symbols +++ b/tests/baselines/reference/moduleMemberMissingErrorIsRelative.symbols @@ -1,6 +1,7 @@ === tests/cases/compiler/folder/foo.ts === + export {}; -No type information for this code.=== tests/cases/compiler/folder/bar.ts === +=== tests/cases/compiler/folder/bar.ts === import {nosuch} from './foo'; >nosuch : Symbol(nosuch, Decl(bar.ts, 0, 8)) diff --git a/tests/baselines/reference/moduleMemberMissingErrorIsRelative.types b/tests/baselines/reference/moduleMemberMissingErrorIsRelative.types index ef779f2abdb3b..8e00a4654e4bb 100644 --- a/tests/baselines/reference/moduleMemberMissingErrorIsRelative.types +++ b/tests/baselines/reference/moduleMemberMissingErrorIsRelative.types @@ -1,6 +1,7 @@ === tests/cases/compiler/folder/foo.ts === + export {}; -No type information for this code.=== tests/cases/compiler/folder/bar.ts === +=== tests/cases/compiler/folder/bar.ts === import {nosuch} from './foo'; >nosuch : any diff --git a/tests/baselines/reference/moduleResolutionNoTsCJS.symbols b/tests/baselines/reference/moduleResolutionNoTsCJS.symbols index c71f18a0790a1..0abe72054c717 100644 --- a/tests/baselines/reference/moduleResolutionNoTsCJS.symbols +++ b/tests/baselines/reference/moduleResolutionNoTsCJS.symbols @@ -1,12 +1,14 @@ === tests/cases/compiler/x.ts === + // CommonJS output -No type information for this code. -No type information for this code.export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/y.tsx === + +export default 0; + +=== tests/cases/compiler/y.tsx === + export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/z.d.ts === + +=== tests/cases/compiler/z.d.ts === declare const x: number; >x : Symbol(x, Decl(z.d.ts, 0, 13)) diff --git a/tests/baselines/reference/moduleResolutionNoTsCJS.types b/tests/baselines/reference/moduleResolutionNoTsCJS.types index 419180d79761a..4a7a1c89564c2 100644 --- a/tests/baselines/reference/moduleResolutionNoTsCJS.types +++ b/tests/baselines/reference/moduleResolutionNoTsCJS.types @@ -1,12 +1,14 @@ === tests/cases/compiler/x.ts === + // CommonJS output -No type information for this code. -No type information for this code.export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/y.tsx === + +export default 0; + +=== tests/cases/compiler/y.tsx === + export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/z.d.ts === + +=== tests/cases/compiler/z.d.ts === declare const x: number; >x : number diff --git a/tests/baselines/reference/moduleResolutionNoTsESM.symbols b/tests/baselines/reference/moduleResolutionNoTsESM.symbols index eaf61024fb0e8..0a7925c4f6e27 100644 --- a/tests/baselines/reference/moduleResolutionNoTsESM.symbols +++ b/tests/baselines/reference/moduleResolutionNoTsESM.symbols @@ -1,12 +1,14 @@ === tests/cases/compiler/x.ts === + // ESM output -No type information for this code. -No type information for this code.export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/y.tsx === + +export default 0; + +=== tests/cases/compiler/y.tsx === + export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/z.d.ts === + +=== tests/cases/compiler/z.d.ts === declare const x: number; >x : Symbol(x, Decl(z.d.ts, 0, 13)) diff --git a/tests/baselines/reference/moduleResolutionNoTsESM.types b/tests/baselines/reference/moduleResolutionNoTsESM.types index 199a513549de4..4ff610e49fda5 100644 --- a/tests/baselines/reference/moduleResolutionNoTsESM.types +++ b/tests/baselines/reference/moduleResolutionNoTsESM.types @@ -1,12 +1,14 @@ === tests/cases/compiler/x.ts === + // ESM output -No type information for this code. -No type information for this code.export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/y.tsx === + +export default 0; + +=== tests/cases/compiler/y.tsx === + export default 0; -No type information for this code. -No type information for this code.=== tests/cases/compiler/z.d.ts === + +=== tests/cases/compiler/z.d.ts === declare const x: number; >x : number diff --git a/tests/baselines/reference/moduleResolutionWithExtensions.symbols b/tests/baselines/reference/moduleResolutionWithExtensions.symbols index d01f2206165fc..2ee6979bc41b3 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions.symbols +++ b/tests/baselines/reference/moduleResolutionWithExtensions.symbols @@ -1,8 +1,9 @@ === /src/a.ts === + export default 0; -No type information for this code. -No type information for this code.// No extension: '.ts' added -No type information for this code.=== /src/b.ts === + +// No extension: '.ts' added +=== /src/b.ts === import a from './a'; >a : Symbol(a, Decl(b.ts, 0, 6)) diff --git a/tests/baselines/reference/moduleResolutionWithExtensions.types b/tests/baselines/reference/moduleResolutionWithExtensions.types index 7b530030eb5e2..34c4c19cbd7be 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions.types +++ b/tests/baselines/reference/moduleResolutionWithExtensions.types @@ -1,8 +1,9 @@ === /src/a.ts === + export default 0; -No type information for this code. -No type information for this code.// No extension: '.ts' added -No type information for this code.=== /src/b.ts === + +// No extension: '.ts' added +=== /src/b.ts === import a from './a'; >a : 0 diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.symbols b/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.symbols index af9dc4154d443..d6b4d68e4a5ff 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.symbols +++ b/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.symbols @@ -3,6 +3,6 @@ import b from "./b"; >b : Symbol(b, Decl(a.ts, 0, 6)) === /b/index.ts === + export default 0; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.types b/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.types index 0e418c5dc143c..8c5c92df59c03 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.types +++ b/tests/baselines/reference/moduleResolutionWithExtensions_preferTs.types @@ -3,6 +3,6 @@ import b from "./b"; >b : 0 === /b/index.ts === + export default 0; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.symbols b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.symbols index a73d58fd7d8e9..37911f91f2452 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.symbols +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.symbols @@ -1,4 +1,4 @@ === /a.ts === + import "normalize.css"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.types b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.types index a73d58fd7d8e9..37911f91f2452 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.types +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected.types @@ -1,4 +1,4 @@ === /a.ts === + import "normalize.css"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.symbols b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.symbols index 11c9c72cc6907..05ff9ad2c5ef4 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.symbols +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.symbols @@ -1,4 +1,4 @@ === /a.ts === + import "foo"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.types b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.types index 11c9c72cc6907..05ff9ad2c5ef4 100644 --- a/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.types +++ b/tests/baselines/reference/moduleResolutionWithExtensions_unexpected2.types @@ -1,4 +1,4 @@ === /a.ts === + import "foo"; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.symbols b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.symbols index 46806e5313f3f..eb6180979689f 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.symbols +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.symbols @@ -1,8 +1,9 @@ === /app.ts === + /// -No type information for this code./// -No type information for this code. -No type information for this code.=== /node_modules/@types/library-a/index.d.ts === +/// + +=== /node_modules/@types/library-a/index.d.ts === // Symlinks are always resolved for type reference directives. // NOTE: This test would still compile without errors even if they were not, // because `processTypeReferenceDirective` also checks for textual equivalence of file contents. @@ -14,6 +15,6 @@ declare class MyClass { private x: number; } >x : Symbol(MyClass.x, Decl(index.d.ts, 6, 23)) === /node_modules/@types/library-b/index.d.ts === + /// -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.types b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.types index 2094265709f6e..07e0bd65394ec 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.types +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.types @@ -1,8 +1,9 @@ === /app.ts === + /// -No type information for this code./// -No type information for this code. -No type information for this code.=== /node_modules/@types/library-a/index.d.ts === +/// + +=== /node_modules/@types/library-a/index.d.ts === // Symlinks are always resolved for type reference directives. // NOTE: This test would still compile without errors even if they were not, // because `processTypeReferenceDirective` also checks for textual equivalence of file contents. @@ -14,6 +15,6 @@ declare class MyClass { private x: number; } >x : number === /node_modules/@types/library-b/index.d.ts === + /// -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleResolution_noLeadingDot.symbols b/tests/baselines/reference/moduleResolution_noLeadingDot.symbols index a7ee88bd3ff22..e9daacf08e533 100644 --- a/tests/baselines/reference/moduleResolution_noLeadingDot.symbols +++ b/tests/baselines/reference/moduleResolution_noLeadingDot.symbols @@ -1,4 +1,4 @@ === /a.ts === + true; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.symbols b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.symbols index 2f8bba9b6aba4..1bdac309c68a4 100644 --- a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.symbols +++ b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.symbols @@ -1,11 +1,13 @@ === tests/cases/compiler/a.ts === + export * from "./b"; -No type information for this code.export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/c.ts === + +=== tests/cases/compiler/b.ts === + +export * from "./c"; + +=== tests/cases/compiler/c.ts === export var foo = 42; >foo : Symbol(foo, Decl(c.ts, 0, 10)) diff --git a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.types b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.types index bfeb5a14c94c5..db0c144b16043 100644 --- a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.types +++ b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings1.types @@ -1,11 +1,13 @@ === tests/cases/compiler/a.ts === + export * from "./b"; -No type information for this code.export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/c.ts === + +=== tests/cases/compiler/b.ts === + +export * from "./c"; + +=== tests/cases/compiler/c.ts === export var foo = 42; >foo : number >42 : 42 diff --git a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.symbols b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.symbols index 390fd1b0bedfd..e2080f651361f 100644 --- a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.symbols +++ b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.symbols @@ -1,8 +1,9 @@ === tests/cases/compiler/a.ts === + export * from "./b"; -No type information for this code.export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === +export * from "./c"; + +=== tests/cases/compiler/b.ts === export {Animals} from "./c"; >Animals : Symbol(Animals, Decl(b.ts, 0, 8)) diff --git a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.types b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.types index fbcc5fa6c43be..c0eb8b05f7028 100644 --- a/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.types +++ b/tests/baselines/reference/moduleSameValueDuplicateExportedBindings2.types @@ -1,8 +1,9 @@ === tests/cases/compiler/a.ts === + export * from "./b"; -No type information for this code.export * from "./c"; -No type information for this code. -No type information for this code.=== tests/cases/compiler/b.ts === +export * from "./c"; + +=== tests/cases/compiler/b.ts === export {Animals} from "./c"; >Animals : typeof import("tests/cases/compiler/c").Animals diff --git a/tests/baselines/reference/moduleSymbolMerging.types b/tests/baselines/reference/moduleSymbolMerging.types index 58189c8b987de..eb818ec8756e3 100644 --- a/tests/baselines/reference/moduleSymbolMerging.types +++ b/tests/baselines/reference/moduleSymbolMerging.types @@ -14,6 +14,6 @@ module B { === tests/cases/compiler/A.ts === + module A { export interface I {} } -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/namespacesDeclaration1.types b/tests/baselines/reference/namespacesDeclaration1.types index 6da52fe3207dd..a3094575fe685 100644 --- a/tests/baselines/reference/namespacesDeclaration1.types +++ b/tests/baselines/reference/namespacesDeclaration1.types @@ -1,9 +1,9 @@ === tests/cases/compiler/namespacesDeclaration1.ts === + module M { -No type information for this code. export namespace N { -No type information for this code. export module M2 { -No type information for this code. export interface I {} -No type information for this code. } -No type information for this code. } -No type information for this code.} -No type information for this code. \ No newline at end of file + export namespace N { + export module M2 { + export interface I {} + } + } +} diff --git a/tests/baselines/reference/nestedIfStatement.symbols b/tests/baselines/reference/nestedIfStatement.symbols index 4dddcd75925a4..43d26dec38895 100644 --- a/tests/baselines/reference/nestedIfStatement.symbols +++ b/tests/baselines/reference/nestedIfStatement.symbols @@ -1,8 +1,8 @@ === tests/cases/compiler/nestedIfStatement.ts === + if (0) { -No type information for this code.} else if (1) { -No type information for this code.} else if (2) { -No type information for this code.} else if (3) { -No type information for this code.} else { -No type information for this code.} -No type information for this code. \ No newline at end of file +} else if (1) { +} else if (2) { +} else if (3) { +} else { +} diff --git a/tests/baselines/reference/newAbstractInstance2.symbols b/tests/baselines/reference/newAbstractInstance2.symbols index 2ce91130095f7..41e4658626e87 100644 --- a/tests/baselines/reference/newAbstractInstance2.symbols +++ b/tests/baselines/reference/newAbstractInstance2.symbols @@ -1,7 +1,8 @@ === /a.ts === + export default abstract class {} -No type information for this code. -No type information for this code.=== /b.ts === + +=== /b.ts === import A from "./a"; >A : Symbol(A, Decl(b.ts, 0, 6)) diff --git a/tests/baselines/reference/newAbstractInstance2.types b/tests/baselines/reference/newAbstractInstance2.types index 8e980d9030063..6028213b591b9 100644 --- a/tests/baselines/reference/newAbstractInstance2.types +++ b/tests/baselines/reference/newAbstractInstance2.types @@ -1,7 +1,8 @@ === /a.ts === + export default abstract class {} -No type information for this code. -No type information for this code.=== /b.ts === + +=== /b.ts === import A from "./a"; >A : typeof A diff --git a/tests/baselines/reference/noCatchBlock.symbols b/tests/baselines/reference/noCatchBlock.symbols index 655d90f047be5..80e58e9b8306c 100644 --- a/tests/baselines/reference/noCatchBlock.symbols +++ b/tests/baselines/reference/noCatchBlock.symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/noCatchBlock.ts === + try { -No type information for this code. // ... -No type information for this code.} finally { -No type information for this code. // N.B. No 'catch' block -No type information for this code.} -No type information for this code. \ No newline at end of file + // ... +} finally { + // N.B. No 'catch' block +} diff --git a/tests/baselines/reference/noCatchBlock.types b/tests/baselines/reference/noCatchBlock.types index 655d90f047be5..80e58e9b8306c 100644 --- a/tests/baselines/reference/noCatchBlock.types +++ b/tests/baselines/reference/noCatchBlock.types @@ -1,7 +1,7 @@ === tests/cases/compiler/noCatchBlock.ts === + try { -No type information for this code. // ... -No type information for this code.} finally { -No type information for this code. // N.B. No 'catch' block -No type information for this code.} -No type information for this code. \ No newline at end of file + // ... +} finally { + // N.B. No 'catch' block +} diff --git a/tests/baselines/reference/noSymbolForMergeCrash.types b/tests/baselines/reference/noSymbolForMergeCrash.types index 79992f12bdc22..695ef44af7c1d 100644 --- a/tests/baselines/reference/noSymbolForMergeCrash.types +++ b/tests/baselines/reference/noSymbolForMergeCrash.types @@ -1,8 +1,9 @@ === tests/cases/compiler/initial.ts === + interface A { } -No type information for this code.namespace A {} -No type information for this code. -No type information for this code.=== tests/cases/compiler/final.ts === +namespace A {} + +=== tests/cases/compiler/final.ts === type A = {} >A : {} diff --git a/tests/baselines/reference/nodeModuleReexportFromDottedPath.symbols b/tests/baselines/reference/nodeModuleReexportFromDottedPath.symbols index e3065d2e0a075..26f8afead67d8 100644 --- a/tests/baselines/reference/nodeModuleReexportFromDottedPath.symbols +++ b/tests/baselines/reference/nodeModuleReexportFromDottedPath.symbols @@ -17,9 +17,10 @@ export class PrismaClient { } === /node_modules/@prisma/client/index.d.ts === + export * from ".prisma/client"; -No type information for this code. -No type information for this code.=== /index.ts === + +=== /index.ts === import { PrismaClient } from "@prisma/client"; >PrismaClient : Symbol(PrismaClient, Decl(index.ts, 0, 8)) diff --git a/tests/baselines/reference/nodeModuleReexportFromDottedPath.types b/tests/baselines/reference/nodeModuleReexportFromDottedPath.types index e1ea467f85719..64dd59632cd22 100644 --- a/tests/baselines/reference/nodeModuleReexportFromDottedPath.types +++ b/tests/baselines/reference/nodeModuleReexportFromDottedPath.types @@ -12,9 +12,10 @@ export class PrismaClient { } === /node_modules/@prisma/client/index.d.ts === + export * from ".prisma/client"; -No type information for this code. -No type information for this code.=== /index.ts === + +=== /index.ts === import { PrismaClient } from "@prisma/client"; >PrismaClient : typeof PrismaClient diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).symbols b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).symbols index e4e9a53aa590d..0c9dd75acdc6b 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).symbols +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).symbols @@ -1,5 +1,6 @@ === tests/cases/conformance/node/allowJs/foo.cjs === + // this file is a module despite having no imports -No type information for this code.=== tests/cases/conformance/node/allowJs/bar.js === +=== tests/cases/conformance/node/allowJs/bar.js === + // however this file is _not_ a module -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).types b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).types index e4e9a53aa590d..0c9dd75acdc6b 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).types +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).types @@ -1,5 +1,6 @@ === tests/cases/conformance/node/allowJs/foo.cjs === + // this file is a module despite having no imports -No type information for this code.=== tests/cases/conformance/node/allowJs/bar.js === +=== tests/cases/conformance/node/allowJs/bar.js === + // however this file is _not_ a module -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).symbols b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).symbols index e4e9a53aa590d..0c9dd75acdc6b 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).symbols +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).symbols @@ -1,5 +1,6 @@ === tests/cases/conformance/node/allowJs/foo.cjs === + // this file is a module despite having no imports -No type information for this code.=== tests/cases/conformance/node/allowJs/bar.js === +=== tests/cases/conformance/node/allowJs/bar.js === + // however this file is _not_ a module -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).types b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).types index e4e9a53aa590d..0c9dd75acdc6b 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).types @@ -1,5 +1,6 @@ === tests/cases/conformance/node/allowJs/foo.cjs === + // this file is a module despite having no imports -No type information for this code.=== tests/cases/conformance/node/allowJs/bar.js === +=== tests/cases/conformance/node/allowJs/bar.js === + // however this file is _not_ a module -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.symbols b/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.symbols index 67841b1be5adf..55bccd08f50c3 100644 --- a/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.symbols +++ b/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.symbols @@ -1,13 +1,16 @@ === tests/cases/conformance/node/index.ts === + // esm format file -No type information for this code.export {}; -No type information for this code.=== tests/cases/conformance/node/index.mts === +export {}; +=== tests/cases/conformance/node/index.mts === + // esm format file -No type information for this code.export {}; -No type information for this code.=== tests/cases/conformance/node/index.cts === +export {}; +=== tests/cases/conformance/node/index.cts === + // cjs format file -No type information for this code.export {}; -No type information for this code.=== tests/cases/conformance/node/other.ts === +export {}; +=== tests/cases/conformance/node/other.ts === // esm format file export const a = await import("package/cjs"); >a : Symbol(a, Decl(other.ts, 1, 12)) diff --git a/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.types b/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.types index 38a4e474dc632..6d4cec3eba9b7 100644 --- a/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.types +++ b/tests/baselines/reference/nodeModulesDeclarationEmitDynamicImportWithPackageExports.types @@ -1,13 +1,16 @@ === tests/cases/conformance/node/index.ts === + // esm format file -No type information for this code.export {}; -No type information for this code.=== tests/cases/conformance/node/index.mts === +export {}; +=== tests/cases/conformance/node/index.mts === + // esm format file -No type information for this code.export {}; -No type information for this code.=== tests/cases/conformance/node/index.cts === +export {}; +=== tests/cases/conformance/node/index.cts === + // cjs format file -No type information for this code.export {}; -No type information for this code.=== tests/cases/conformance/node/other.ts === +export {}; +=== tests/cases/conformance/node/other.ts === // esm format file export const a = await import("package/cjs"); >a : { default: typeof import("tests/cases/conformance/node/index"); } diff --git a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).symbols b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).symbols index 2db356fe2494c..5b1616bfe37dc 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).symbols +++ b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).symbols @@ -1,23 +1,26 @@ === /node_modules/exports-and-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/just-types-versions/types/foo.d.ts === + +=== /node_modules/just-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /main.cts === + +=== /main.cts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code.=== /main.mts === +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + +=== /main.mts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code. \ No newline at end of file +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + diff --git a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).types b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).types index 2db356fe2494c..5b1616bfe37dc 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).types +++ b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=node16).types @@ -1,23 +1,26 @@ === /node_modules/exports-and-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/just-types-versions/types/foo.d.ts === + +=== /node_modules/just-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /main.cts === + +=== /main.cts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code.=== /main.mts === +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + +=== /main.mts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code. \ No newline at end of file +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + diff --git a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).symbols b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).symbols index 2db356fe2494c..5b1616bfe37dc 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).symbols +++ b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).symbols @@ -1,23 +1,26 @@ === /node_modules/exports-and-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/just-types-versions/types/foo.d.ts === + +=== /node_modules/just-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /main.cts === + +=== /main.cts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code.=== /main.mts === +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + +=== /main.mts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code. \ No newline at end of file +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + diff --git a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).types b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).types index 2db356fe2494c..5b1616bfe37dc 100644 --- a/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesExportsBlocksTypesVersions(module=nodenext).types @@ -1,23 +1,26 @@ === /node_modules/exports-and-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/just-types-versions/types/foo.d.ts === + +=== /node_modules/just-types-versions/types/foo.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /main.cts === + +=== /main.cts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code.=== /main.mts === +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + +=== /main.mts === + import {} from "exports-and-types-versions/foo"; -No type information for this code.import {} from "exports-and-types-versions/nope"; -No type information for this code.import {} from "exports-and-types-versions/yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-yep"; -No type information for this code.import {} from "exports-and-types-versions/versioned-nah"; -No type information for this code.import {} from "just-types-versions/foo"; -No type information for this code. -No type information for this code. \ No newline at end of file +import {} from "exports-and-types-versions/nope"; +import {} from "exports-and-types-versions/yep"; +import {} from "exports-and-types-versions/versioned-yep"; +import {} from "exports-and-types-versions/versioned-nah"; +import {} from "just-types-versions/foo"; + diff --git a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=node16).types b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=node16).types index 61190a772be06..339dac211dd5b 100644 --- a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=node16).types +++ b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=node16).types @@ -24,7 +24,8 @@ export type { ImportInterface } from "pkg" assert { "resolution-mode": "import" >ImportInterface : ImportInterface === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=nodenext).types b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=nodenext).types index 61190a772be06..339dac211dd5b 100644 --- a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit1(module=nodenext).types @@ -24,7 +24,8 @@ export type { ImportInterface } from "pkg" assert { "resolution-mode": "import" >ImportInterface : ImportInterface === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=node16).types b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=node16).types index 61190a772be06..339dac211dd5b 100644 --- a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=node16).types +++ b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=node16).types @@ -24,7 +24,8 @@ export type { ImportInterface } from "pkg" assert { "resolution-mode": "import" >ImportInterface : ImportInterface === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=nodenext).types b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=nodenext).types index 61190a772be06..339dac211dd5b 100644 --- a/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesImportModeDeclarationEmit2(module=nodenext).types @@ -24,7 +24,8 @@ export type { ImportInterface } from "pkg" assert { "resolution-mode": "import" >ImportInterface : ImportInterface === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=node16).types b/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=node16).types index 07bda5323dbc8..cbcf89cbd6417 100644 --- a/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=node16).types +++ b/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=node16).types @@ -20,5 +20,5 @@ export interface LocalInterface extends RequireInterface, ImportInterface {} === /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=nodenext).types b/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=nodenext).types index 07bda5323dbc8..cbcf89cbd6417 100644 --- a/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesImportModeDeclarationEmitErrors1(module=nodenext).types @@ -20,5 +20,5 @@ export interface LocalInterface extends RequireInterface, ImportInterface {} === /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=node16).types b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=node16).types index 520761d1b0a01..2e206b7fee9bc 100644 --- a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=node16).types +++ b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=node16).types @@ -20,7 +20,8 @@ export const b = (null as any as import("pkg", { assert: {"resolution-mode": "im >null : null === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=nodenext).types b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=nodenext).types index 520761d1b0a01..2e206b7fee9bc 100644 --- a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmit1(module=nodenext).types @@ -20,7 +20,8 @@ export const b = (null as any as import("pkg", { assert: {"resolution-mode": "im >null : null === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=node16).types b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=node16).types index 1b75c0fff241a..f0ddc765fb992 100644 --- a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=node16).types +++ b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=node16).types @@ -1,8 +1,10 @@ === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code.=== /index.ts === +=== /index.ts === export type LocalInterface = >LocalInterface : import("/node_modules/pkg/require").RequireInterface & import("/node_modules/pkg/import").ImportInterface diff --git a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=nodenext).types b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=nodenext).types index 1b75c0fff241a..f0ddc765fb992 100644 --- a/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesImportTypeModeDeclarationEmitErrors1(module=nodenext).types @@ -1,8 +1,10 @@ === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code.=== /index.ts === +=== /index.ts === export type LocalInterface = >LocalInterface : import("/node_modules/pkg/require").RequireInterface & import("/node_modules/pkg/import").ImportInterface diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=node16).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=node16).types index 5309ca6f8bc1b..dd0308e5302d2 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=node16).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=node16).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends RequireInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +export interface LocalInterface extends RequireInterface {} +=== /node_modules/pkg/require.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=nodenext).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=nodenext).types index 5309ca6f8bc1b..dd0308e5302d2 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit1(module=nodenext).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends RequireInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +export interface LocalInterface extends RequireInterface {} +=== /node_modules/pkg/require.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=node16).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=node16).types index e6e97a84b46c7..1d4520eeb580b 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=node16).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=node16).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends ImportInterface {} -No type information for this code.=== /node_modules/pkg/import.d.ts === +export interface LocalInterface extends ImportInterface {} +=== /node_modules/pkg/import.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=nodenext).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=nodenext).types index e6e97a84b46c7..1d4520eeb580b 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit2(module=nodenext).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends ImportInterface {} -No type information for this code.=== /node_modules/pkg/import.d.ts === +export interface LocalInterface extends ImportInterface {} +=== /node_modules/pkg/import.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=node16).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=node16).types index abc205f874244..7d2eebc21e002 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=node16).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=node16).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends RequireInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +export interface LocalInterface extends RequireInterface {} +=== /node_modules/pkg/require.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=nodenext).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=nodenext).types index abc205f874244..7d2eebc21e002 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit3(module=nodenext).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends RequireInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +export interface LocalInterface extends RequireInterface {} +=== /node_modules/pkg/require.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=node16).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=node16).types index 62e354e99b15a..b6f215714e6bf 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=node16).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=node16).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends ImportInterface {} -No type information for this code.=== /node_modules/pkg/import.d.ts === +export interface LocalInterface extends ImportInterface {} +=== /node_modules/pkg/import.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=nodenext).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=nodenext).types index 62e354e99b15a..b6f215714e6bf 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit4(module=nodenext).types @@ -1,7 +1,8 @@ === /index.ts === + /// -No type information for this code.export interface LocalInterface extends ImportInterface {} -No type information for this code.=== /node_modules/pkg/import.d.ts === +export interface LocalInterface extends ImportInterface {} +=== /node_modules/pkg/import.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=node16).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=node16).types index 1e3690c89f053..275138c692863 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=node16).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=node16).types @@ -1,8 +1,9 @@ === /index.ts === + /// -No type information for this code./// -No type information for this code.export interface LocalInterface extends ImportInterface, RequireInterface {} -No type information for this code.=== /node_modules/pkg/import.d.ts === +/// +export interface LocalInterface extends ImportInterface, RequireInterface {} +=== /node_modules/pkg/import.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=nodenext).types b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=nodenext).types index 1e3690c89f053..275138c692863 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=nodenext).types +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeDeclarationEmit5(module=nodenext).types @@ -1,8 +1,9 @@ === /index.ts === + /// -No type information for this code./// -No type information for this code.export interface LocalInterface extends ImportInterface, RequireInterface {} -No type information for this code.=== /node_modules/pkg/import.d.ts === +/// +export interface LocalInterface extends ImportInterface, RequireInterface {} +=== /node_modules/pkg/import.d.ts === export {}; declare global { >global : any diff --git a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeOverrideOldResolutionError.symbols b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeOverrideOldResolutionError.symbols index 3546346b3477b..5603344b566c8 100644 --- a/tests/baselines/reference/nodeModulesTripleSlashReferenceModeOverrideOldResolutionError.symbols +++ b/tests/baselines/reference/nodeModulesTripleSlashReferenceModeOverrideOldResolutionError.symbols @@ -1,7 +1,7 @@ === /index.ts === + /// -No type information for this code./// -No type information for this code.foo; // `resolution-mode` is an error in old resolution settings, which resolves is arbitrary -No type information for this code.bar; -No type information for this code.export {}; -No type information for this code. \ No newline at end of file +/// +foo; // `resolution-mode` is an error in old resolution settings, which resolves is arbitrary +bar; +export {}; diff --git a/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.symbols b/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.symbols index 5685121775b0c..2433d2465b23a 100644 --- a/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.symbols +++ b/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.symbols @@ -1,16 +1,20 @@ === /node_modules/@types/dedent/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/@types/dedent2/index.d.ts === + +=== /node_modules/@types/dedent2/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/@types/dedent3/index.d.ts === + +=== /node_modules/@types/dedent3/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/@types/dedent4/index.d.ts === + +=== /node_modules/@types/dedent4/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /index.mts === + +=== /index.mts === import dedent from "dedent"; >dedent : Symbol(dedent, Decl(index.mts, 0, 6)) diff --git a/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.types b/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.types index a2a37da0ecdca..f57013411f4b3 100644 --- a/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.types +++ b/tests/baselines/reference/nodeNextImportModeImplicitIndexResolution2.types @@ -1,16 +1,20 @@ === /node_modules/@types/dedent/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/@types/dedent2/index.d.ts === + +=== /node_modules/@types/dedent2/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/@types/dedent3/index.d.ts === + +=== /node_modules/@types/dedent3/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /node_modules/@types/dedent4/index.d.ts === + +=== /node_modules/@types/dedent4/index.d.ts === + export {}; -No type information for this code. -No type information for this code.=== /index.mts === + +=== /index.mts === import dedent from "dedent"; >dedent : typeof dedent diff --git a/tests/baselines/reference/nounusedTypeParameterConstraint.types b/tests/baselines/reference/nounusedTypeParameterConstraint.types index dcc36617cb068..9264d20234e6d 100644 --- a/tests/baselines/reference/nounusedTypeParameterConstraint.types +++ b/tests/baselines/reference/nounusedTypeParameterConstraint.types @@ -1,7 +1,8 @@ === tests/cases/compiler/bar.ts === + export interface IEventSourcedEntity { } -No type information for this code. -No type information for this code.=== tests/cases/compiler/test.ts === + +=== tests/cases/compiler/test.ts === import { IEventSourcedEntity } from "./bar"; >IEventSourcedEntity : any diff --git a/tests/baselines/reference/nullKeyword.symbols b/tests/baselines/reference/nullKeyword.symbols index 50f04ab725640..36fa2c582ed72 100644 --- a/tests/baselines/reference/nullKeyword.symbols +++ b/tests/baselines/reference/nullKeyword.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/nullKeyword.ts === + null.foo; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/numberAsInLHS.symbols b/tests/baselines/reference/numberAsInLHS.symbols index 4e9f68545cde9..8c580bc2cdff0 100644 --- a/tests/baselines/reference/numberAsInLHS.symbols +++ b/tests/baselines/reference/numberAsInLHS.symbols @@ -1,3 +1,3 @@ === tests/cases/compiler/numberAsInLHS.ts === + 3 in [0, 1] -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es3).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es3).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es3).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es5).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=es5).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es5).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es5).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).symbols b/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).symbols index d0ffc9942d074..e3ee74ef3433c 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).symbols +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).symbols @@ -1,7 +1,7 @@ === tests/cases/compiler/numericUnderscoredSeparator.ts === + 1_000_000_000_000 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0b1010_0001_1000_0101 -No type information for this code.0xA0_B0_C0 -No type information for this code. -No type information for this code. \ No newline at end of file +0b1010_0001_1000_0101 +0b1010_0001_1000_0101 +0xA0_B0_C0 + diff --git a/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.symbols b/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.symbols index 74f0517a75a11..66108670f0093 100644 --- a/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.symbols +++ b/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.symbols @@ -1,5 +1,5 @@ === tests/cases/conformance/types/specifyingTypes/predefinedTypes/objectTypesWithPredefinedTypesAsName2.ts === + // it is an error to use a predefined type as a type name -No type information for this code. -No type information for this code.class void {} // parse error unlike the others -No type information for this code. \ No newline at end of file + +class void {} // parse error unlike the others diff --git a/tests/baselines/reference/octalLiteralInStrictModeES3.symbols b/tests/baselines/reference/octalLiteralInStrictModeES3.symbols index 4882da6afc544..abea97d465841 100644 --- a/tests/baselines/reference/octalLiteralInStrictModeES3.symbols +++ b/tests/baselines/reference/octalLiteralInStrictModeES3.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/StrictMode/octalLiteralInStrictModeES3.ts === + "use strict"; -No type information for this code.03; -No type information for this code. \ No newline at end of file +03; diff --git a/tests/baselines/reference/parenthesizedExpressionInternalComments.symbols b/tests/baselines/reference/parenthesizedExpressionInternalComments.symbols index ae9c793bee4bf..15b7b1fb5df7a 100644 --- a/tests/baselines/reference/parenthesizedExpressionInternalComments.symbols +++ b/tests/baselines/reference/parenthesizedExpressionInternalComments.symbols @@ -1,13 +1,13 @@ === tests/cases/compiler/parenthesizedExpressionInternalComments.ts === + /*1*/(/*2*/ "foo" /*3*/)/*4*/ -No type information for this code.; -No type information for this code. -No type information for this code.// open -No type information for this code./*1*/( -No type information for this code. // next -No type information for this code. /*2*/"foo" -No type information for this code. //close -No type information for this code. /*3*/)/*4*/ -No type information for this code.; -No type information for this code. -No type information for this code. \ No newline at end of file +; + +// open +/*1*/( + // next + /*2*/"foo" + //close + /*3*/)/*4*/ +; + diff --git a/tests/baselines/reference/parseAssertEntriesError.types b/tests/baselines/reference/parseAssertEntriesError.types index fb6f46a20c182..ac53c6622b31d 100644 --- a/tests/baselines/reference/parseAssertEntriesError.types +++ b/tests/baselines/reference/parseAssertEntriesError.types @@ -48,7 +48,8 @@ export const b = (null as any as import("pkg", { assert: {1234, "resolution-mode >ImportInterface : any === /node_modules/pkg/import.d.ts === + export interface ImportInterface {} -No type information for this code.=== /node_modules/pkg/require.d.ts === +=== /node_modules/pkg/require.d.ts === + export interface RequireInterface {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parseCommaSeparatedNewlineNew.symbols b/tests/baselines/reference/parseCommaSeparatedNewlineNew.symbols index d912adbb5e167..5fb4f9ceba08d 100644 --- a/tests/baselines/reference/parseCommaSeparatedNewlineNew.symbols +++ b/tests/baselines/reference/parseCommaSeparatedNewlineNew.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/parseCommaSeparatedNewlineNew.ts === + (a, -No type information for this code.new) -No type information for this code. \ No newline at end of file +new) diff --git a/tests/baselines/reference/parseCommaSeparatedNewlineNumber.symbols b/tests/baselines/reference/parseCommaSeparatedNewlineNumber.symbols index 2775ffef1733d..e9cc9f619c72c 100644 --- a/tests/baselines/reference/parseCommaSeparatedNewlineNumber.symbols +++ b/tests/baselines/reference/parseCommaSeparatedNewlineNumber.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/parseCommaSeparatedNewlineNumber.ts === + (a, -No type information for this code.1) -No type information for this code. \ No newline at end of file +1) diff --git a/tests/baselines/reference/parseCommaSeparatedNewlineString.symbols b/tests/baselines/reference/parseCommaSeparatedNewlineString.symbols index c5e111f98e376..f319877dafbbd 100644 --- a/tests/baselines/reference/parseCommaSeparatedNewlineString.symbols +++ b/tests/baselines/reference/parseCommaSeparatedNewlineString.symbols @@ -1,4 +1,4 @@ === tests/cases/compiler/parseCommaSeparatedNewlineString.ts === + (a, -No type information for this code.'') -No type information for this code. \ No newline at end of file +'') diff --git a/tests/baselines/reference/parseInvalidNames.symbols b/tests/baselines/reference/parseInvalidNames.symbols index 68cd4f736e466..2ff015d0bda90 100644 --- a/tests/baselines/reference/parseInvalidNames.symbols +++ b/tests/baselines/reference/parseInvalidNames.symbols @@ -1,12 +1,12 @@ === tests/cases/compiler/parseInvalidNames.ts === + namespace 100 {} -No type information for this code.interface 100 {} -No type information for this code.module 100 {} -No type information for this code.type 100 {} -No type information for this code. -No type information for this code.export namespace 100 {} -No type information for this code.export interface 100 {} -No type information for this code.export module 100 {} -No type information for this code.export type 100 {} -No type information for this code. -No type information for this code. \ No newline at end of file +interface 100 {} +module 100 {} +type 100 {} + +export namespace 100 {} +export interface 100 {} +export module 100 {} +export type 100 {} + diff --git a/tests/baselines/reference/parser.forAwait.es2018.symbols b/tests/baselines/reference/parser.forAwait.es2018.symbols index c859ebda94345..da7e6f79bcbd1 100644 --- a/tests/baselines/reference/parser.forAwait.es2018.symbols +++ b/tests/baselines/reference/parser.forAwait.es2018.symbols @@ -3,16 +3,18 @@ for await (const x of y) { >x : Symbol(x, Decl(topLevelWithDeclIsError.ts, 0, 16)) } === tests/cases/conformance/parser/ecmascript2018/forAwait/topLevelWithExprIsError.ts === + for await (x of y) { -No type information for this code.} -No type information for this code.=== tests/cases/conformance/parser/ecmascript2018/forAwait/forAwaitInWithDeclIsError.ts === +} +=== tests/cases/conformance/parser/ecmascript2018/forAwait/forAwaitInWithDeclIsError.ts === for await (const x in y) { >x : Symbol(x, Decl(forAwaitInWithDeclIsError.ts, 0, 16)) } === tests/cases/conformance/parser/ecmascript2018/forAwait/forAwaitInWithExprIsError.ts === + for await (x in y) { -No type information for this code.} -No type information for this code.=== tests/cases/conformance/parser/ecmascript2018/forAwait/inFunctionDeclWithDeclIsError.ts === +} +=== tests/cases/conformance/parser/ecmascript2018/forAwait/inFunctionDeclWithDeclIsError.ts === function f5() { >f5 : Symbol(f5, Decl(inFunctionDeclWithDeclIsError.ts, 0, 0)) diff --git a/tests/baselines/reference/parser.numericSeparators.binary.symbols b/tests/baselines/reference/parser.numericSeparators.binary.symbols index fd24dd4df6019..accde6e18f2ec 100644 --- a/tests/baselines/reference/parser.numericSeparators.binary.symbols +++ b/tests/baselines/reference/parser.numericSeparators.binary.symbols @@ -1,7 +1,7 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.binary.ts === + 0b00_11; -No type information for this code.0B0_1; -No type information for this code.0b1100_0011; -No type information for this code.0B0_11_0101; -No type information for this code. -No type information for this code. \ No newline at end of file +0B0_1; +0b1100_0011; +0B0_11_0101; + diff --git a/tests/baselines/reference/parser.numericSeparators.binaryNegative.symbols b/tests/baselines/reference/parser.numericSeparators.binaryNegative.symbols index 3605b2f942481..0cd887408ed76 100644 --- a/tests/baselines/reference/parser.numericSeparators.binaryNegative.symbols +++ b/tests/baselines/reference/parser.numericSeparators.binaryNegative.symbols @@ -1,19 +1,24 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/1.ts === + 0b00_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + 0b_110 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + 0_B0101 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + 0b01__11 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + 0B0110_0110__ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + 0b___0111010_0101_1 -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parser.numericSeparators.decimal.symbols b/tests/baselines/reference/parser.numericSeparators.decimal.symbols index 3dca38ab535e1..dd9ffd8766218 100644 --- a/tests/baselines/reference/parser.numericSeparators.decimal.symbols +++ b/tests/baselines/reference/parser.numericSeparators.decimal.symbols @@ -1,17 +1,17 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.decimal.ts === + 1_000_000_000 -No type information for this code.1.1_00_01 -No type information for this code.1e1_0 -No type information for this code.1e+1_0 -No type information for this code.1e-1_0 -No type information for this code.1.1e10_0 -No type information for this code.1.1e+10_0 -No type information for this code.1.1e-10_0 -No type information for this code.12_34_56 -No type information for this code.1_22_333 -No type information for this code.1_2.3_4 -No type information for this code.1_2.3_4e5_6 -No type information for this code.1_2.3_4e+5_6 -No type information for this code.1_2.3_4e-5_6 -No type information for this code. -No type information for this code. \ No newline at end of file +1.1_00_01 +1e1_0 +1e+1_0 +1e-1_0 +1.1e10_0 +1.1e+10_0 +1.1e-10_0 +12_34_56 +1_22_333 +1_2.3_4 +1_2.3_4e5_6 +1_2.3_4e+5_6 +1_2.3_4e-5_6 + diff --git a/tests/baselines/reference/parser.numericSeparators.decmialNegative.symbols b/tests/baselines/reference/parser.numericSeparators.decmialNegative.symbols index bcfd1533c30dc..77603325c737d 100644 --- a/tests/baselines/reference/parser.numericSeparators.decmialNegative.symbols +++ b/tests/baselines/reference/parser.numericSeparators.decmialNegative.symbols @@ -1,154 +1,204 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/1.ts === + _10 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + 10_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + 1__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + 0_.0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + 0._0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + 0.0__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/7.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/7.ts === + 0.0__ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/8.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/8.ts === + 0_e0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/9.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/9.ts === + 0e_0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/10.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/10.ts === + 0e0_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/11.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/11.ts === + 0e0__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/12.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/12.ts === + 0_.0e0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/13.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/13.ts === + 0._0e0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/14.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/14.ts === + 0.0_e0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/15.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/15.ts === + 0.0e_0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/16.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/16.ts === + _0.0e0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/17.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/17.ts === + 0.0e0_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/18.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/18.ts === + 0__0.0e0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/19.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/19.ts === + 0.0__0e0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/20.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/20.ts === + 0.00e0__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/21.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/21.ts === + 0_e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/22.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/22.ts === + 0e+_0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/23.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/23.ts === + 0e+0_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/24.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/24.ts === + 0e+0__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/25.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/25.ts === + 0_.0e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/26.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/26.ts === + 0._0e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/27.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/27.ts === + 0.0_e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/28.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/28.ts === + 0.0e+_0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/29.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/29.ts === + _0.0e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/30.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/30.ts === + 0.0e+0_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/31.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/31.ts === + 0__0.0e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/32.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/32.ts === + 0.0__0e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/33.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/33.ts === + 0.00e+0__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/34.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/34.ts === + 0_e+0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/35.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/35.ts === + 0e-_0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/36.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/36.ts === + 0e-0_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/37.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/37.ts === + 0e-0__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/38.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/38.ts === + 0_.0e-0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/39.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/39.ts === + 0._0e-0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/40.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/40.ts === + 0.0_e-0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/41.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/41.ts === + 0.0e-_0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/42.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/42.ts === + _0.0e-0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/43.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/43.ts === + 0.0e-0_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/44.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/44.ts === + 0__0.0e-0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/45.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/45.ts === + 0.0__0e-0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/46.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/46.ts === + 0.00e-0__0 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/47.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/47.ts === + ._ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/48.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/48.ts === + 1\u005F01234 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/49.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/49.ts === + 1.0e_+10 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/50.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/50.ts === + 1.0e_-10 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/51.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/51.ts === + 0._ -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parser.numericSeparators.hex.symbols b/tests/baselines/reference/parser.numericSeparators.hex.symbols index 6ebbb0a3b4095..faab04836428d 100644 --- a/tests/baselines/reference/parser.numericSeparators.hex.symbols +++ b/tests/baselines/reference/parser.numericSeparators.hex.symbols @@ -1,7 +1,7 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.hex.ts === + 0x00_11; -No type information for this code.0X0_1; -No type information for this code.0x1100_0011; -No type information for this code.0X0_11_0101; -No type information for this code. -No type information for this code. \ No newline at end of file +0X0_1; +0x1100_0011; +0X0_11_0101; + diff --git a/tests/baselines/reference/parser.numericSeparators.hexNegative.symbols b/tests/baselines/reference/parser.numericSeparators.hexNegative.symbols index eacbed235dab0..5d5f0761d109a 100644 --- a/tests/baselines/reference/parser.numericSeparators.hexNegative.symbols +++ b/tests/baselines/reference/parser.numericSeparators.hexNegative.symbols @@ -1,19 +1,24 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/1.ts === + 0x00_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + 0x_110 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + 0_X0101 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + 0x01__11 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + 0X0110_0110__ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + 0x___0111010_0101_1 -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parser.numericSeparators.octal.symbols b/tests/baselines/reference/parser.numericSeparators.octal.symbols index 6b479ce696a0f..823274a252ff2 100644 --- a/tests/baselines/reference/parser.numericSeparators.octal.symbols +++ b/tests/baselines/reference/parser.numericSeparators.octal.symbols @@ -1,7 +1,7 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/parser.numericSeparators.octal.ts === + 0o00_11; -No type information for this code.0O0_1; -No type information for this code.0o1100_0011; -No type information for this code.0O0_11_0101; -No type information for this code. -No type information for this code. \ No newline at end of file +0O0_1; +0o1100_0011; +0O0_11_0101; + diff --git a/tests/baselines/reference/parser.numericSeparators.octalNegative.symbols b/tests/baselines/reference/parser.numericSeparators.octalNegative.symbols index 0157379b4dbf0..ffc37c78e235e 100644 --- a/tests/baselines/reference/parser.numericSeparators.octalNegative.symbols +++ b/tests/baselines/reference/parser.numericSeparators.octalNegative.symbols @@ -1,19 +1,24 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/1.ts === + 0o00_ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + 0o_110 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + 0_O0101 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + 0o01__11 -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + 0O0110_0110__ -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + 0o___0111010_0101_1 -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parser.numericSeparators.unicodeEscape.symbols b/tests/baselines/reference/parser.numericSeparators.unicodeEscape.symbols index 86584c432e975..2d00926985836 100644 --- a/tests/baselines/reference/parser.numericSeparators.unicodeEscape.symbols +++ b/tests/baselines/reference/parser.numericSeparators.unicodeEscape.symbols @@ -1,145 +1,192 @@ === tests/cases/conformance/parser/ecmascript2021/numericSeparators/1.ts === + "\u{10_ffff}" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/2.ts === + '\u{10_ffff}' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/3.ts === + `\u{10_ffff}` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/4.ts === + /\u{10_ffff}/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/5.ts === + "\uff_ff" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/6.ts === + '\uff_ff' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/7.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/7.ts === + `\uff_ff` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/8.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/8.ts === + /\uff_ff/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/9.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/9.ts === + "\xf_f" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/10.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/10.ts === + '\xf_f' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/11.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/11.ts === + `\xf_f` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/12.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/12.ts === + /\xf_f/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/13.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/13.ts === + "\u{_10ffff}" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/14.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/14.ts === + '\u{_10ffff}' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/15.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/15.ts === + `\u{_10ffff}` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/16.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/16.ts === + /\u{_10ffff}/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/17.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/17.ts === + "\u_ffff" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/18.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/18.ts === + '\u_ffff' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/19.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/19.ts === + `\u_ffff` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/20.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/20.ts === + /\u_ffff/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/21.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/21.ts === + "\x_ff" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/22.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/22.ts === + '\x_ff' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/23.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/23.ts === + `\x_ff` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/24.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/24.ts === + /\x_ff/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/25.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/25.ts === + "\u{10ffff_}" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/26.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/26.ts === + '\u{10ffff_}' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/27.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/27.ts === + `\u{10ffff_}` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/28.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/28.ts === + /\u{10ffff_}/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/29.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/29.ts === + "\uffff_" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/30.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/30.ts === + '\uffff_' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/31.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/31.ts === + `\uffff_` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/32.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/32.ts === + /\uffff_/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/33.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/33.ts === + "\xff_" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/34.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/34.ts === + '\xff_' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/35.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/35.ts === + `\xff_` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/36.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/36.ts === + /\xff_/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/37.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/37.ts === + "\u{10__ffff}" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/38.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/38.ts === + '\u{10__ffff}' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/39.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/39.ts === + `\u{10__ffff}` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/40.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/40.ts === + /\u{10__ffff}/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/41.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/41.ts === + "\uff__ff" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/42.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/42.ts === + '\uff__ff' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/43.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/43.ts === + `\uff__ff` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/44.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/44.ts === + /\uff__ff/u -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/45.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/45.ts === + "\xf__f" -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/46.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/46.ts === + '\xf__f' -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/47.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/47.ts === + `\xf__f` -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/48.ts === + +=== tests/cases/conformance/parser/ecmascript2021/numericSeparators/48.ts === + /\xf__f/u -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parser509693.symbols b/tests/baselines/reference/parser509693.symbols index fe2209c13c125..e49db8953d791 100644 --- a/tests/baselines/reference/parser509693.symbols +++ b/tests/baselines/reference/parser509693.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509693.ts === + if (!module.exports) module.exports = ""; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parser521128.symbols b/tests/baselines/reference/parser521128.symbols index e9355a9221949..086352555a47e 100644 --- a/tests/baselines/reference/parser521128.symbols +++ b/tests/baselines/reference/parser521128.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegressionTests/parser521128.ts === + module.module { } -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parser768531.symbols b/tests/baselines/reference/parser768531.symbols index 2da2298c8e207..794853b7f54b3 100644 --- a/tests/baselines/reference/parser768531.symbols +++ b/tests/baselines/reference/parser768531.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Fuzz/parser768531.ts === + {a: 3} -No type information for this code./x/ -No type information for this code. \ No newline at end of file +/x/ diff --git a/tests/baselines/reference/parserAdditiveExpression1.symbols b/tests/baselines/reference/parserAdditiveExpression1.symbols index 894de1472f74c..b40b3fb715b45 100644 --- a/tests/baselines/reference/parserAdditiveExpression1.symbols +++ b/tests/baselines/reference/parserAdditiveExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserAdditiveExpression1.ts === + m.index+1+m[0].length; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserAmbiguity2.symbols b/tests/baselines/reference/parserAmbiguity2.symbols index 284351f93b518..eda8cfc486104 100644 --- a/tests/baselines/reference/parserAmbiguity2.symbols +++ b/tests/baselines/reference/parserAmbiguity2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguity2.ts === + f(g7); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserAmbiguity3.symbols b/tests/baselines/reference/parserAmbiguity3.symbols index afa73eb325b9c..8eadb23ae88fd 100644 --- a/tests/baselines/reference/parserAmbiguity3.symbols +++ b/tests/baselines/reference/parserAmbiguity3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserAmbiguity3.ts === + f(g < A, B > +(7)); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).symbols b/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).symbols index 966a71ec7dfc0..39bc1cf15144d 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).symbols +++ b/tests/baselines/reference/parserArrowFunctionExpression13(target=es3).symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js === + a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts === + +=== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts === + a ? () => a() : (): any => null; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).symbols b/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).symbols index 966a71ec7dfc0..39bc1cf15144d 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).symbols +++ b/tests/baselines/reference/parserArrowFunctionExpression13(target=es6).symbols @@ -1,7 +1,8 @@ === tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileJs.js === + a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren -No type information for this code. -No type information for this code.=== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts === + +=== tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/fileTs.ts === + a ? () => a() : (): any => null; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parserArrowFunctionExpression2.symbols b/tests/baselines/reference/parserArrowFunctionExpression2.symbols index 221aec7f9e30a..787bfb997809f 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression2.symbols +++ b/tests/baselines/reference/parserArrowFunctionExpression2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression2.ts === + a = () => { } || a -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserArrowFunctionExpression3.symbols b/tests/baselines/reference/parserArrowFunctionExpression3.symbols index a9fb95309b147..73d96d886d578 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression3.symbols +++ b/tests/baselines/reference/parserArrowFunctionExpression3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression3.ts === + a = (() => { } || a) -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserArrowFunctionExpression4.symbols b/tests/baselines/reference/parserArrowFunctionExpression4.symbols index 07890b16804db..35e8d365bd892 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression4.symbols +++ b/tests/baselines/reference/parserArrowFunctionExpression4.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression4.ts === + a = (() => { }, a) -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserArrowFunctionExpression5.symbols b/tests/baselines/reference/parserArrowFunctionExpression5.symbols index eeb93537357f6..722cde62ecb75 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression5.symbols +++ b/tests/baselines/reference/parserArrowFunctionExpression5.symbols @@ -1,8 +1,8 @@ === tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression5.ts === + (bar(x, -No type information for this code. () => {}, -No type information for this code. () => {} -No type information for this code. ) -No type information for this code.) -No type information for this code. -No type information for this code. \ No newline at end of file + () => {}, + () => {} + ) +) + diff --git a/tests/baselines/reference/parserAssignmentExpression1.symbols b/tests/baselines/reference/parserAssignmentExpression1.symbols index 529ed0078e0c0..62f3575ae49f5 100644 --- a/tests/baselines/reference/parserAssignmentExpression1.symbols +++ b/tests/baselines/reference/parserAssignmentExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Expressions/parserAssignmentExpression1.ts === + (foo()) = bar; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserBlockStatement1.d.symbols b/tests/baselines/reference/parserBlockStatement1.d.symbols index f01d15a8ea7c3..18686d9d11706 100644 --- a/tests/baselines/reference/parserBlockStatement1.d.symbols +++ b/tests/baselines/reference/parserBlockStatement1.d.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserBlockStatement1.d.ts === + {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserBlockStatement1.d.types b/tests/baselines/reference/parserBlockStatement1.d.types index f01d15a8ea7c3..18686d9d11706 100644 --- a/tests/baselines/reference/parserBlockStatement1.d.types +++ b/tests/baselines/reference/parserBlockStatement1.d.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserBlockStatement1.d.ts === + {} -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserBreakStatement1.d.symbols b/tests/baselines/reference/parserBreakStatement1.d.symbols index 56ba3a7415868..f8767cb3e9a72 100644 --- a/tests/baselines/reference/parserBreakStatement1.d.symbols +++ b/tests/baselines/reference/parserBreakStatement1.d.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserBreakStatement1.d.ts === + break; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserBreakStatement1.d.types b/tests/baselines/reference/parserBreakStatement1.d.types index 56ba3a7415868..f8767cb3e9a72 100644 --- a/tests/baselines/reference/parserBreakStatement1.d.types +++ b/tests/baselines/reference/parserBreakStatement1.d.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserBreakStatement1.d.ts === + break; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserContinueStatement1.d.symbols b/tests/baselines/reference/parserContinueStatement1.d.symbols index 285af64728b9e..050f74240ec40 100644 --- a/tests/baselines/reference/parserContinueStatement1.d.symbols +++ b/tests/baselines/reference/parserContinueStatement1.d.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserContinueStatement1.d.ts === + continue; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserContinueStatement1.d.types b/tests/baselines/reference/parserContinueStatement1.d.types index 285af64728b9e..050f74240ec40 100644 --- a/tests/baselines/reference/parserContinueStatement1.d.types +++ b/tests/baselines/reference/parserContinueStatement1.d.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserContinueStatement1.d.ts === + continue; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserDebuggerStatement1.d.symbols b/tests/baselines/reference/parserDebuggerStatement1.d.symbols index 82eca9464a84a..0fa2e2711897a 100644 --- a/tests/baselines/reference/parserDebuggerStatement1.d.symbols +++ b/tests/baselines/reference/parserDebuggerStatement1.d.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserDebuggerStatement1.d.ts === + debugger; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserDebuggerStatement1.d.types b/tests/baselines/reference/parserDebuggerStatement1.d.types index 82eca9464a84a..0fa2e2711897a 100644 --- a/tests/baselines/reference/parserDebuggerStatement1.d.types +++ b/tests/baselines/reference/parserDebuggerStatement1.d.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserDebuggerStatement1.d.ts === + debugger; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserDebuggerStatement1.symbols b/tests/baselines/reference/parserDebuggerStatement1.symbols index bfc1785f927de..8cd8209fe9cf5 100644 --- a/tests/baselines/reference/parserDebuggerStatement1.symbols +++ b/tests/baselines/reference/parserDebuggerStatement1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserDebuggerStatement1.ts === + debugger -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserDebuggerStatement1.types b/tests/baselines/reference/parserDebuggerStatement1.types index bfc1785f927de..8cd8209fe9cf5 100644 --- a/tests/baselines/reference/parserDebuggerStatement1.types +++ b/tests/baselines/reference/parserDebuggerStatement1.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserDebuggerStatement1.ts === + debugger -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserDebuggerStatement2.symbols b/tests/baselines/reference/parserDebuggerStatement2.symbols index 9916218897c1e..53fc5102d25b0 100644 --- a/tests/baselines/reference/parserDebuggerStatement2.symbols +++ b/tests/baselines/reference/parserDebuggerStatement2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserDebuggerStatement2.ts === + debugger; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserDebuggerStatement2.types b/tests/baselines/reference/parserDebuggerStatement2.types index 9916218897c1e..53fc5102d25b0 100644 --- a/tests/baselines/reference/parserDebuggerStatement2.types +++ b/tests/baselines/reference/parserDebuggerStatement2.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserDebuggerStatement2.ts === + debugger; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserDoStatement1.d.symbols b/tests/baselines/reference/parserDoStatement1.d.symbols index ccab7da87d82a..346bdf7a977aa 100644 --- a/tests/baselines/reference/parserDoStatement1.d.symbols +++ b/tests/baselines/reference/parserDoStatement1.d.symbols @@ -1,5 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserDoStatement1.d.ts === + do { -No type information for this code.} -No type information for this code.while (e); -No type information for this code. \ No newline at end of file +} +while (e); diff --git a/tests/baselines/reference/parserDoStatement2.symbols b/tests/baselines/reference/parserDoStatement2.symbols index 62790b4910340..86f495947e1de 100644 --- a/tests/baselines/reference/parserDoStatement2.symbols +++ b/tests/baselines/reference/parserDoStatement2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserDoStatement2.ts === + do{;}while(false)false -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserES5ForOfStatement2.symbols b/tests/baselines/reference/parserES5ForOfStatement2.symbols index f381d3625c58a..3f6f226de141b 100644 --- a/tests/baselines/reference/parserES5ForOfStatement2.symbols +++ b/tests/baselines/reference/parserES5ForOfStatement2.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement2.ts === + for (var of X) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserES5ForOfStatement21.symbols b/tests/baselines/reference/parserES5ForOfStatement21.symbols index 676684c2d5041..80622e02cbe95 100644 --- a/tests/baselines/reference/parserES5ForOfStatement21.symbols +++ b/tests/baselines/reference/parserES5ForOfStatement21.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement21.ts === + for (var of of) { } -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserEmptyFile1.symbols b/tests/baselines/reference/parserEmptyFile1.symbols index d48ac0a484110..6a927f9eed61f 100644 --- a/tests/baselines/reference/parserEmptyFile1.symbols +++ b/tests/baselines/reference/parserEmptyFile1.symbols @@ -1,3 +1,2 @@ === tests/cases/conformance/parser/ecmascript5/parserEmptyFile1.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserEmptyFile1.types b/tests/baselines/reference/parserEmptyFile1.types index d48ac0a484110..6a927f9eed61f 100644 --- a/tests/baselines/reference/parserEmptyFile1.types +++ b/tests/baselines/reference/parserEmptyFile1.types @@ -1,3 +1,2 @@ === tests/cases/conformance/parser/ecmascript5/parserEmptyFile1.ts === -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserEmptyStatement1.d.symbols b/tests/baselines/reference/parserEmptyStatement1.d.symbols index b7baa6a9ec627..1f229fea77689 100644 --- a/tests/baselines/reference/parserEmptyStatement1.d.symbols +++ b/tests/baselines/reference/parserEmptyStatement1.d.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserEmptyStatement1.d.ts === + ; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserEmptyStatement1.d.types b/tests/baselines/reference/parserEmptyStatement1.d.types index b7baa6a9ec627..1f229fea77689 100644 --- a/tests/baselines/reference/parserEmptyStatement1.d.types +++ b/tests/baselines/reference/parserEmptyStatement1.d.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserEmptyStatement1.d.ts === + ; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList6.symbols b/tests/baselines/reference/parserErrorRecovery_ArgumentList6.symbols index c5e9b0e6a9c72..674897dab99fe 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList6.symbols +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList6.ts === + Foo(, -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList7.symbols b/tests/baselines/reference/parserErrorRecovery_ArgumentList7.symbols index 3b763e1cc4a35..97663f26d0142 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList7.symbols +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList7.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ArgumentLists/parserErrorRecovery_ArgumentList7.ts === + Foo(a,, -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.types b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.types index 73614051301c6..9a5c60eb1480a 100644 --- a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.types +++ b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ExtendsOrImplementsClauses/parserErrorRecovery_ExtendsOrImplementsClause6.ts === + interface I extends { } -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserErrorRecovery_LeftShift1.symbols b/tests/baselines/reference/parserErrorRecovery_LeftShift1.symbols index 814a5df671743..b947f622f5f95 100644 --- a/tests/baselines/reference/parserErrorRecovery_LeftShift1.symbols +++ b/tests/baselines/reference/parserErrorRecovery_LeftShift1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/LeftShifts/parserErrorRecovery_LeftShift1.ts === + retValue = bfs.VARIABLES >> ); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserErrorRecovery_ModuleElement1.symbols b/tests/baselines/reference/parserErrorRecovery_ModuleElement1.symbols index 6c86acab75eb6..69f66bf6d2513 100644 --- a/tests/baselines/reference/parserErrorRecovery_ModuleElement1.symbols +++ b/tests/baselines/reference/parserErrorRecovery_ModuleElement1.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/ModuleElements/parserErrorRecovery_ModuleElement1.ts === + return foo; -No type information for this code.} -No type information for this code.return bar; -No type information for this code.} -No type information for this code. \ No newline at end of file +} +return bar; +} diff --git a/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.symbols b/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.symbols index 6c3c556324507..86e8f458f8d1f 100644 --- a/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.symbols +++ b/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.symbols @@ -1,9 +1,9 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/SwitchStatements/parserErrorRecovery_SwitchStatement1.ts === + switch (e) { -No type information for this code. case 1: -No type information for this code. 1 + -No type information for this code. case 2: -No type information for this code. 1 + -No type information for this code. default: -No type information for this code.} -No type information for this code. \ No newline at end of file + case 1: + 1 + + case 2: + 1 + + default: +} diff --git a/tests/baselines/reference/parserExportAssignment1.symbols b/tests/baselines/reference/parserExportAssignment1.symbols index c9392ee0c7f10..c7a8f460857f9 100644 --- a/tests/baselines/reference/parserExportAssignment1.symbols +++ b/tests/baselines/reference/parserExportAssignment1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts === + export = foo -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserExportAssignment2.symbols b/tests/baselines/reference/parserExportAssignment2.symbols index fba3f820db568..f61f023deffb1 100644 --- a/tests/baselines/reference/parserExportAssignment2.symbols +++ b/tests/baselines/reference/parserExportAssignment2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts === + export = foo; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserExportAssignment3.symbols b/tests/baselines/reference/parserExportAssignment3.symbols index b1ed4d22a71ec..22dad9c2989f1 100644 --- a/tests/baselines/reference/parserExportAssignment3.symbols +++ b/tests/baselines/reference/parserExportAssignment3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment3.ts === + export = -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserExportAssignment4.symbols b/tests/baselines/reference/parserExportAssignment4.symbols index 159c4882de720..9d1a0626f8d41 100644 --- a/tests/baselines/reference/parserExportAssignment4.symbols +++ b/tests/baselines/reference/parserExportAssignment4.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment4.ts === + export = ; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserExpressionStatement1.d.symbols b/tests/baselines/reference/parserExpressionStatement1.d.symbols index c6d675cf80bd0..fcff229fb2751 100644 --- a/tests/baselines/reference/parserExpressionStatement1.d.symbols +++ b/tests/baselines/reference/parserExpressionStatement1.d.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserExpressionStatement1.d.ts === + Foo(); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserForInStatement2.symbols b/tests/baselines/reference/parserForInStatement2.symbols index 56a34ebf3814f..78d5fb9abb8d3 100644 --- a/tests/baselines/reference/parserForInStatement2.symbols +++ b/tests/baselines/reference/parserForInStatement2.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement2.ts === + for (var in X) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserForOfStatement2.symbols b/tests/baselines/reference/parserForOfStatement2.symbols index 3ec838f40b1d2..d333a7e18702b 100644 --- a/tests/baselines/reference/parserForOfStatement2.symbols +++ b/tests/baselines/reference/parserForOfStatement2.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement2.ts === + for (var of X) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserForOfStatement21.symbols b/tests/baselines/reference/parserForOfStatement21.symbols index a95b8d21898bd..932f597c5db9f 100644 --- a/tests/baselines/reference/parserForOfStatement21.symbols +++ b/tests/baselines/reference/parserForOfStatement21.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript6/Iterators/parserForOfStatement21.ts === + for (var of of) { } -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserForStatement1.d.symbols b/tests/baselines/reference/parserForStatement1.d.symbols index 7ab80b871049f..e708f60ca6bbb 100644 --- a/tests/baselines/reference/parserForStatement1.d.symbols +++ b/tests/baselines/reference/parserForStatement1.d.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement1.d.ts === + for (;;) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserForStatement1.d.types b/tests/baselines/reference/parserForStatement1.d.types index 7ab80b871049f..e708f60ca6bbb 100644 --- a/tests/baselines/reference/parserForStatement1.d.types +++ b/tests/baselines/reference/parserForStatement1.d.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement1.d.ts === + for (;;) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserForStatement3.symbols b/tests/baselines/reference/parserForStatement3.symbols index c6efdfe870035..079e3c904332b 100644 --- a/tests/baselines/reference/parserForStatement3.symbols +++ b/tests/baselines/reference/parserForStatement3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement3.ts === + for(d in _.jh[a]=_.jh[a]||[],b); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserForStatement4.symbols b/tests/baselines/reference/parserForStatement4.symbols index f93836ecfa2e3..c30ce6be14f61 100644 --- a/tests/baselines/reference/parserForStatement4.symbols +++ b/tests/baselines/reference/parserForStatement4.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement4.ts === + for (a = 1 in b) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserForStatement5.symbols b/tests/baselines/reference/parserForStatement5.symbols index c018b4d8a99d0..7e3507632081d 100644 --- a/tests/baselines/reference/parserForStatement5.symbols +++ b/tests/baselines/reference/parserForStatement5.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement5.ts === + for ({} in b) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserForStatement6.symbols b/tests/baselines/reference/parserForStatement6.symbols index 604b497fa062d..ef319cd1c69ce 100644 --- a/tests/baselines/reference/parserForStatement6.symbols +++ b/tests/baselines/reference/parserForStatement6.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement6.ts === + for (foo() in b) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserForStatement7.symbols b/tests/baselines/reference/parserForStatement7.symbols index 793d8d5fa5f62..54a41f2144f9c 100644 --- a/tests/baselines/reference/parserForStatement7.symbols +++ b/tests/baselines/reference/parserForStatement7.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement7.ts === + for (new foo() in b) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserFuzz1.symbols b/tests/baselines/reference/parserFuzz1.symbols index 130831017b591..69ec4f6e53dec 100644 --- a/tests/baselines/reference/parserFuzz1.symbols +++ b/tests/baselines/reference/parserFuzz1.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserFuzz1.ts === + cla > 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.symbols index daf18ee868dc3..b44f5107fbcb9 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity10.ts === + 1 -No type information for this code.// before -No type information for this code.>>> // after -No type information for this code.2; -No type information for this code. \ No newline at end of file +// before +>>> // after +2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.symbols index fd8d0bb163563..fdaad055dee5f 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity11.ts === + 1 >>= 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.symbols index 69e8d972a8b25..dae0525ef946e 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity12.ts === + 1 >> = 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.symbols index e2ecb4965dc7c..c7a20e6bab512 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity13.ts === + 1 >>/**/= 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.symbols index 7581b6ace0ab4..811b9891d423b 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity14.ts === + 1 >> -No type information for this code.= 2; -No type information for this code. \ No newline at end of file += 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.symbols index c03c954704b8a..236ea5da87880 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity15.ts === + 1 -No type information for this code.// before -No type information for this code.>>= // after -No type information for this code.2; -No type information for this code. \ No newline at end of file +// before +>>= // after +2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.symbols index 66d9953a5cb44..84aff11e55a26 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity16.ts === + 1 >>>= 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.symbols index 8cb204abcb19e..e95fface73430 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity17.ts === + 1 >>> = 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.symbols index 28a7538a3fd2d..0b7adb4c5ed94 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity18.ts === + 1 >>>/**/= 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.symbols index 722b0e1097d81..d08edd2b24e98 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity19.ts === + 1 >>> -No type information for this code.= 2; -No type information for this code. \ No newline at end of file += 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.symbols index 43adc413615b5..1209eba5f3db0 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity2.ts === + 1 > > 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.symbols index de6697b8faddf..fe6b1e1496f64 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity20.ts === + 1 -No type information for this code.// Before -No type information for this code.>>>= // after -No type information for this code.2; -No type information for this code. \ No newline at end of file +// Before +>>>= // after +2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.symbols index 5cca4512a387b..a9e941f0b986f 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity3.ts === + 1 >/**/> 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.symbols index 53bdd756d27f6..52bde9d128342 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity4.ts === + 1 > -No type information for this code.> 2; -No type information for this code. \ No newline at end of file +> 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.symbols index f0ca1bc80c9e7..ee7dcc401369a 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity5.ts === + 1 -No type information for this code.// before -No type information for this code.>> // after -No type information for this code.2; -No type information for this code. \ No newline at end of file +// before +>> // after +2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.symbols index 4ea0d39b9653d..59ce4803d23d7 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity6.ts === + 1 >>> 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.symbols index db77d8f1deeef..f898b9792b568 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity7.ts === + 1 >> > 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.symbols index 97e8fded355df..c584e6f1668c1 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity8.ts === + 1 >>/**/> 2; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.symbols b/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.symbols index d23d2fadaefda..abbaa74197f5c 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.symbols +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Generics/parserGreaterThanTokenAmbiguity9.ts === + 1 >> -No type information for this code.> 2; -No type information for this code. \ No newline at end of file +> 2; diff --git a/tests/baselines/reference/parserIfStatement1.d.symbols b/tests/baselines/reference/parserIfStatement1.d.symbols index 84a87102b4392..7ab3b0ec5ee33 100644 --- a/tests/baselines/reference/parserIfStatement1.d.symbols +++ b/tests/baselines/reference/parserIfStatement1.d.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserIfStatement1.d.ts === + if (foo) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserIfStatement2.symbols b/tests/baselines/reference/parserIfStatement2.symbols index 6012852af0e78..763d35ff23ce5 100644 --- a/tests/baselines/reference/parserIfStatement2.symbols +++ b/tests/baselines/reference/parserIfStatement2.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserIfStatement2.ts === + if (a) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserIndexSignature9.types b/tests/baselines/reference/parserIndexSignature9.types index 3687cda579b8b..1c0c2d3545fc3 100644 --- a/tests/baselines/reference/parserIndexSignature9.types +++ b/tests/baselines/reference/parserIndexSignature9.types @@ -1,5 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/IndexSignatures/parserIndexSignature9.ts === + interface I { -No type information for this code. []: number -No type information for this code.} -No type information for this code. \ No newline at end of file + []: number +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration1.types b/tests/baselines/reference/parserInterfaceDeclaration1.types index 4a1a8dcabe9dd..0dc1e310150fe 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration1.types +++ b/tests/baselines/reference/parserInterfaceDeclaration1.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration1.ts === + interface I extends A extends B { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration2.types b/tests/baselines/reference/parserInterfaceDeclaration2.types index f57dc5c689122..f1985f89b3da5 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration2.types +++ b/tests/baselines/reference/parserInterfaceDeclaration2.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration2.ts === + interface I implements A { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration3.types b/tests/baselines/reference/parserInterfaceDeclaration3.types index fbf73c9656da9..4b2d7b3b5f66f 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration3.types +++ b/tests/baselines/reference/parserInterfaceDeclaration3.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration3.ts === + public interface I { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration4.types b/tests/baselines/reference/parserInterfaceDeclaration4.types index 36f043bf080ad..b2b6bd0a35e17 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration4.types +++ b/tests/baselines/reference/parserInterfaceDeclaration4.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration4.ts === + static interface I { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration5.types b/tests/baselines/reference/parserInterfaceDeclaration5.types index e1647ee05fefb..cfdab46f2adf2 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration5.types +++ b/tests/baselines/reference/parserInterfaceDeclaration5.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration5.ts === + declare interface I { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration6.types b/tests/baselines/reference/parserInterfaceDeclaration6.types index 571a7b5d7b902..570c57cef53de 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration6.types +++ b/tests/baselines/reference/parserInterfaceDeclaration6.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration6.ts === + export export interface I { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration7.types b/tests/baselines/reference/parserInterfaceDeclaration7.types index 561bc768a53f2..ae4f497506f79 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration7.types +++ b/tests/baselines/reference/parserInterfaceDeclaration7.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration7.ts === + export interface I { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInterfaceDeclaration8.types b/tests/baselines/reference/parserInterfaceDeclaration8.types index a71031b65c099..1a794940579ef 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration8.types +++ b/tests/baselines/reference/parserInterfaceDeclaration8.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/InterfaceDeclarations/parserInterfaceDeclaration8.ts === + interface string { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.symbols b/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.symbols index baac5b00915ed..d611cb6e4ecc5 100644 --- a/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.symbols +++ b/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Expressions/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.ts === + new A().b() -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserKeywordsAsIdentifierName2.symbols b/tests/baselines/reference/parserKeywordsAsIdentifierName2.symbols index a5a484dd0e34f..c28da66aee952 100644 --- a/tests/baselines/reference/parserKeywordsAsIdentifierName2.symbols +++ b/tests/baselines/reference/parserKeywordsAsIdentifierName2.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/parserKeywordsAsIdentifierName2.ts === + // 'public' should be marked unusable, should complain on trailing /* -No type information for this code.a.public /* -No type information for this code. \ No newline at end of file +a.public /* diff --git a/tests/baselines/reference/parserLabeledStatement1.d.symbols b/tests/baselines/reference/parserLabeledStatement1.d.symbols index 89f096f342087..7e3d3ab07b524 100644 --- a/tests/baselines/reference/parserLabeledStatement1.d.symbols +++ b/tests/baselines/reference/parserLabeledStatement1.d.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserLabeledStatement1.d.ts === + foo: -No type information for this code. bar(); -No type information for this code. \ No newline at end of file + bar(); diff --git a/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.symbols b/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.symbols index 00828537ee27f..7a164990bdcd7 100644 --- a/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.symbols +++ b/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Expressions/parserMemberAccessAfterPostfixExpression1.ts === + a--.toString() -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserMissingToken1.symbols b/tests/baselines/reference/parserMissingToken1.symbols index 339f47a27532c..a4e45dc8cd591 100644 --- a/tests/baselines/reference/parserMissingToken1.symbols +++ b/tests/baselines/reference/parserMissingToken1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts === + a / finally -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserMissingToken2.symbols b/tests/baselines/reference/parserMissingToken2.symbols index 97c04643053c1..a36937ed0253b 100644 --- a/tests/baselines/reference/parserMissingToken2.symbols +++ b/tests/baselines/reference/parserMissingToken2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken2.ts === + / b; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserModuleDeclaration12.types b/tests/baselines/reference/parserModuleDeclaration12.types index c4fc1e90e38af..a006596b7b54a 100644 --- a/tests/baselines/reference/parserModuleDeclaration12.types +++ b/tests/baselines/reference/parserModuleDeclaration12.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration12.ts === + module A.string { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserModuleDeclaration2.d.types b/tests/baselines/reference/parserModuleDeclaration2.d.types index 74001e6df700f..4f4bafd3c16ba 100644 --- a/tests/baselines/reference/parserModuleDeclaration2.d.types +++ b/tests/baselines/reference/parserModuleDeclaration2.d.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration2.d.ts === + module M { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserModuleDeclaration3.d.types b/tests/baselines/reference/parserModuleDeclaration3.d.types index 4beeb0688b1e9..2f15bf6383dd2 100644 --- a/tests/baselines/reference/parserModuleDeclaration3.d.types +++ b/tests/baselines/reference/parserModuleDeclaration3.d.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration3.d.ts === + declare module M { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserModuleDeclaration3.types b/tests/baselines/reference/parserModuleDeclaration3.types index 7be9d1af3a849..3f31cf108bfe7 100644 --- a/tests/baselines/reference/parserModuleDeclaration3.types +++ b/tests/baselines/reference/parserModuleDeclaration3.types @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration3.ts === + declare module M { -No type information for this code. declare module M2 { -No type information for this code. } -No type information for this code.} -No type information for this code. \ No newline at end of file + declare module M2 { + } +} diff --git a/tests/baselines/reference/parserModuleDeclaration4.d.types b/tests/baselines/reference/parserModuleDeclaration4.d.types index bc92f1db1085f..e896be81d16a0 100644 --- a/tests/baselines/reference/parserModuleDeclaration4.d.types +++ b/tests/baselines/reference/parserModuleDeclaration4.d.types @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration4.d.ts === + module M { -No type information for this code. declare module M1 { -No type information for this code. } -No type information for this code.} -No type information for this code. \ No newline at end of file + declare module M1 { + } +} diff --git a/tests/baselines/reference/parserModuleDeclaration4.types b/tests/baselines/reference/parserModuleDeclaration4.types index 285796e888aeb..7ab84ea585c93 100644 --- a/tests/baselines/reference/parserModuleDeclaration4.types +++ b/tests/baselines/reference/parserModuleDeclaration4.types @@ -1,8 +1,8 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration4.ts === + module M { -No type information for this code. declare module M1 { -No type information for this code. module M2 { -No type information for this code. } -No type information for this code. } -No type information for this code.} -No type information for this code. \ No newline at end of file + declare module M1 { + module M2 { + } + } +} diff --git a/tests/baselines/reference/parserModuleDeclaration5.types b/tests/baselines/reference/parserModuleDeclaration5.types index 74e0d8050ff5f..59c1fc0d2ff85 100644 --- a/tests/baselines/reference/parserModuleDeclaration5.types +++ b/tests/baselines/reference/parserModuleDeclaration5.types @@ -1,8 +1,8 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration5.ts === + module M1 { -No type information for this code. declare module M2 { -No type information for this code. declare module M3 { -No type information for this code. } -No type information for this code. } -No type information for this code.} -No type information for this code. \ No newline at end of file + declare module M2 { + declare module M3 { + } + } +} diff --git a/tests/baselines/reference/parserModuleDeclaration6.types b/tests/baselines/reference/parserModuleDeclaration6.types index cb5e33d8f06a7..5e6ca55a30882 100644 --- a/tests/baselines/reference/parserModuleDeclaration6.types +++ b/tests/baselines/reference/parserModuleDeclaration6.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration6.ts === + module number { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserModuleDeclaration7.types b/tests/baselines/reference/parserModuleDeclaration7.types index d47bf6541c4b0..d3b0075cabbcc 100644 --- a/tests/baselines/reference/parserModuleDeclaration7.types +++ b/tests/baselines/reference/parserModuleDeclaration7.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration7.ts === + module number.a { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserModuleDeclaration8.types b/tests/baselines/reference/parserModuleDeclaration8.types index bb88c64044b0e..b9a6c12f349e0 100644 --- a/tests/baselines/reference/parserModuleDeclaration8.types +++ b/tests/baselines/reference/parserModuleDeclaration8.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration8.ts === + module a.number { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserModuleDeclaration9.types b/tests/baselines/reference/parserModuleDeclaration9.types index 8360e451ec198..73c6443610fe5 100644 --- a/tests/baselines/reference/parserModuleDeclaration9.types +++ b/tests/baselines/reference/parserModuleDeclaration9.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ModuleDeclarations/parserModuleDeclaration9.ts === + module a.number.b { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserNotRegex1.symbols b/tests/baselines/reference/parserNotRegex1.symbols index 9e424e1136885..36b108f4188d3 100644 --- a/tests/baselines/reference/parserNotRegex1.symbols +++ b/tests/baselines/reference/parserNotRegex1.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/parserNotRegex1.ts === + if (a.indexOf(-(4/3))) // We should not get a regex here because of the / in the comment. -No type information for this code. { -No type information for this code. return true; -No type information for this code. } -No type information for this code. \ No newline at end of file + { + return true; + } diff --git a/tests/baselines/reference/parserObjectCreation2.symbols b/tests/baselines/reference/parserObjectCreation2.symbols index d330c8f8c79a4..9362c353c8e49 100644 --- a/tests/baselines/reference/parserObjectCreation2.symbols +++ b/tests/baselines/reference/parserObjectCreation2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Expressions/parserObjectCreation2.ts === + new new Foo()() -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral1.symbols b/tests/baselines/reference/parserObjectCreationArrayLiteral1.symbols index ad40aba3472da..df294c46cc222 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral1.symbols +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserObjectCreationArrayLiteral1.ts === + new Foo[]; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral2.symbols b/tests/baselines/reference/parserObjectCreationArrayLiteral2.symbols index cd418ac9ad5e9..2ccb962caceea 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral2.symbols +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserObjectCreationArrayLiteral2.ts === + new Foo[1]; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral3.symbols b/tests/baselines/reference/parserObjectCreationArrayLiteral3.symbols index 01e1e7ea7707b..7b094b105e61a 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral3.symbols +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserObjectCreationArrayLiteral3.ts === + new Foo[](); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral4.symbols b/tests/baselines/reference/parserObjectCreationArrayLiteral4.symbols index 6c9aae9def2db..fa385be7a1127 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral4.symbols +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral4.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/parserObjectCreationArrayLiteral4.ts === + new Foo[1](); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserPostfixPostfixExpression1.symbols b/tests/baselines/reference/parserPostfixPostfixExpression1.symbols index 33fa3f107d6c5..d897988e30744 100644 --- a/tests/baselines/reference/parserPostfixPostfixExpression1.symbols +++ b/tests/baselines/reference/parserPostfixPostfixExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixPostfixExpression1.ts === + a++ ++; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserPostfixUnaryExpression1.symbols b/tests/baselines/reference/parserPostfixUnaryExpression1.symbols index 884640a5232c5..17972aafe7010 100644 --- a/tests/baselines/reference/parserPostfixUnaryExpression1.symbols +++ b/tests/baselines/reference/parserPostfixUnaryExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts === + foo ++ ++; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserPublicBreak1.symbols b/tests/baselines/reference/parserPublicBreak1.symbols index a84e94b00001b..d25e5e2f952e5 100644 --- a/tests/baselines/reference/parserPublicBreak1.symbols +++ b/tests/baselines/reference/parserPublicBreak1.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserPublicBreak1.ts === + public break; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parserPublicBreak1.types b/tests/baselines/reference/parserPublicBreak1.types index a84e94b00001b..d25e5e2f952e5 100644 --- a/tests/baselines/reference/parserPublicBreak1.types +++ b/tests/baselines/reference/parserPublicBreak1.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/ErrorRecovery/parserPublicBreak1.ts === + public break; -No type information for this code. -No type information for this code. \ No newline at end of file + diff --git a/tests/baselines/reference/parserRegularExpression1.symbols b/tests/baselines/reference/parserRegularExpression1.symbols index aa65f7896d417..763703a10a618 100644 --- a/tests/baselines/reference/parserRegularExpression1.symbols +++ b/tests/baselines/reference/parserRegularExpression1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression1.ts === + return /(#?-?\d*\.\d\w*%?)|(@?#?[\w-?]+%?)/g; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserRegularExpression2.symbols b/tests/baselines/reference/parserRegularExpression2.symbols index 271c6bab984e3..b0df27d7c16c4 100644 --- a/tests/baselines/reference/parserRegularExpression2.symbols +++ b/tests/baselines/reference/parserRegularExpression2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression2.ts === + href.match(/:\/\/(.[^/]+)/)[1]; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserRegularExpression3.symbols b/tests/baselines/reference/parserRegularExpression3.symbols index 9ceb52a0aaae6..68906fd44ad51 100644 --- a/tests/baselines/reference/parserRegularExpression3.symbols +++ b/tests/baselines/reference/parserRegularExpression3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpression3.ts === + Foo(!/(\\?|&)adurl=/); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.symbols b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.symbols index d0e33cc7490d3..f7a0b957f3ec6 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.symbols +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity1.ts === + 1 -No type information for this code./notregexp/a.foo(); -No type information for this code. \ No newline at end of file +/notregexp/a.foo(); diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.symbols b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.symbols index 5f42afd8fc98c..1f0e3cd0f1731 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.symbols +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity2.ts === + (1) /notregexp/a.foo(); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.symbols b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.symbols index 612d19539eb25..54f0b01177e5c 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.symbols +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity3.ts === + if (1) /regexp/a.foo(); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.symbols b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.symbols index 63d3a1c3b7408..bf3a44dfb40f3 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.symbols +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity4.ts === + foo(/notregexp); -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.symbols b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.symbols index 24d45924e5c0c..3fc2f95327d76 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.symbols +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.symbols @@ -1,5 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/RegularExpressions/parserRegularExpressionDivideAmbiguity7.ts === + (a/8 -No type information for this code. ){} -No type information for this code. -No type information for this code. \ No newline at end of file + ){} + diff --git a/tests/baselines/reference/parserReturnStatement1.d.symbols b/tests/baselines/reference/parserReturnStatement1.d.symbols index 17e5e2bbf1773..0fc0260f1c138 100644 --- a/tests/baselines/reference/parserReturnStatement1.d.symbols +++ b/tests/baselines/reference/parserReturnStatement1.d.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserReturnStatement1.d.ts === + return; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserReturnStatement1.d.types b/tests/baselines/reference/parserReturnStatement1.d.types index 17e5e2bbf1773..0fc0260f1c138 100644 --- a/tests/baselines/reference/parserReturnStatement1.d.types +++ b/tests/baselines/reference/parserReturnStatement1.d.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserReturnStatement1.d.ts === + return; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserReturnStatement1.symbols b/tests/baselines/reference/parserReturnStatement1.symbols index c52b8bb407da9..45ef7704898fc 100644 --- a/tests/baselines/reference/parserReturnStatement1.symbols +++ b/tests/baselines/reference/parserReturnStatement1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement1.ts === + return; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserReturnStatement1.types b/tests/baselines/reference/parserReturnStatement1.types index c52b8bb407da9..45ef7704898fc 100644 --- a/tests/baselines/reference/parserReturnStatement1.types +++ b/tests/baselines/reference/parserReturnStatement1.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement1.ts === + return; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserReturnStatement2.symbols b/tests/baselines/reference/parserReturnStatement2.symbols index c1f72a7ce8129..3ae5d74b75760 100644 --- a/tests/baselines/reference/parserReturnStatement2.symbols +++ b/tests/baselines/reference/parserReturnStatement2.symbols @@ -1,5 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement2.ts === { -No type information for this code. return; -No type information for this code.} -No type information for this code. \ No newline at end of file + return; +} diff --git a/tests/baselines/reference/parserReturnStatement2.types b/tests/baselines/reference/parserReturnStatement2.types index c1f72a7ce8129..3ae5d74b75760 100644 --- a/tests/baselines/reference/parserReturnStatement2.types +++ b/tests/baselines/reference/parserReturnStatement2.types @@ -1,5 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement2.ts === { -No type information for this code. return; -No type information for this code.} -No type information for this code. \ No newline at end of file + return; +} diff --git a/tests/baselines/reference/parserS7.6.1.1_A1.10.symbols b/tests/baselines/reference/parserS7.6.1.1_A1.10.symbols index 28441e36fe60e..61a8dd8dd4f8d 100644 --- a/tests/baselines/reference/parserS7.6.1.1_A1.10.symbols +++ b/tests/baselines/reference/parserS7.6.1.1_A1.10.symbols @@ -1,16 +1,16 @@ === tests/cases/conformance/parser/ecmascript5/parserS7.6.1.1_A1.10.ts === + // Copyright 2009 the Sputnik authors. All rights reserved. -No type information for this code.// This code is governed by the BSD license found in the LICENSE file. -No type information for this code. -No type information for this code./** -No type information for this code. * The "for" token can not be used as identifier -No type information for this code. * -No type information for this code. * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js -No type information for this code. * @description Checking if execution of "for=1" fails -No type information for this code. * @negative -No type information for this code. */ -No type information for this code. -No type information for this code.//for = 1; -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file +// This code is governed by the BSD license found in the LICENSE file. + +/** + * The "for" token can not be used as identifier + * + * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js + * @description Checking if execution of "for=1" fails + * @negative + */ + +//for = 1; + + diff --git a/tests/baselines/reference/parserS7.6.1.1_A1.10.types b/tests/baselines/reference/parserS7.6.1.1_A1.10.types index 28441e36fe60e..61a8dd8dd4f8d 100644 --- a/tests/baselines/reference/parserS7.6.1.1_A1.10.types +++ b/tests/baselines/reference/parserS7.6.1.1_A1.10.types @@ -1,16 +1,16 @@ === tests/cases/conformance/parser/ecmascript5/parserS7.6.1.1_A1.10.ts === + // Copyright 2009 the Sputnik authors. All rights reserved. -No type information for this code.// This code is governed by the BSD license found in the LICENSE file. -No type information for this code. -No type information for this code./** -No type information for this code. * The "for" token can not be used as identifier -No type information for this code. * -No type information for this code. * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js -No type information for this code. * @description Checking if execution of "for=1" fails -No type information for this code. * @negative -No type information for this code. */ -No type information for this code. -No type information for this code.//for = 1; -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file +// This code is governed by the BSD license found in the LICENSE file. + +/** + * The "for" token can not be used as identifier + * + * @path ch07/7.6/7.6.1/7.6.1.1/S7.6.1.1_A1.10.js + * @description Checking if execution of "for=1" fails + * @negative + */ + +//for = 1; + + diff --git a/tests/baselines/reference/parserSbp_7.9_A9_T3.symbols b/tests/baselines/reference/parserSbp_7.9_A9_T3.symbols index 0d6df58ed39f3..23565ec507c9a 100644 --- a/tests/baselines/reference/parserSbp_7.9_A9_T3.symbols +++ b/tests/baselines/reference/parserSbp_7.9_A9_T3.symbols @@ -1,18 +1,18 @@ === tests/cases/conformance/parser/ecmascript5/parserSbp_7.9_A9_T3.ts === + // Copyright 2009 the Sputnik authors. All rights reserved. -No type information for this code.// This code is governed by the BSD license found in the LICENSE file. -No type information for this code. -No type information for this code./** -No type information for this code. * Check Do-While Statement for automatic semicolon insertion -No type information for this code. * -No type information for this code. * @path bestPractice/Sbp_7.9_A9_T3.js -No type information for this code. * @description Execute do { \n ; \n }while(false) true -No type information for this code. */ -No type information for this code. -No type information for this code.//CHECK#1 -No type information for this code.do { -No type information for this code. ; -No type information for this code.} while (false) true -No type information for this code. -No type information for this code. -No type information for this code. \ No newline at end of file +// This code is governed by the BSD license found in the LICENSE file. + +/** + * Check Do-While Statement for automatic semicolon insertion + * + * @path bestPractice/Sbp_7.9_A9_T3.js + * @description Execute do { \n ; \n }while(false) true + */ + +//CHECK#1 +do { + ; +} while (false) true + + diff --git a/tests/baselines/reference/parserSkippedTokens1.symbols b/tests/baselines/reference/parserSkippedTokens1.symbols index 5d3067ff63d9a..558b81991cfd4 100644 --- a/tests/baselines/reference/parserSkippedTokens1.symbols +++ b/tests/baselines/reference/parserSkippedTokens1.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens1.ts === + \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens1.types b/tests/baselines/reference/parserSkippedTokens1.types index 5d3067ff63d9a..558b81991cfd4 100644 --- a/tests/baselines/reference/parserSkippedTokens1.types +++ b/tests/baselines/reference/parserSkippedTokens1.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens1.ts === + \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens10.symbols b/tests/baselines/reference/parserSkippedTokens10.symbols index c6a472340df73..ad3d2cae88b4c 100644 --- a/tests/baselines/reference/parserSkippedTokens10.symbols +++ b/tests/baselines/reference/parserSkippedTokens10.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens10.ts === + \ -No type information for this code.\ -No type information for this code./*existing trivia*/ ; -No type information for this code. -No type information for this code. \ No newline at end of file +\ +/*existing trivia*/ ; + diff --git a/tests/baselines/reference/parserSkippedTokens10.types b/tests/baselines/reference/parserSkippedTokens10.types index c6a472340df73..ad3d2cae88b4c 100644 --- a/tests/baselines/reference/parserSkippedTokens10.types +++ b/tests/baselines/reference/parserSkippedTokens10.types @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens10.ts === + \ -No type information for this code.\ -No type information for this code./*existing trivia*/ ; -No type information for this code. -No type information for this code. \ No newline at end of file +\ +/*existing trivia*/ ; + diff --git a/tests/baselines/reference/parserSkippedTokens11.symbols b/tests/baselines/reference/parserSkippedTokens11.symbols index f6b22767dacc4..9fc20f657a318 100644 --- a/tests/baselines/reference/parserSkippedTokens11.symbols +++ b/tests/baselines/reference/parserSkippedTokens11.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts === + ; \ \ \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens11.types b/tests/baselines/reference/parserSkippedTokens11.types index f6b22767dacc4..9fc20f657a318 100644 --- a/tests/baselines/reference/parserSkippedTokens11.types +++ b/tests/baselines/reference/parserSkippedTokens11.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens11.ts === + ; \ \ \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens12.symbols b/tests/baselines/reference/parserSkippedTokens12.symbols index e186861446b0f..972682f0019c8 100644 --- a/tests/baselines/reference/parserSkippedTokens12.symbols +++ b/tests/baselines/reference/parserSkippedTokens12.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts === + \ \ \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens12.types b/tests/baselines/reference/parserSkippedTokens12.types index e186861446b0f..972682f0019c8 100644 --- a/tests/baselines/reference/parserSkippedTokens12.types +++ b/tests/baselines/reference/parserSkippedTokens12.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens12.ts === + \ \ \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens13.symbols b/tests/baselines/reference/parserSkippedTokens13.symbols index 393f530817d12..b03d100117a7a 100644 --- a/tests/baselines/reference/parserSkippedTokens13.symbols +++ b/tests/baselines/reference/parserSkippedTokens13.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens13.ts === + /regexp/ \ ; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens14.symbols b/tests/baselines/reference/parserSkippedTokens14.symbols index 5d012f037e474..ce318babc4ec9 100644 --- a/tests/baselines/reference/parserSkippedTokens14.symbols +++ b/tests/baselines/reference/parserSkippedTokens14.symbols @@ -1,7 +1,7 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens14.ts === + \ -No type information for this code./*existing trivia*/ -No type information for this code.\ -No type information for this code.; -No type information for this code. -No type information for this code. \ No newline at end of file +/*existing trivia*/ +\ +; + diff --git a/tests/baselines/reference/parserSkippedTokens14.types b/tests/baselines/reference/parserSkippedTokens14.types index 5d012f037e474..ce318babc4ec9 100644 --- a/tests/baselines/reference/parserSkippedTokens14.types +++ b/tests/baselines/reference/parserSkippedTokens14.types @@ -1,7 +1,7 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens14.ts === + \ -No type information for this code./*existing trivia*/ -No type information for this code.\ -No type information for this code.; -No type information for this code. -No type information for this code. \ No newline at end of file +/*existing trivia*/ +\ +; + diff --git a/tests/baselines/reference/parserSkippedTokens15.symbols b/tests/baselines/reference/parserSkippedTokens15.symbols index bba1c75e5a62f..754ac711647b5 100644 --- a/tests/baselines/reference/parserSkippedTokens15.symbols +++ b/tests/baselines/reference/parserSkippedTokens15.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens15.ts === + /*existing trivia*/ -No type information for this code.\ -No type information for this code.\ -No type information for this code.; -No type information for this code. \ No newline at end of file +\ +\ +; diff --git a/tests/baselines/reference/parserSkippedTokens15.types b/tests/baselines/reference/parserSkippedTokens15.types index bba1c75e5a62f..754ac711647b5 100644 --- a/tests/baselines/reference/parserSkippedTokens15.types +++ b/tests/baselines/reference/parserSkippedTokens15.types @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens15.ts === + /*existing trivia*/ -No type information for this code.\ -No type information for this code.\ -No type information for this code.; -No type information for this code. \ No newline at end of file +\ +\ +; diff --git a/tests/baselines/reference/parserSkippedTokens17.symbols b/tests/baselines/reference/parserSkippedTokens17.symbols index ba8bf57d861de..36404e8938e95 100644 --- a/tests/baselines/reference/parserSkippedTokens17.symbols +++ b/tests/baselines/reference/parserSkippedTokens17.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens17.ts === + foo(a, \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens18.symbols b/tests/baselines/reference/parserSkippedTokens18.symbols index 9a6dda1785725..9d95c62caa554 100644 --- a/tests/baselines/reference/parserSkippedTokens18.symbols +++ b/tests/baselines/reference/parserSkippedTokens18.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens18.ts === + foo(a \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens2.symbols b/tests/baselines/reference/parserSkippedTokens2.symbols index da06e11c608e4..9849d70b00698 100644 --- a/tests/baselines/reference/parserSkippedTokens2.symbols +++ b/tests/baselines/reference/parserSkippedTokens2.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens2.ts === + \\ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens2.types b/tests/baselines/reference/parserSkippedTokens2.types index da06e11c608e4..9849d70b00698 100644 --- a/tests/baselines/reference/parserSkippedTokens2.types +++ b/tests/baselines/reference/parserSkippedTokens2.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens2.ts === + \\ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens3.symbols b/tests/baselines/reference/parserSkippedTokens3.symbols index 2e869695f3677..9db7df9e0dabe 100644 --- a/tests/baselines/reference/parserSkippedTokens3.symbols +++ b/tests/baselines/reference/parserSkippedTokens3.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens3.ts === + \ ; \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens3.types b/tests/baselines/reference/parserSkippedTokens3.types index 2e869695f3677..9db7df9e0dabe 100644 --- a/tests/baselines/reference/parserSkippedTokens3.types +++ b/tests/baselines/reference/parserSkippedTokens3.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens3.ts === + \ ; \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens4.symbols b/tests/baselines/reference/parserSkippedTokens4.symbols index 05934fd7d57f6..2cb1c3ed572eb 100644 --- a/tests/baselines/reference/parserSkippedTokens4.symbols +++ b/tests/baselines/reference/parserSkippedTokens4.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens4.ts === + \ /regexp/; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens5.symbols b/tests/baselines/reference/parserSkippedTokens5.symbols index d56013b763868..ca4dae81fa14f 100644 --- a/tests/baselines/reference/parserSkippedTokens5.symbols +++ b/tests/baselines/reference/parserSkippedTokens5.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens5.ts === + \ /*foo*/ ; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens5.types b/tests/baselines/reference/parserSkippedTokens5.types index d56013b763868..ca4dae81fa14f 100644 --- a/tests/baselines/reference/parserSkippedTokens5.types +++ b/tests/baselines/reference/parserSkippedTokens5.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens5.ts === + \ /*foo*/ ; -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens6.symbols b/tests/baselines/reference/parserSkippedTokens6.symbols index 5510d17f4e67b..f67cd3f6747b0 100644 --- a/tests/baselines/reference/parserSkippedTokens6.symbols +++ b/tests/baselines/reference/parserSkippedTokens6.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens6.ts === + /*foo*/ \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens6.types b/tests/baselines/reference/parserSkippedTokens6.types index 5510d17f4e67b..f67cd3f6747b0 100644 --- a/tests/baselines/reference/parserSkippedTokens6.types +++ b/tests/baselines/reference/parserSkippedTokens6.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens6.ts === + /*foo*/ \ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens7.symbols b/tests/baselines/reference/parserSkippedTokens7.symbols index 50f7807483db8..a91924d100213 100644 --- a/tests/baselines/reference/parserSkippedTokens7.symbols +++ b/tests/baselines/reference/parserSkippedTokens7.symbols @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens7.ts === + /*foo*/ \ /*bar*/ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens7.types b/tests/baselines/reference/parserSkippedTokens7.types index 50f7807483db8..a91924d100213 100644 --- a/tests/baselines/reference/parserSkippedTokens7.types +++ b/tests/baselines/reference/parserSkippedTokens7.types @@ -1,3 +1,3 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens7.ts === + /*foo*/ \ /*bar*/ -No type information for this code. \ No newline at end of file diff --git a/tests/baselines/reference/parserSkippedTokens8.symbols b/tests/baselines/reference/parserSkippedTokens8.symbols index cb308915ad1f0..57997738b7a18 100644 --- a/tests/baselines/reference/parserSkippedTokens8.symbols +++ b/tests/baselines/reference/parserSkippedTokens8.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens8.ts === + ; -No type information for this code./*foo*/ \ /*bar*/ -No type information for this code. \ No newline at end of file +/*foo*/ \ /*bar*/ diff --git a/tests/baselines/reference/parserSkippedTokens8.types b/tests/baselines/reference/parserSkippedTokens8.types index cb308915ad1f0..57997738b7a18 100644 --- a/tests/baselines/reference/parserSkippedTokens8.types +++ b/tests/baselines/reference/parserSkippedTokens8.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens8.ts === + ; -No type information for this code./*foo*/ \ /*bar*/ -No type information for this code. \ No newline at end of file +/*foo*/ \ /*bar*/ diff --git a/tests/baselines/reference/parserSkippedTokens9.symbols b/tests/baselines/reference/parserSkippedTokens9.symbols index be1df55a86102..08c7d0723dc8e 100644 --- a/tests/baselines/reference/parserSkippedTokens9.symbols +++ b/tests/baselines/reference/parserSkippedTokens9.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens9.ts === + ; // existing trivia -No type information for this code./*foo*/ \ /*bar*/ -No type information for this code. \ No newline at end of file +/*foo*/ \ /*bar*/ diff --git a/tests/baselines/reference/parserSkippedTokens9.types b/tests/baselines/reference/parserSkippedTokens9.types index be1df55a86102..08c7d0723dc8e 100644 --- a/tests/baselines/reference/parserSkippedTokens9.types +++ b/tests/baselines/reference/parserSkippedTokens9.types @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/SkippedTokens/parserSkippedTokens9.ts === + ; // existing trivia -No type information for this code./*foo*/ \ /*bar*/ -No type information for this code. \ No newline at end of file +/*foo*/ \ /*bar*/ diff --git a/tests/baselines/reference/parserStrictMode1.symbols b/tests/baselines/reference/parserStrictMode1.symbols index cd7e01f328f81..b55c6a038d98b 100644 --- a/tests/baselines/reference/parserStrictMode1.symbols +++ b/tests/baselines/reference/parserStrictMode1.symbols @@ -1,6 +1,6 @@ === tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode1.ts === + foo1(); -No type information for this code.foo1(); -No type information for this code.foo1(); -No type information for this code.static(); -No type information for this code. \ No newline at end of file +foo1(); +foo1(); +static(); diff --git a/tests/baselines/reference/parserStrictMode14.symbols b/tests/baselines/reference/parserStrictMode14.symbols index 838d4f17cc10f..684907dd3fd85 100644 --- a/tests/baselines/reference/parserStrictMode14.symbols +++ b/tests/baselines/reference/parserStrictMode14.symbols @@ -1,5 +1,5 @@ === tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode14.ts === + "use strict"; -No type information for this code.with (a) { -No type information for this code.} -No type information for this code. \ No newline at end of file +with (a) { +} diff --git a/tests/baselines/reference/parserStrictMode15-negative.symbols b/tests/baselines/reference/parserStrictMode15-negative.symbols index dd16cddc2fd2d..7f95f750e9112 100644 --- a/tests/baselines/reference/parserStrictMode15-negative.symbols +++ b/tests/baselines/reference/parserStrictMode15-negative.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode15-negative.ts === + "use strict"; -No type information for this code.delete a[b]; -No type information for this code. \ No newline at end of file +delete a[b]; diff --git a/tests/baselines/reference/parserStrictMode15.symbols b/tests/baselines/reference/parserStrictMode15.symbols index 0975f90637324..b731fde7ba4bd 100644 --- a/tests/baselines/reference/parserStrictMode15.symbols +++ b/tests/baselines/reference/parserStrictMode15.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode15.ts === + "use strict"; -No type information for this code.delete a; -No type information for this code. \ No newline at end of file +delete a; diff --git a/tests/baselines/reference/parserStrictMode2.symbols b/tests/baselines/reference/parserStrictMode2.symbols index 5494058c85222..e16b734c2c510 100644 --- a/tests/baselines/reference/parserStrictMode2.symbols +++ b/tests/baselines/reference/parserStrictMode2.symbols @@ -1,7 +1,7 @@ === tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode2.ts === + "use strict"; -No type information for this code.foo1(); -No type information for this code.foo1(); -No type information for this code.foo1(); -No type information for this code.static(); -No type information for this code. \ No newline at end of file +foo1(); +foo1(); +foo1(); +static(); diff --git a/tests/baselines/reference/parserStrictMode4.symbols b/tests/baselines/reference/parserStrictMode4.symbols index f56038dfb12f6..582dc9750eb00 100644 --- a/tests/baselines/reference/parserStrictMode4.symbols +++ b/tests/baselines/reference/parserStrictMode4.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/StrictMode/parserStrictMode4.ts === + "use strict"; -No type information for this code.arguments = 1; -No type information for this code. \ No newline at end of file +arguments = 1; diff --git a/tests/baselines/reference/parserSwitchStatement1.d.symbols b/tests/baselines/reference/parserSwitchStatement1.d.symbols index 2d3a91abc5595..426f4f805b7b9 100644 --- a/tests/baselines/reference/parserSwitchStatement1.d.symbols +++ b/tests/baselines/reference/parserSwitchStatement1.d.symbols @@ -1,4 +1,4 @@ === tests/cases/conformance/parser/ecmascript5/Statements/parserSwitchStatement1.d.ts === + switch (foo) { -No type information for this code.} -No type information for this code. \ No newline at end of file +} diff --git a/tests/baselines/reference/parserSyntaxWalker.generated.symbols b/tests/baselines/reference/parserSyntaxWalker.generated.symbols index dde34e067469d..d8a94df025f25 100644 --- a/tests/baselines/reference/parserSyntaxWalker.generated.symbols +++ b/tests/baselines/reference/parserSyntaxWalker.generated.symbols @@ -1,281 +1,281 @@ === tests/cases/conformance/parser/ecmascript5/parserSyntaxWalker.generated.ts === + //declare module "fs" { -No type information for this code.// export class File { -No type information for this code.// constructor(filename: string); -No type information for this code.// public ReadAllText(): string; -No type information for this code.// } -No type information for this code.// export interface IFile { -No type information for this code.// [index: number]: string; -No type information for this code.// } -No type information for this code.//} -No type information for this code. -No type information for this code.//import fs = module("fs"); -No type information for this code. -No type information for this code. -No type information for this code.//module TypeScriptAllInOne { -No type information for this code.// export class Program { -No type information for this code.// static Main(...args: string[]) { -No type information for this code.// try { -No type information for this code.// var bfs = new BasicFeatures(); -No type information for this code.// var retValue: number = 0; -No type information for this code. -No type information for this code.// retValue = bfs.VARIABLES(); -No type information for this code.// if (retValue != 0) { -No type information for this code. -No type information for this code.// return 1; -No type information for this code.// } -No type information for this code. -No type information for this code.// retValue = bfs.STATEMENTS(4); -No type information for this code.// if (retValue != 0) { -No type information for this code. -No type information for this code.// return 1; -No type information for this code.// } -No type information for this code. -No type information for this code. -No type information for this code.// retValue = bfs.TYPES(); -No type information for this code.// if (retValue != 0) { -No type information for this code. -No type information for this code.// return 1; -No type information for this code.// } -No type information for this code. -No type information for this code.// retValue = bfs.OPERATOR(); -No type information for this code.// if (retValue != 0) { -No type information for this code. -No type information for this code.// return 1; -No type information for this code.// } -No type information for this code.// } -No type information for this code.// catch (e) { -No type information for this code.// console.log(e); -No type information for this code.// } -No type information for this code.// finally { -No type information for this code. -No type information for this code.// } -No type information for this code. -No type information for this code.// console.log('Done'); -No type information for this code. -No type information for this code.// return 0; -No type information for this code. -No type information for this code.// } -No type information for this code.// } -No type information for this code. -No type information for this code.// class BasicFeatures { -No type information for this code.// /// -No type information for this code.// /// Test various of variables. Including nullable,key world as variable,special format -No type information for this code.// /// -No type information for this code.// /// -No type information for this code.// public VARIABLES(): number { -No type information for this code.// var local = Number.MAX_VALUE; -No type information for this code.// var min = Number.MIN_VALUE; -No type information for this code.// var inf = Number.NEGATIVE_INFINITY; -No type information for this code.// var nan = Number.NaN; -No type information for this code.// var undef = undefined; -No type information for this code. -No type information for this code.// var п = local; -No type information for this code.// var м = local; -No type information for this code. -No type information for this code.// var local5 = null; -No type information for this code.// var local6 = local5 instanceof fs.File; -No type information for this code. -No type information for this code.// var hex = 0xBADC0DE, Hex = 0XDEADBEEF; -No type information for this code.// var float = 6.02e23, float2 = 6.02E-23 -No type information for this code.// var char = 'c', \u0066 = '\u0066', hexchar = '\x42'; -No type information for this code.// var quoted = '"', quoted2 = "'"; -No type information for this code.// var reg = /\w*/; -No type information for this code.// var objLit = { "var": number = 42, equals: function (x) { return x["var"] === 42; }, toString: () => 'objLit{42}' }; -No type information for this code.// var weekday = Weekdays.Monday; -No type information for this code. -No type information for this code.// var con = char + f + hexchar + float.toString() + float2.toString() + reg.toString() + objLit + weekday; -No type information for this code. -No type information for this code.// // -No type information for this code.// var any = 0; -No type information for this code.// var boolean = 0; -No type information for this code.// var declare = 0; -No type information for this code.// var constructor = 0; -No type information for this code.// var get = 0; -No type information for this code.// var implements = 0; -No type information for this code.// var interface = 0; -No type information for this code.// var let = 0; -No type information for this code.// var module = 0; -No type information for this code.// var number = 0; -No type information for this code.// var package = 0; -No type information for this code.// var private = 0; -No type information for this code.// var protected = 0; -No type information for this code.// var public = 0; -No type information for this code.// var set = 0; -No type information for this code.// var static = 0; -No type information for this code.// var string = 0; -No type information for this code.// var yield = 0; -No type information for this code. -No type information for this code.// var sum3 = any + boolean + declare + constructor + get + implements + interface + let + module + number + package + private + protected + public + set + static + string + yield; -No type information for this code. -No type information for this code.// return 0; -No type information for this code.// } -No type information for this code. -No type information for this code.// /// -No type information for this code.// /// Test different statements. Including if-else,swith,foreach,(un)checked,lock,using,try-catch-finally -No type information for this code.// /// -No type information for this code.// /// -No type information for this code.// /// -No type information for this code.// STATEMENTS(i: number): number { -No type information for this code.// var retVal = 0; -No type information for this code.// if (i == 1) -No type information for this code.// retVal = 1; -No type information for this code.// else -No type information for this code.// retVal = 0; -No type information for this code.// switch (i) { -No type information for this code.// case 2: -No type information for this code.// retVal = 1; -No type information for this code.// break; -No type information for this code.// case 3: -No type information for this code.// retVal = 1; -No type information for this code.// break; -No type information for this code.// default: -No type information for this code.// break; -No type information for this code.// } -No type information for this code. -No type information for this code.// for (var x in { x: 0, y: 1 }) { -No type information for this code.// } -No type information for this code. -No type information for this code.// try { -No type information for this code.// throw null; -No type information for this code.// } -No type information for this code.// catch (Exception) { -No type information for this code.// } -No type information for this code.// finally { -No type information for this code.// try { } -No type information for this code.// catch (Exception) { } -No type information for this code.// } -No type information for this code. -No type information for this code.// return retVal; -No type information for this code.// } -No type information for this code. -No type information for this code.// /// -No type information for this code.// /// Test types in ts language. Including class,struct,interface,delegate,anonymous type -No type information for this code.// /// -No type information for this code.// /// -No type information for this code.// public TYPES(): number { -No type information for this code.// var retVal = 0; -No type information for this code.// var c = new CLASS(); -No type information for this code.// var xx: IF = c; -No type information for this code.// retVal += c.Property; -No type information for this code.// retVal += c.Member(); -No type information for this code.// retVal += xx ^= Foo() ? 0 : 1; -No type information for this code. -No type information for this code.// //anonymous type -No type information for this code.// var anony = { a: new CLASS() }; -No type information for this code. -No type information for this code.// retVal += anony.a.d(); -No type information for this code. -No type information for this code.// return retVal; -No type information for this code.// } -No type information for this code. -No type information for this code. -No type information for this code.// ///// -No type information for this code.// ///// Test different operators -No type information for this code.// ///// -No type information for this code.// ///// -No type information for this code.// public OPERATOR(): number { -No type information for this code.// var a: number[] = [1, 2, 3, 4, implements , ];/*[] bug*/ // YES [] -No type information for this code.// var i = a[1];/*[]*/ -No type information for this code.// i = i + i - i * i / i % i & i | i ^ i;/*+ - * / % & | ^*/ -No type information for this code.// var b = true && false || true ^ false;/*& | ^*/ -No type information for this code.// b = !b;/*!*/ -No type information for this code.// i = ~i;/*~i*/ -No type information for this code.// b = i < (i - continue ) && (i + 1) > i;/*< && >*/ -No type information for this code.// var f = true ? 1 : 0;/*? :*/ // YES : -No type information for this code.// i++;/*++*/ -No type information for this code.// i--;/*--*/ -No type information for this code.// b = true && false || true;/*&& ||*/ -No type information for this code.// i = i << 5;/*<<*/ -No type information for this code.// i = i >> 5;/*>>*/ -No type information for this code.// var j = i; -No type information for this code.// b = i == j && i != j && i <= j && i >= j;/*= == && != <= >=*/ -No type information for this code.// i += 5.0;/*+=*/ -No type information for this code.// i -= i;/*-=*/ -No type information for this code.// i *= i;/**=*/ -No type information for this code.// if (i == 0) -No type information for this code.// i++; -No type information for this code.// i /= i;/*/=*/ -No type information for this code.// i %= i;/*%=*/ -No type information for this code.// i &= i;/*&=*/ -No type information for this code.// i |= i;/*|=*/ -No type information for this code.// i ^= i;/*^=*/ -No type information for this code.// i <<= i;/*<<=*/ -No type information for this code.// i >>= i;/*>>=*/ -No type information for this code. -No type information for this code.// if (i == 0 && !b && f == 1) -No type information for this code.// return 0; -No type information for this code.// else return 1; -No type information for this code.// } -No type information for this code. -No type information for this code.// } -No type information for this code. -No type information for this code.// interface IF { -No type information for this code.// Foo