13 lines
220 B
TypeScript
13 lines
220 B
TypeScript
|
// @allowJs: true
|
||
|
// @checkJs: true
|
||
|
// @noEmit: true
|
||
|
// @noImplicitThis: true
|
||
|
|
||
|
// @Filename: /a.js
|
||
|
const o = {
|
||
|
a() {
|
||
|
// Should not be treated as a declaration.
|
||
|
this.a = () => {};
|
||
|
}
|
||
|
};
|