mirror of
https://github.com/swc-project/swc.git
synced 2024-12-26 23:27:56 +03:00
15 lines
370 B
TypeScript
15 lines
370 B
TypeScript
// @strict: true
|
|
|
|
type T01 = string | never;
|
|
type T02 = string & never;
|
|
type T03 = string | number | never;
|
|
type T04 = string & number & never;
|
|
type T05 = any | never;
|
|
type T06 = any & never;
|
|
type T07 = undefined | never;
|
|
type T08 = undefined & never;
|
|
type T09 = null | never;
|
|
type T10 = null & never;
|
|
type T11 = { a: string } | never;
|
|
type T12 = { a: string } & never;
|