mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-11-18 20:11:14 +00:00
Stop calling our own @deprecrated APIs (#46831)
* Clean up createMap * Delete dead createMapFromTemplate * Clean up assertDefined * Delete dead assertEachDefined * Delete dead createUnderscoreEscapedMap * Delete dead hasEntries * Delete dead ReadonlyNodeSet, NodeSet, ReadonlyNodeMap, NodeMap * Use updated SyntaxKind names * Update API baselines
This commit is contained in:
1 parent
de4ba0f208
commit
1ade73df2b
13 files changed
+23
-90
No files matched your search
@@ -326,7 +326,7 @@ namespace ts.projectSystem {
|
||||
};
|
||||
|
||||
function updateFile(path: string, newText: string) {
|
||||
Debug.assertDefined(files.find(f => f.path === path));
|
||||
Debug.assertIsDefined(files.find(f => f.path === path));
|
||||
session.executeCommandSeq<protocol.ApplyChangedToOpenFilesRequest>({
|
||||
command: protocol.CommandTypes.ApplyChangedToOpenFiles,
|
||||
arguments: {
|
||||
@@ -339,7 +339,7 @@ namespace ts.projectSystem {
|
||||
}
|
||||
|
||||
function findAllReferences(file: string, line: number, offset: number) {
|
||||
Debug.assertDefined(files.find(f => f.path === file));
|
||||
Debug.assertIsDefined(files.find(f => f.path === file));
|
||||
session.executeCommandSeq<protocol.ReferencesRequest>({
|
||||
command: protocol.CommandTypes.References,
|
||||
arguments: {
|
||||
|
||||
Reference in new issue
Block a user