Skip to content
This repository was archived by the owner on Oct 19, 2019. It is now read-only.

Commit fbe76f0

Browse files
committed
feat: add ts support
1 parent a94544e commit fbe76f0

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

index.d.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { Observable } from 'rxjs';
2+
3+
export interface Config {
4+
name?: string,
5+
}
6+
7+
export interface API {
8+
onModel$: Observable<any>,
9+
onEpicStart$: Observable<any>,
10+
onEpicEnd$: Observable<any>,
11+
onEpicCancel$: Observable<any>,
12+
}
13+
14+
export type Plugin = (api: API) => void;
15+
16+
export default function loading(opts?: Config): Plugin;

0 commit comments

Comments
 (0)