solid start typescript 4.9/5 satisfies operator
Hi, wondering is there anything that should be done to use satisfies operator on solid start, update some vite plugins or something?
End up with
Expected ";" but found "satisfies"'
on build
Just did on fresh npm init solid@latest
ty6 Replies
but I think babel did https://github.com/babel/babel/pull/14211
GitHub
[ts] Add support for
expr satisfies Type
expressions by nicolo-ri...Q
A
Fixed Issues?
Fixes: #15067
Patch: Bug Fix?
Major: Breaking Change?
Minor: New Feature?
Tests Added + Pass?
Yes
Documentation PR Link
Any Dependency C...
which option did you choose when init-ing? it shouldn't hit babel at all as typescript should've done its part.
the error message could help with tracking the root cause if you could provide any please do.
Hi, thanks for the reply, got this error
but that happens with typescript 5.0.3
I have a similar project (same set up but never updated typescript manually) that works fine, but on ts 4.9.5
could be that
for the option, was bare typescript no ssr
looking at the log, it's
esbuild
failing to recognize satisfies
you could try to build it and see the error still pops upNice thanks, I'll try a few things w esbuild and see