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 ac3fe14 commit 5a490bfCopy full SHA for 5a490bf
1 file changed
src/index.ts
@@ -1104,12 +1104,12 @@ export const printers: Record<string, Printer> = (function () {
1104
function print(path: any, options: any, print: any) {
1105
mutateOriginalText(path, options)
1106
1107
- return base.printers['svelte-ast'].print(path, options, print)
+ return original.print(path, options, print)
1108
}
1109
printer.print = print
1110
1111
- if (base.printers['svelte-ast'].embed) {
1112
- printer.embed = new Proxy(base.printers['svelte-ast'].embed, {
+ if (original.embed) {
+ printer.embed = new Proxy(original.embed, {
1113
apply(target, thisArg, args) {
1114
let [path, options] = args
1115
0 commit comments