-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Description
const { Preprocessor } = require('content-tag');
const p = new Preprocessor();
const res = p.process(`
f = function(this: Context, ...args) {
function t(this: Context, ...args) {};
<template></template>
}`);
console.log(res);results to
import { template } from "@ember/template-compiler";
f = function(this: Context, ...args) {
function t(this1: Context, ...args1) {}
;
template(``, {
eval () {
return eval(arguments[0]);
}
});
};removing the template will make it work correctly
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done