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";
|
||||
name: string;
|
||||
}
|
||||
interface ClientActionDescription extends BaseActionDescription {
|
||||
export interface ClientActionDescription extends BaseActionDescription {
|
||||
type: "ir.actions.client";
|
||||
tag: string;
|
||||
}
|
||||
|
||||
interface ActWindowActionDescription extends BaseActionDescription {
|
||||
export interface ActWindowActionDescription extends BaseActionDescription {
|
||||
type: "ir.actions.act_window";
|
||||
views: [false | number, string][];
|
||||
domain: false | string;
|
||||
|
||||
@@ -40,7 +40,6 @@ const demoStack: ActionStack = [
|
||||
title: "some title",
|
||||
target: "new",
|
||||
type: "client",
|
||||
name: "hey",
|
||||
Widget: ClientAction
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user