This website requires JavaScript.
Explore
Help
Sign In
vitalif
/
prettier
Watch
1
Star
0
Fork
You've already forked prettier
0
Code
Issues
Pull Requests
Releases
Wiki
Activity
82257bc091
prettier
/
tests
/
typescript_optional_type
/
complex.ts
3 lines
98 B
TypeScript
Raw
Blame
History
type
T
=
[
(
"a"
|
"b"
)
?
]
;
type
TupleWithOptional
=
[
number
,
(
1
extends
2
?
string
[
]
:
number
[
]
)
?
]
;
Reference in New Issue
View Git Blame
Copy Permalink