Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Status Code: 500 #366

Open
662 opened this issue May 29, 2023 · 3 comments
Open

Status Code: 500 #366

662 opened this issue May 29, 2023 · 3 comments

Comments

@662
Copy link

662 commented May 29, 2023

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

Request URL: https://transform.tools/api/typescript-to-json-schema
Request Method: POST
Status Code: 500 
# 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'
@Leonardonline
Copy link

Ehi @662, try to add "TypeScript to JSON Schema" in the title.

@samirotiv
Copy link

I am facing the same.

@raffobaffo
Copy link

Ehi @662, try to add "TypeScript to JSON Schema" in the title.

What you mean with this? Which title?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants