Pega front-end TypeScript configuration.
npm install @pega/tsconfigPegasystems front-end TypeScript configuration.
Install TypeScript and the Pega config.
``shell`
npm i -D typescript @pega/tsconfig
Extend from the Pega configuration in your TypeScript configuration file.
`json`
{
"extends": "@pega/tsconfig/index.json"
}
Run TypeScript to compile and type-check your project.
`shell`
npx tsc
As long as you have a tsconfig.json` file at the root of your workspace, VS Code will integrate with TypeScript automatically.