fix(generic-spacing): improve cases

This commit is contained in:
Anthony Fu
2022-11-07 21:03:56 +08:00
parent 54b234f4ef
commit 95e28e4a4a
2 changed files with 4 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ type Foo<
`interface Log {
<T>(name: T): void
}`,
`interface Foo {
foo?: <T>(name: T) => void
}`,
]
const invalids = [
['type Foo<T=true> = T', 'type Foo<T = true> = T'],