fix(generic-spacing): avoid overriding extends

This commit is contained in:
Anthony Fu
2022-11-01 03:38:06 +08:00
parent 4b51ef2eba
commit 4119f52750
2 changed files with 4 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ type Foo<
T = true,
K = false
> = T`,
'type Foo<T extends true = true> = T',
]
const invalids = [
['type Foo<T=true> = T', 'type Foo<T = true> = T'],