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