You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
A clear and concise description of what the bug is.
When working with typescript, the following typescript alert is displayed if no easing param is specified:
Argument of type '{ delay: number; duration: number; x: number; y: number; opacity: number; }' is not assignable to parameter of type 'FlyParams'.
Property 'easing' is missing in type '{ delay: number; duration: number; x: number; y: number; opacity: number; }' but required in type 'FlyParams'.ts(2345)
Describe the bug
A clear and concise description of what the bug is.
When working with typescript, the following typescript alert is displayed if no easing param is specified:
Offending code:
To get rid of the alert, you have to specify a value for easing, like this:
To match the svelte tutorial it should be optional
Information about your Svelte project:
Your browser and the version: (e.x. Chrome 52.1, Firefox 48.0, IE 10)
any browser
Your operating system: (e.x. OS X 10, Ubuntu Linux 19.10, Windows XP, etc)
Svelte version (Please check you can reproduce the issue with the latest release!)
"svelte": "^3.0.0",
rollup
Severity
How severe an issue is this bug to you? Is this annoying, blocking some users, blocking an upgrade or blocking your usage of Svelte entirely?
barely annoying
The text was updated successfully, but these errors were encountered: