6 lines
111 B
TypeScript
6 lines
111 B
TypeScript
|
var x: { a: (s: string) => string } & { b: (n: number) => number };
|
||
|
x = {
|
||
|
a: s => s,
|
||
|
b: n => n
|
||
|
};
|