fix(notification): add extends to button

This way, props from Button can be used in NotificationActionButton and
still typecheck correctly.
This commit is contained in:
Piper McCorkle 2022-08-11 16:02:11 -05:00
commit 85d8a1f1c6
No known key found for this signature in database
GPG key ID: A63BF687BF377E28
3 changed files with 9 additions and 2 deletions

View file

@ -7376,7 +7376,11 @@
{ "type": "forwarded", "name": "mouseleave", "element": "Button" }
],
"typedefs": [],
"rest_props": { "type": "InlineComponent", "name": "Button" }
"rest_props": { "type": "InlineComponent", "name": "Button" },
"extends": {
"interface": "ButtonProps",
"import": "\"../Button/Button.svelte\""
}
},
{
"moduleName": "NotificationButton",