diff --git a/index.d.ts b/index.d.ts new file mode 100644 index 0000000..57825e4 --- /dev/null +++ b/index.d.ts @@ -0,0 +1,5 @@ +export declare const CallableInstance: ICallableInstance; +export interface ICallableInstance { + new (property: string | symbol): (...argv) => T; + (...argv: any[]): T; +}