I'm a little bit frustrated because i can't find and solve my issue.
I get an error from the webpack ts compiler - awesome-typescript-loader.
This is the error i get:
ERROR in [at-loader] ./src/content.ts:12:2
TS2554: Expected 3 arguments, but got 2.
And this is my content.ts:
interface Window {
InjectFeelter: IInjectFeelter
}
interface IInjectFeelter {
PlaceApp: () => void;
}
class InjectFeelter implements IInjectFeelter {
PlaceApp() {
console.log('test')
} ///// line 12
}
window.InjectFeelter = new InjectFeelter();
If i remove the PlaceApp method the error disappears, it's about the method not what inside of it.
What is the problem here?