Skip to content

Commit 64185f3

Browse files
committed
fix internal type declaration
1 parent e677be2 commit 64185f3

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/compiler/emitter.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
namespace ts {
22
const brackets = createBracketsMap();
33

4-
/*@internal*/
54
/**
65
* Iterates over the source files that are expected to have an emit output.
76
*
@@ -11,6 +10,7 @@ namespace ts {
1110
* If an array, the full list of source files to emit.
1211
* Else, calls `getSourceFilesToEmit` with the (optional) target source file to determine the list of source files to emit.
1312
*/
13+
/*@internal*/
1414
export function forEachEmittedFile<T>(
1515
host: EmitHost, action: (emitFileNames: EmitFileNames, sourceFileOrBundle: SourceFile | Bundle) => T,
1616
sourceFilesOrTargetSourceFile?: ReadonlyArray<SourceFile> | SourceFile,
@@ -80,8 +80,8 @@ namespace ts {
8080
return Extension.Js;
8181
}
8282

83-
/*@internal*/
8483
// targetSourceFile is when users only want one file in entire project to be emitted. This is used in compileOnSave feature
84+
/*@internal*/
8585
export function emitFiles(resolver: EmitResolver, host: EmitHost, targetSourceFile: SourceFile, emitOnlyDtsFiles?: boolean, transformers?: TransformerFactory<SourceFile>[]): EmitResult {
8686
const compilerOptions = host.getCompilerOptions();
8787
const sourceMapDataList: SourceMapData[] = (compilerOptions.sourceMap || compilerOptions.inlineSourceMap || getAreDeclarationMapsEnabled(compilerOptions)) ? [] : undefined;

src/compiler/types.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -760,8 +760,8 @@ namespace ts {
760760
name: ComputedPropertyName;
761761
}
762762

763-
/* @internal */
764763
// A declaration that supports late-binding (used in checker)
764+
/* @internal */
765765
export interface LateBoundDeclaration extends DynamicNamedDeclaration {
766766
name: LateBoundName;
767767
}
@@ -775,8 +775,8 @@ namespace ts {
775775
expression: Expression;
776776
}
777777

778-
/* @internal */
779778
// A name that supports late-binding (used in checker)
779+
/* @internal */
780780
export interface LateBoundName extends ComputedPropertyName {
781781
expression: EntityNameExpression;
782782
}
@@ -3781,8 +3781,8 @@ namespace ts {
37813781

37823782
export type StructuredType = ObjectType | UnionType | IntersectionType;
37833783

3784-
/* @internal */
37853784
// An instantiated anonymous type has a target and a mapper
3785+
/* @internal */
37863786
export interface AnonymousType extends ObjectType {
37873787
target?: AnonymousType; // Instantiation target
37883788
mapper?: TypeMapper; // Instantiation mapper
@@ -3808,8 +3808,8 @@ namespace ts {
38083808
mappedType: MappedType;
38093809
}
38103810

3811-
/* @internal */
38123811
// Resolved object, union, or intersection type
3812+
/* @internal */
38133813
export interface ResolvedType extends ObjectType, UnionOrIntersectionType {
38143814
members: SymbolTable; // Properties by name
38153815
properties: Symbol[]; // Properties

0 commit comments

Comments
 (0)