mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
move Type type to globals.d.ts file
This commit is contained in:
Vendored
+3
@@ -0,0 +1,3 @@
|
||||
interface Type<T> extends Function {
|
||||
new (...args: any[]): T;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user