-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove event dispatcher and make required props explicit
Svelte has deprecated the event dispatcher functionality and instead works with callback functions that are called when an event should in the past have been called. Also `export let var: string` is in svelte something that can't be optional, so we should type it out as `export let var = string | undefined = undefined` or make sure we always pass that prop.
- Loading branch information
1 parent
ffcbbeb
commit d3f9974
Showing
2 changed files
with
6 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters