Skip to content

Commit 13ef271

Browse files
committed
use @internal comment consistenlly
1 parent 431dce7 commit 13ef271

25 files changed

Lines changed: 30 additions & 30 deletions

src/compiler/declarationEmitter.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference path="checker.ts"/>
22

3-
/** @internal */
3+
/* @internal */
44
module ts {
55
interface ModuleElementDeclarationEmitInfo {
66
node: Node;
@@ -1561,7 +1561,7 @@ module ts {
15611561
}
15621562
}
15631563

1564-
// @internal
1564+
/* @internal */
15651565
export function writeDeclarationFile(jsFilePath: string, sourceFile: SourceFile, host: EmitHost, resolver: EmitResolver, diagnostics: Diagnostic[]) {
15661566
let emitDeclarationResult = emitDeclarations(host, resolver, diagnostics, jsFilePath, sourceFile);
15671567
// TODO(shkamat): Should we not write any declaration file if any of them can produce error,

src/compiler/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1573,15 +1573,15 @@ module ts {
15731573
(t: Type): Type;
15741574
}
15751575

1576-
// @internal
1576+
/* @internal */
15771577
export interface TypeInferences {
15781578
primary: Type[]; // Inferences made directly to a type parameter
15791579
secondary: Type[]; // Inferences made to a type parameter in a union type
15801580
isFixed: boolean; // Whether the type parameter is fixed, as defined in section 4.12.2 of the TypeScript spec
15811581
// If a type parameter is fixed, no more inferences can be made for the type parameter
15821582
}
15831583

1584-
// @internal
1584+
/* @internal */
15851585
export interface InferenceContext {
15861586
typeParameters: TypeParameter[]; // Type parameters for which inferences are made
15871587
inferUnionTypes: boolean; // Infer union types for disjoint candidates (otherwise undefinedType)
@@ -1860,7 +1860,7 @@ module ts {
18601860
newLength: number;
18611861
}
18621862

1863-
// @internal
1863+
/* @internal */
18641864
export interface DiagnosticCollection {
18651865
// Adds a diagnostic to this diagnostic collection.
18661866
add(diagnostic: Diagnostic): void;

src/compiler/utilities.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference path="binder.ts" />
22

3-
/** @internal */
3+
/* @internal */
44
module ts {
55
export interface ReferencePathMatchResult {
66
fileReference?: FileReference
@@ -1379,7 +1379,7 @@ module ts {
13791379
return node;
13801380
}
13811381

1382-
// @internal
1382+
/* @internal */
13831383
export function createDiagnosticCollection(): DiagnosticCollection {
13841384
let nonFileDiagnostics: Diagnostic[] = [];
13851385
let fileDiagnostics: Map<Diagnostic[]> = {};

src/services/breakpoints.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
/// <reference path='services.ts' />
55

6-
/** @internal */
6+
/* @internal */
77
module ts.BreakpointResolver {
88
/**
99
* Get the breakpoint span in given sourceFile

src/services/formatting/formatting.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
///<reference path='rulesProvider.ts' />
44
///<reference path='references.ts' />
55

6-
/** @internal */
6+
/* @internal */
77
module ts.formatting {
88

99
export interface TextRangeWithKind extends TextRange {

src/services/formatting/formattingContext.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference path="references.ts"/>
22

3-
/** @internal */
3+
/* @internal */
44
module ts.formatting {
55
export class FormattingContext {
66
public currentTokenSpan: TextRangeWithKind;

src/services/formatting/formattingRequestKind.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference path="references.ts"/>
22

3-
/** @internal */
3+
/* @internal */
44
module ts.formatting {
55
export const enum FormattingRequestKind {
66
FormatDocument,

src/services/formatting/formattingScanner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// <reference path="formatting.ts"/>
22
/// <reference path="..\..\compiler\scanner.ts"/>
33

4-
/** @internal */
4+
/* @internal */
55
module ts.formatting {
66
let scanner = createScanner(ScriptTarget.Latest, /*skipTrivia*/ false);
77

src/services/formatting/rule.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///<reference path='references.ts' />
22

3-
/** @internal */
3+
/* @internal */
44
module ts.formatting {
55
export class Rule {
66
constructor(

src/services/formatting/ruleAction.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
///<reference path='references.ts' />
22

3-
/** @internal */
3+
/* @internal */
44
module ts.formatting {
55
export const enum RuleAction {
66
Ignore = 0x00000001,

0 commit comments

Comments
 (0)