mirror of
https://github.com/swc-project/swc.git
synced 2024-12-01 01:13:56 +03:00
21 lines
273 B
TypeScript
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 } }];
|