move Type type to globals.d.ts file

This commit is contained in:
Géry Debongnie
2019-01-28 11:41:53 +01:00
parent 5ab3532aa1
commit 9e0d1db8e4
3 changed files with 3 additions and 7 deletions
+3
View File
@@ -0,0 +1,3 @@
interface Type<T> extends Function {
new (...args: any[]): T;
}
-3
View File
@@ -4,9 +4,6 @@ import { Env } from "./env";
//------------------------------------------------------------------------------
// Types
//------------------------------------------------------------------------------
interface Type<T> extends Function {
new (...args: any[]): T;
}
type ActionWidget = Type<Widget<Env>>;
@@ -10,10 +10,6 @@ import { Query, IRouter } from "./router";
// Types
//------------------------------------------------------------------------------
interface Type<T> extends Function {
new (...args: any[]): T;
}
export interface ClientAction {
type: "client";
name: string;