-
Notifications
You must be signed in to change notification settings - Fork 13k
Closed
Labels
RevisitAn issue worth coming back toAn issue worth coming back to
Description
typescriptServices cannot export a declaration file: there are many issues which only surface when --declaration is added to the command line.
(this worked some time ago, when this file was called services.js).
node built/local/tsc.js -removeComments --module commonjs -noImplicitAny --declaration src/compiler/core.ts src/compiler/sys.ts src/compiler/types.ts src/compiler/scanner.ts src/compiler/parser.ts src/compiler/binder.ts src/compiler/checker.ts src/compiler/emitter.ts src/services/services.ts src/services/shims.ts -out built/local/typescriptServices.js
src/services/breakpoints.ts(1078,21): Return type of exported function has or is using private name 'ts.SpanInfo'.
src/services/compiler/bloomFilter.ts(84,24): Parameter 'keys' of public method from exported class has or is using private name 'ts.Map'.
src/services/compiler/hashTable.ts(42,21): Return type of exported function has or is using private name 'ts.Map'.
src/services/core/diagnosticCore.ts(4,16): Exported variable 'LocalizedDiagnosticMessages' has or is using private name 'ts.Map'.
src/services/formatting/formattingManager.ts(22,124): Parameter 'editorOptions' of constructor from exported class has or is using private name 'ts.EditorOptions'.
src/services/formatting/formattingManager.ts(28,16): Return type of public method from exported class has or is using private name 'ts.TextEdit'.
src/services/formatting/formattingManager.ts(33,16): Return type of public method from exported class has or is using private name 'ts.TextEdit'.
src/services/formatting/formattingManager.ts(38,16): Return type of public method from exported class has or is using private name 'ts.TextEdit'.
src/services/formatting/formattingManager.ts(43,16): Return type of public method from exported class has or is using private name 'ts.TextEdit'.
src/services/formatting/formattingManager.ts(66,16): Return type of public method from exported class has or is using private name 'ts.TextEdit'.
src/services/formatting/formattingManager.ts(89,16): Return type of public method from exported class has or is using private name 'ts.TextEdit'.
src/services/formatting/rulesProvider.ts(41,31): Parameter 'options' of public method from exported class has or is using private name 'ts.FormatCodeOptions'.
src/services/getScriptLexicalStructureWalker.ts(70,52): Parameter 'items' of public static method from exported class has or is using private name 'ts.NavigateToItem'.
src/services/outliningElementsCollector.ts(29,9): Property 'textSpan' of exported interface has or is using private name 'TypeScript.TextSpan'.
src/services/outliningElementsCollector.ts(30,9): Property 'hintSpan' of exported interface has or is using private name 'TypeScript.TextSpan'.
src/services/resources/diagnosticInformationMap.generated.ts(4,16): Exported variable 'diagnosticInformationMap' has or is using private name 'ts.Map'.
src/services/services.ts(72,9): Return type of method from exported interface has or is using private name 'TypeScript.SourceUnitSyntax'.
src/services/services.ts(73,9): Return type of method from exported interface has or is using private name 'TypeScript.SyntaxTree'.
src/services/services.ts(74,9): Return type of method from exported interface has or is using private name 'TypeScript.BloomFilter'.
src/services/services.ts(75,16): Parameter 'scriptSnapshot' of method from exported interface has or is using private name 'TypeScript.IScriptSnapshot'.
src/services/services.ts(75,94): Parameter 'textChangeRange' of method from exported interface has or is using private name 'TypeScript.TextChangeRange'.
src/services/services.ts(447,9): Return type of method from exported interface has or is using private name 'TypeScript.IScriptSnapshot'.
src/services/services.ts(486,9): Return type of method from exported interface has or is using private name 'TypeScript.TextSpan'.
src/services/services.ts(694,13): Parameter 'scriptSnapshot' of method from exported interface has or is using private name 'TypeScript.IScriptSnapshot'.
src/services/services.ts(703,13): Parameter 'scriptSnapshot' of method from exported interface has or is using private name 'TypeScript.IScriptSnapshot'.
src/services/services.ts(706,13): Parameter 'textChangeRange' of method from exported interface has or is using private name 'TypeScript.TextChangeRange'.
src/services/shims.ts(137,51): Parameter 'sourceText' of method from exported interface has or is using private name 'TypeScript.IScriptSnapshot'.
src/services/shims.ts(898,16): Exported variable 'TypeScriptServicesFactory' has or is using private name 'ts.TypeScriptServicesFactory'.
src/services/syntax/parser.ts(6,16): Exported variable 'syntaxFactory' has or is using private name 'TypeScript.Syntax.ISyntaxFactory'.
src/services/syntax/parser.ts(50,9): Property 'languageVersion' of exported interface has or is using private name 'ts.ScriptTarget'.
src/services/syntax/parser.ts(4378,64): Parameter 'languageVersion' of exported function has or is using private name 'ts.ScriptTarget'.
src/services/syntax/scanner.ts(335,35): Parameter 'languageVersion' of exported function has or is using private name 'ts.ScriptTarget'.
src/services/syntax/scanner.ts(1450,58): Parameter 'languageVersion' of exported function has or is using private name 'ts.ScriptTarget'.
src/services/syntax/scanner.ts(1478,77): Parameter 'languageVersion' of exported function has or is using private name 'ts.ScriptTarget'.
src/services/syntax/syntaxList.ts(5,5): Property 'separators' of exported interface has or is using private name 'TypeScript.ISyntaxToken'.
src/services/syntax/syntaxList.ts(7,5): Return type of method from exported interface has or is using private name 'TypeScript.SyntaxKind'.
src/services/syntax/syntaxList.ts(8,5): Property 'parent' of exported interface has or is using private name 'TypeScript.ISyntaxElement'.
src/services/syntax/syntaxList.ts(11,5): Return type of method from exported interface has or is using private name 'TypeScript.ISyntaxToken'.
src/services/syntax/syntaxTree.ts(26,21): Parameter 'languageVersion' of constructor from exported class has or is using private name 'ts.ScriptTarget'.
src/services/syntax/syntaxTree.ts(80,16): Return type of public method from exported class has or is using private name 'ts.ScriptTarget'.
src/services/syntax/unicode.ts(83,55): Parameter 'languageVersion' of public static method from exported class has or is using private name 'ts.ScriptTarget'.
src/services/syntax/unicode.ts(95,54): Parameter 'languageVersion' of public static method from exported class has or is using private name 'ts.ScriptTarget'.
Metadata
Metadata
Assignees
Labels
RevisitAn issue worth coming back toAn issue worth coming back to