How to properly add types for nested tables in SvelteKit
So based on the example from docs:
by doing this I losing types for
Im still learning typescript and may doing an easy mistakes but I basing very much on examples from docs and other sources, and it looks like it should works, but its not.
How to do it properly?
My full +page.server.ts file looks like that:
Am I doing something wrong?
type MoviesResponseSuccess = anytyoe MovieResponse = anyactors is correctly typed, but actors is just a part of whole reponseby doing this I losing types for
movies as they becoming an any type,Im still learning typescript and may doing an easy mistakes but I basing very much on examples from docs and other sources, and it looks like it should works, but its not.
How to do it properly?
My full +page.server.ts file looks like that:
Am I doing something wrong?