You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My question(s):
Can generateJSON produce 'valid typed' typescript?
Should I just add a comment for the typecheck to ignore the file (// @ts-nocheck)?
Should the server part actually work and should I be able to enable jit option?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello all,
I was using
generateJSON
to generate translations into .ts files.generateJSON
produces javascript without types and thus my .ts files were invalid when running typecheck because ofimplicit any
usage.Then I enabled the
jit
option. That looked good. Typecheck pass. But the jitted output does not work in Nuxt server side (Nitro)My question(s):
Can
generateJSON
produce 'valid typed' typescript?Should I just add a comment for the typecheck to ignore the file (
// @ts-nocheck
)?Should the server part actually work and should I be able to enable
jit
option?Beta Was this translation helpful? Give feedback.
All reactions