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