9 lines
206 B
TypeScript
9 lines
206 B
TypeScript
|
interface I {
|
||
|
x1(a: number, callback: (x: 'hi') => number);
|
||
|
}
|
||
|
class C implements I {
|
||
|
x1(a: number, callback: (x: 'hi') => number);
|
||
|
x1(a: number, callback: (x: 'hi') => number) {
|
||
|
}
|
||
|
}
|