#421·transform

Bug: TypeScript to JSON schema is broken

Author: maximoffuaCreated Mar 21, 2025Updated Mar 30, 2025

This mode does not work and return HTTP status 500 with the following payload:

Cannot find global type 'Array'.

Cannot find global type 'Boolean'.

Cannot find global type 'Function'.

Cannot find global type 'IArguments'.

Cannot find global type 'Number'.

Cannot find global type 'Object'.

Cannot find global type 'RegExp'.

Cannot find global type 'String'.

File '/var/task/node_modules/typescript/lib/lib.d.ts' not found.
  The file is in the program because:
    Default library for target 'es5'

Check it here: https://transform.tools/typescript-to-json-schema