io-ts icon indicating copy to clipboard operation
io-ts copied to clipboard

Is it possible to use it with typescript without `nodenex` config option?

Open al6x opened this issue 1 year ago • 1 comments

The basic example fails, is it possible to use io-ts without altering tsconfig and setting nodenex?

import * as t from 'io-ts'

const User = t.type({
  userId: t.number,
  name: t.string
})
Cannot find module 'io-ts'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?

al6x avatar Jul 06 '24 09:07 al6x

The nodenext option is not required to use io-ts.

gcanti avatar Jul 06 '24 12:07 gcanti