mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-05 08:11:30 -06:00
Add regression test
This commit is contained in:
parent
0d3f2166e3
commit
6cf640ed3b
8
tests/cases/compiler/conditionalTypesASI.ts
Normal file
8
tests/cases/compiler/conditionalTypesASI.ts
Normal file
@ -0,0 +1,8 @@
|
||||
// @declaration: true
|
||||
|
||||
// Repro from #21637
|
||||
|
||||
interface JSONSchema4 {
|
||||
a?: number
|
||||
extends?: string | string[]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user