Skip to content

Commit 4dad31c

Browse files
fix
1 parent 568b899 commit 4dad31c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/compiler/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3395,7 +3395,7 @@ namespace ts {
33953395
}
33963396

33973397
// type spread types (TypeFlags.TypeSpread)
3398-
export interface TypeSpreadType extends TypeVariable {
3398+
export interface TypeSpreadType extends Type {
33993399
type: Type;
34003400
}
34013401

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
type Boom<T extends string> = [...T];

0 commit comments

Comments
 (0)