16 lines
236 B
TypeScript
16 lines
236 B
TypeScript
//// [a.js]
|
|
/** @this {string} */
|
|
export function f1() {}
|
|
|
|
/** @this */
|
|
export function f2() {}
|
|
|
|
|
|
|
|
|
|
//// [a.d.ts]
|
|
/** @this {string} */
|
|
export function f1(this: string): void;
|
|
/** @this */
|
|
export function f2(this: any): void;
|