Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>tsitNew to Visual Studio Code? Get it now.
tsit

tsit

destinio

|
49 installs
| (0) | Free
Get TypeScript type defs from api end-point
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

TSIt

Get TS type defentions from json end-point

  • Open command palette

  • Search for Get Types

  • insert valid URL

  • right click url in editor

  • CLick: Get Types from selected

Outut

// https://jsonplaceholder.typicode.com/users
interface Users {
  id: number
  name: string
  username: string
  email: string
  address: Address
  phone: string
  website: string
  company: Company
}
interface Company {
  name: string
  catchPhrase: string
  bs: string
}
interface Address {
  street: string
  suite: string
  city: string
  zipcode: string
  geo: Geo
}
interface Geo {
  lat: string
  lng: string
}
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft