Skip to content

Commit 3d812ef

Browse files
Added test.
1 parent 540e8b9 commit 3d812ef

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
interface IDirectiveLinkFn<TScope> {
2+
(scope: TScope): void;
3+
}
4+
5+
interface IDirectivePrePost<TScope> {
6+
pre?: IDirectiveLinkFn<TScope>;
7+
post?: IDirectiveLinkFn<TScope>;
8+
}
9+
10+
export let blah: IDirectiveLinkFn<number> | IDirectivePrePost<number> = (x: string) => {}

0 commit comments

Comments
 (0)