Skip to content

Commit 72f413c

Browse files
authored
Remove deprecated originalKeywordKind and isInJSDocNamespace (#58228)
1 parent 23e99c2 commit 72f413c

File tree

4 files changed

+0
-62
lines changed

4 files changed

+0
-62
lines changed

src/deprecatedCompat/5.0/identifierProperties.ts

Lines changed: 0 additions & 51 deletions
This file was deleted.

src/deprecatedCompat/_namespaces/ts.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22

33
export * from "../../compiler/_namespaces/ts";
44
export * from "../deprecations";
5-
export * from "../5.0/identifierProperties";

src/harness/harnessUtils.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,10 +205,6 @@ export function sourceFileToJSON(file: ts.Node): string {
205205
}
206206
break;
207207

208-
case "originalKeywordKind":
209-
o[propertyName] = getKindName((n as any)[propertyName]);
210-
break;
211-
212208
case "flags":
213209
// Clear the flags that are produced by aggregating child values. That is ephemeral
214210
// data we don't care about in the dump. We only care what the parser set directly

tests/baselines/reference/api/typescript.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4378,12 +4378,6 @@ declare namespace ts {
43784378
interface Identifier {
43794379
readonly text: string;
43804380
}
4381-
interface Identifier {
4382-
/** @deprecated Use `idKeyword(identifier)` instead. */
4383-
readonly originalKeywordKind?: SyntaxKind;
4384-
/** @deprecated Use `.parent` or the surrounding context to determine this instead. */
4385-
readonly isInJSDocNamespace?: boolean;
4386-
}
43874381
interface TransientIdentifier extends Identifier {
43884382
resolvedSymbol: Symbol;
43894383
}

0 commit comments

Comments
 (0)