Windows PWA WinRT Definitions Definitions for using WinRT in Windows PWA. C&P the following in every *.js or *.ts file you want to use WinRT: /// <reference path="node_modules/win-pwa-winrt-definitions/winrtrefs.d.ts" />