fix small type issues

This commit is contained in:
Géry Debongnie
2019-03-04 08:31:56 +01:00
parent 9d715cb40d
commit dc4738f1d3
2 changed files with 2 additions and 3 deletions
@@ -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
} }
]; ];