* A function should be context-sensitive if its return expression is * Remove outdated comment * Fix typo
12 lines
138 B
TypeScript
12 lines
138 B
TypeScript
interface I {
|
|
a(s: string): void;
|
|
b(): (n: number) => void;
|
|
}
|
|
|
|
declare function f(i: I): void;
|
|
|
|
f({
|
|
a: s => {},
|
|
b: () => n => {},
|
|
});
|