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

21 lines
273 B
TypeScript

type A = {
#foo: string;
#bar(): string;
}
interface B {
#foo: string;
#bar(): string;
}
declare const x: {
#foo: number;
bar: {
#baz: string;
#taz(): string;
}
#baz(): string;
};
declare const y: [{ qux: { #quux: 3 } }];