fix(header-action): type missing "open" event (#1293)

* fix(header-action): type missing "open" event

* Run "yarn build:docs"

* test(header-utilities): assert "open" and "close" events
This commit is contained in:
metonym 2022-05-12 20:23:16 -07:00 committed by GitHub
commit 5576c7ce84
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 20 additions and 7 deletions

View file

@ -46,6 +46,10 @@ export interface HeaderActionProps
export default class HeaderAction extends SvelteComponentTyped<
HeaderActionProps,
{ click: WindowEventMap["click"]; close: CustomEvent<any> },
{
open: CustomEvent<null>;
close: CustomEvent<null>;
click: WindowEventMap["click"];
},
{ default: {}; closeIcon: {}; icon: {}; text: {} }
> {}