mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
Closes #5177 While making this, I noticed an uncaught parse error for accessors: accessors cannot be optional. I'll add a fix for this in an up-stack PR.
5 lines
118 B
TypeScript
5 lines
118 B
TypeScript
// https://github.com/oxc-project/oxc/issues/5177
|
|
type Foo = 'foo' | 'bar'
|
|
export class Bang {
|
|
accessor x?: Foo
|
|
}
|