We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 970780c commit 4f7b958Copy full SHA for 4f7b958
lib/context.ts
@@ -33,7 +33,7 @@ export class Context {
33
case 'string':
34
return this.generateVariable(val);
35
case 'function':
36
- return `(${val}).call(${this.generateVariable()}, vars)`;
+ return `${this.addImport(val)}.call(${this.generateVariable()}, vars)`;
37
}
38
39
0 commit comments