I am building an Angular project for my company as a POC for utilizing Azure Notification Hub to send push notifications.
The Microsoft Documentation instructs me to add the following code to server.js
:
var azure = require('azure-sb');
However, I am building my app in TypeScript, not JavaScript, so I haven't created a server.js
file. Is there a TypeScript (.ts) equivalent that I can create? Or can these types of operation only be done via JavaScript's server.js
?