Added test.

This commit is contained in:
Daniel Rosenwasser
2018-09-04 11:07:50 -07:00
parent 540e8b9eb0
commit 3d812ef93a

View File

@@ -0,0 +1,10 @@
interface IDirectiveLinkFn<TScope> {
(scope: TScope): void;
}
interface IDirectivePrePost<TScope> {
pre?: IDirectiveLinkFn<TScope>;
post?: IDirectiveLinkFn<TScope>;
}
export let blah: IDirectiveLinkFn<number> | IDirectivePrePost<number> = (x: string) => {}