7 lines
141 B
TypeScript
7 lines
141 B
TypeScript
//// [typePredicateASI.ts]
|
|
interface I {
|
|
foo(callback: (a: any, b: any) => void): I
|
|
is(): boolean;
|
|
}
|
|
|
|
//// [typePredicateASI.js]
|