Skip to content

Commit

Permalink
Remove deprecated originalKeywordKind and isInJSDocNamespace (#58228)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakebailey committed Apr 17, 2024
1 parent 23e99c2 commit 72f413c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 62 deletions.
51 changes: 0 additions & 51 deletions src/deprecatedCompat/5.0/identifierProperties.ts

This file was deleted.

1 change: 0 additions & 1 deletion src/deprecatedCompat/_namespaces/ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@

export * from "../../compiler/_namespaces/ts";
export * from "../deprecations";
export * from "../5.0/identifierProperties";
4 changes: 0 additions & 4 deletions src/harness/harnessUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,10 +205,6 @@ export function sourceFileToJSON(file: ts.Node): string {
}
break;

case "originalKeywordKind":
o[propertyName] = getKindName((n as any)[propertyName]);
break;

case "flags":
// Clear the flags that are produced by aggregating child values. That is ephemeral
// data we don't care about in the dump. We only care what the parser set directly
Expand Down
6 changes: 0 additions & 6 deletions tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4378,12 +4378,6 @@ declare namespace ts {
interface Identifier {
readonly text: string;
}
interface Identifier {
/** @deprecated Use `idKeyword(identifier)` instead. */
readonly originalKeywordKind?: SyntaxKind;
/** @deprecated Use `.parent` or the surrounding context to determine this instead. */
readonly isInJSDocNamespace?: boolean;
}
interface TransientIdentifier extends Identifier {
resolvedSymbol: Symbol;
}
Expand Down

0 comments on commit 72f413c

Please sign in to comment.