swc/crates/swc_ecma_parser/tests/tsc/logicalAssignment9.ts

6 lines
79 B
TypeScript

// @strict: true
declare let x: { a?: boolean };
x.a ??= true;
x.a &&= false;