-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Having a +page.server.ts load function with no +page.ts load function results in PageData being any
Making changes to +page.ts load function means the PageData types lag and mismatch.
Reproduction
Just add and remove some static props to the load function return object.
Logs
No response
System Info
System:
OS: macOS 12.5
CPU: (6) x64 Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
Memory: 1.56 GB / 32.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.14.0 - /usr/local/bin/node
npm: 8.3.1 - /usr/local/bin/npm
Browsers:
Brave Browser: 102.1.39.111
Chrome: 104.0.5112.79
Chrome Canary: 106.0.5243.0
Firefox: 103.0.2
Safari: 15.6
Safari Technology Preview: 16.0
npmPackages:
@sveltejs/adapter-auto: next => 1.0.0-next.64
@sveltejs/kit: next => 1.0.0-next.411
svelte: ^3.44.0 => 3.49.0
vite: ^3.0.0 => 3.0.8Severity
annoyance
Additional Information
No response
jdgamble555
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working