#366·transform

Status Code: 500

Author: 662Created May 29, 2023Updated Nov 4, 2024

https://transform.tools/typescript-to-json-schema

Request URL: https://transform.tools/api/typescript-to-json-schema
Request Method: POST
Status Code: 500 
bash
# payload

export interface Root {
  userId: number;
  id: number;
  title: string;
  completed: boolean;
}

export interface Props {
  /** The user's name */
  name: string;
  /** Should the name be rendered in bold */
  priority?: boolean
}
// response

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'