Closed erkin98 closed 1 year ago
The conversion isn't parsing TypeScript code, only types. Basically, it can understand .d.ts
, but not logic in .ts
files.
If you run tsc to compile that file and generate a separate declaration file, that file can be used as input to typeconv.
When converting to try something like this
it's converting this type to JSON but doesn't give a type field for the
name
.