Open
Description
🔎 Search Terms
- dts
- bigint key
- object
- class
🕗 Version & Regression Information
- This changed between versions ______ and _______
- This changed in commit or PR _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⏯ Playground Link
💻 Code
export const foo = {
1n() {
return 1;
},
2() {
return 2;
}
}
export class Foo {
1n() {
return 1;
}
2() {
return 2;
}
}
🙁 Actual behavior
export declare const foo: {
2(): number;
};
export declare class Foo {
1n(): number;
2(): number;
}
🙂 Expected behavior
export declare const foo: {
1n(): number;
2(): number;
};
export declare class Foo {
1n(): number;
2(): number;
}
Additional information about the issue
No response