Improving strict typescript checking
This commit is contained in:
@ -383,6 +383,7 @@ export class TypescriptTarget extends CompileTarget {
|
||||
a(2, ``);
|
||||
a(2, `p.push(ctx);`);
|
||||
|
||||
a(2, `//@ts-ignore This will cause a typescript error when strict checking, since p is not a tuple`)
|
||||
a(
|
||||
2,
|
||||
`return this.${fnc.name}.call(this, ...p)` + //TODO: Refactor. This line is way to compicated for anyone to understand, including me
|
||||
|
Reference in New Issue
Block a user