Hello Ionic-Developers,
Its my first try using @types
in an Ionic Project.
I have installed the following npm package:
After that I used the types like below:
ngAfterViewInit() {
let platform = new H.service.Platform({
app_id: 'XXXXXXXXXXXX',
app_code: 'XXXXXXXXXXXX',
useHTTPS: true,
useCIT: true
});
}
The browser give me following exception:
Im developing with Visual Studio Code, there seems all elements available (defined in index.d.ts
):
Need I any other includes that the browser knowing the classes?
Thanks in advance.