Releases: stordahl/sveltekit-snippets
Releases · stordahl/sveltekit-snippets
Update for SvelteKit 1.0.0-next.330
Huge shoutout to @jhubbardsf for creating all of these updates
- kitEndpoint: Updated name to be a choice of valid actions. Added in all valid input parameters.
- kitTsEndpoint: Updated name to be a choice of valid actions. Added in all valid input parameters. Modified TypeScript return to be valid. Added type to function.
- kitLoad: Changed to arrow function. Added all parameter inputs. Added status to return.
- kitLoadTs (New Snippet): Same as kitLoad but with typed function.
- Other: Cleaned up a little bit with spacing.
Minor Bug fixes
Nothing major here - just minor bug fixes. Consult the changelog for a list of changes.
Adds TypeScript Endpoints
Added
- TypeScript Endpoints via
kitTsEndpoint
Changed
- Removed
{ params }
from Endpoints boilerplate
Fixed
- Adds
lang=ts
to normal script tag when usingkitModuleTs