Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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