Skip to content

Commit 3e4955b

Browse files
committed
Merge pull request #2270 from mihailik/patch-1
Fix for #2268 createDiagnosticCollection should be @internal
2 parents f747e5a + dc451b0 commit 3e4955b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/compiler/utilities.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,7 @@ module ts {
12071207
}
12081208
}
12091209

1210+
// @internal
12101211
export function createDiagnosticCollection(): DiagnosticCollection {
12111212
var nonFileDiagnostics: Diagnostic[] = [];
12121213
var fileDiagnostics: Map<Diagnostic[]> = {};
@@ -1336,4 +1337,4 @@ module ts {
13361337
s.replace(nonAsciiCharacters, c => get16BitUnicodeEscapeSequence(c.charCodeAt(0))) :
13371338
s;
13381339
}
1339-
}
1340+
}

0 commit comments

Comments
 (0)