bmxmaga
bmxmaga
@18steps I'm affraid this is not possible in my case. TypeScript treats *.d.ts files in a special way that it doesn't compile them into the bundle. In my project (non-angular),...
You mean as long as the class doesn't provide _all_ the properties of the interface it will _silently_ not implement it? I mean, I would at least expect some critical...
Ok, I get it :) Thank you for the explanation.
The package that you pointed, basically uses the same approach that I managed to prepare by myself. This approach doesn't work because of a bug in iframe-resizer in the first...
When I `console.log` it, it tells me that it's an array with one element being the iframe itself: ``` console.log(Array.isArray(this.resizerInstance), this.resizerInstance[0] instanceof HTMLIFrameElement, this.resizerInstance.close); ``` gives: ``` true, true, undefined...
The latter works! Thank you :) ``` this.resizerInstance[0].iframeResizer.close(); ```