mirror of
https://github.com/swc-project/swc.git
synced 2024-12-18 11:11:30 +03:00
5 lines
199 B
TypeScript
5 lines
199 B
TypeScript
// @strict: true
|
|
// @target: esnext
|
|
const o1: { foo: number, bar: undefined } = { foo: 1, ... { set bar(_v: number) { } } }
|
|
const o2: { foo: undefined } = { foo: 1, ... { set foo(_v: number) { } } }
|