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
{{ message }}
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
The documentation contains the following example :
However,
document.querySelector('#sapper')
can returnnull
, butsapper.start
does not accept null.It would be great to either
sapper.start
to accept null (and throw an error saying that the target element is missing in this case),This would allow the documentation examples to be copy-pasted in typescript environment without type errors.
The text was updated successfully, but these errors were encountered: