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)?
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)?