Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Minor fixes
  • Loading branch information
ahejlsberg committed Dec 9, 2020
commit e35c42ec6f307db3baa813926b0474afcd7443bf
1 change: 1 addition & 0 deletions src/compiler/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4991,6 +4991,7 @@ namespace ts {

/* @internal */
export type FreshableLiteralType = LiteralType | TemplateLiteralType;
/* @internal */
export type FreshableType = FreshableLiteralType | FreshableIntrinsicType;

// String literal types (TypeFlags.StringLiteral)
Expand Down
1 change: 0 additions & 1 deletion tests/baselines/reference/api/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2511,7 +2511,6 @@ declare namespace ts {
aliasSymbol?: Symbol;
aliasTypeArguments?: readonly Type[];
}
export type FreshableType = FreshableLiteralType | FreshableIntrinsicType;
export interface LiteralType extends Type {
value: string | number | PseudoBigInt;
freshType: LiteralType;
Expand Down
1 change: 0 additions & 1 deletion tests/baselines/reference/api/typescript.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2511,7 +2511,6 @@ declare namespace ts {
aliasSymbol?: Symbol;
aliasTypeArguments?: readonly Type[];
}
export type FreshableType = FreshableLiteralType | FreshableIntrinsicType;
export interface LiteralType extends Type {
value: string | number | PseudoBigInt;
freshType: LiteralType;
Expand Down