microsoft / azure-devops-extension-sdk

Client SDK for developing Azure DevOps extensions
MIT License
123 stars 39 forks source link

Where are the types? #7

Closed pabrams closed 4 years ago

pabrams commented 5 years ago

When I used vss-web-extension-sdk I had stuff like this at the top of tsx files: /// <reference types="vss-web-extension-sdk" />

which somehow allowed typescript to find types like this: import TFS_Wit_Contracts = require("TFS/WorkItemTracking/Contracts");

But if I try to use azure-devops instead of vss-web, therre is no longer a @types folder in my node_modules, and there is no @types/azure-devops-extension-sdk to download from npm.

So how do we load those TFS modules (and presumably also the VSS ones)?

acdvs commented 4 years ago

Have you tried looking through this documentation? It contains useful type information.

pabrams commented 4 years ago

I can't make sense of my original issue, so I'm closing it.