mirror of
https://github.com/odoo/owl.git
synced 2025-10-06 19:59:41 +07:00
fix small type issues
This commit is contained in:
@@ -30,12 +30,12 @@ interface BaseActionDescription {
|
|||||||
target: "current";
|
target: "current";
|
||||||
name: string;
|
name: string;
|
||||||
}
|
}
|
||||||
interface ClientActionDescription extends BaseActionDescription {
|
export interface ClientActionDescription extends BaseActionDescription {
|
||||||
type: "ir.actions.client";
|
type: "ir.actions.client";
|
||||||
tag: string;
|
tag: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface ActWindowActionDescription extends BaseActionDescription {
|
export interface ActWindowActionDescription extends BaseActionDescription {
|
||||||
type: "ir.actions.act_window";
|
type: "ir.actions.act_window";
|
||||||
views: [false | number, string][];
|
views: [false | number, string][];
|
||||||
domain: false | string;
|
domain: false | string;
|
||||||
|
|||||||
@@ -40,7 +40,6 @@ const demoStack: ActionStack = [
|
|||||||
title: "some title",
|
title: "some title",
|
||||||
target: "new",
|
target: "new",
|
||||||
type: "client",
|
type: "client",
|
||||||
name: "hey",
|
|
||||||
Widget: ClientAction
|
Widget: ClientAction
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user