Posts by thsnj • 33 points
1 post
-
3
votes1
answer649
viewsQ: accessing class data in a function in the global scope with typescript
I’m developing an Angular 2 application and I’m using the Youtube API. The Youtube API requires me to implement some functions in the global scope, so I did the following: export class MyClass {…