Typescript v2.2 was released today and it offers something that I was waiting for…generate members for interface.

Steps are pretty easy. Here we go.

  • Download and install the new version of Typescript
    npm install -g typescript
  • Open Visual Studio Code and update the setting typescript.tsdk with the following:
    "typescript.tsdk" : "{your_path_to_global_npm}\\typescript\\lib"
    Note: you can get your npm root path by typing npm root -g
  • open a Typescript file in Visual Studio Code and you should now see 2.2.1 in the status bar

You can find the release notes for Typescript v2.2 here