Skip to content

Commit

Permalink
Pick #56485 into release-5.3 (#56486)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewbranch authored Nov 21, 2023
1 parent 27047e3 commit f750eb3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -858,7 +858,7 @@ export const enum ModifierFlags {
Protected = 1 << 2, // Property/Method
Readonly = 1 << 3, // Property/Method
Override = 1 << 4, // Override method.

// Syntactic-only modifiers
Export = 1 << 5, // Declarations
Abstract = 1 << 6, // Class/Method/ConstructSignature
Expand Down Expand Up @@ -3663,10 +3663,10 @@ export interface ImportClause extends NamedDeclaration {
export type AssertionKey = ImportAttributeName;

/** @deprecated */
export type AssertEntry = ImportAttribute;
export interface AssertEntry extends ImportAttribute {}

/** @deprecated */
export type AssertClause = ImportAttributes;
export interface AssertClause extends ImportAttributes {}

export type ImportAttributeName = Identifier | StringLiteral;

Expand Down
6 changes: 4 additions & 2 deletions tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6018,9 +6018,11 @@ declare namespace ts {
/** @deprecated */
type AssertionKey = ImportAttributeName;
/** @deprecated */
type AssertEntry = ImportAttribute;
interface AssertEntry extends ImportAttribute {
}
/** @deprecated */
type AssertClause = ImportAttributes;
interface AssertClause extends ImportAttributes {
}
type ImportAttributeName = Identifier | StringLiteral;
interface ImportAttribute extends Node {
readonly kind: SyntaxKind.ImportAttribute;
Expand Down

0 comments on commit f750eb3

Please sign in to comment.