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 5a490bf commit 1e54f8dCopy full SHA for 1e54f8d
src/index.ts
@@ -1111,7 +1111,7 @@ export const printers: Record<string, Printer> = (function () {
1111
if (original.embed) {
1112
printer.embed = new Proxy(original.embed, {
1113
apply(target, thisArg, args) {
1114
- let [path, options] = args
+ let [path, options] = args as Parameters<typeof original.embed>
1115
mutateOriginalText(path, options)
1116
return Reflect.apply(target, thisArg, args)
1117
},
0 commit comments