Enable typescript strict mode
There are a couple of types that have an optional undefined, enabling strict mode will help with handling them (also it will make sure that users of solid-start with strict mode enabled don't get those errors in their project)
Could you point out the specific ones so we could deal with them? Or make a PR?
Sure, I'll make a PR to use Typescript's ?. operator
I guess we are in good versions of node to do that. I have been avoiding ?. and ?? as it tends to break some tooling.
Update: when I enable strict mode [here](https://github.com/solidjs/solid-start/blob/main/packages/start/tsconfig.json], I get ~300 errors from tsc --noEmit. I've cut that down to about 56 that I'm manually working through
@modderme123 could you make a PR for what you have! I can work on top to get it to completion for strict mode
Just got back to this and after rebasing, it looks like you've got most of the initial errors. Only 2 files had any changes that still were valid for the current codebase and they'd be trivial to recreate
Technically we have enabled strict mode now. This won't help people with their own ts configs etc.. as there is a different enhancement for that. But I consider this done.