[improvement] Panel: tsx (#2782)

This commit is contained in:
neverland
2019-02-18 20:10:56 +08:00
committed by GitHub
parent 7b238ed1e7
commit ad27b885c9
2 changed files with 24 additions and 3 deletions

View File

@@ -23,7 +23,7 @@ export type CellSlots = DefaultSlots & {
};
export type CellEvents = {
onClick(event: Event): void;
onClick?(event: Event): void;
};
const [sfc, bem] = use('cell');