9 lines
134 B
TypeScript
9 lines
134 B
TypeScript
|
// @strict: true
|
||
|
// @declaration: true
|
||
|
|
||
|
const a: string | undefined = 'ff';
|
||
|
const foo = { a! }
|
||
|
|
||
|
const bar = {
|
||
|
a ? () { }
|
||
|
}
|