Skip to content

Commit

Permalink
suspend overload error here
Browse files Browse the repository at this point in the history
  • Loading branch information
lifeart committed Sep 1, 2021
1 parent 16ebeca commit 340d42d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/compat/src/v1-addon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,7 @@ export default class V1Addon {
name: string,
{ neuterPreprocessors } = { neuterPreprocessors: false }
): Node | undefined {
// @ts-expect-error have no idea why throughTreeCache overload is not working here..
return this.throughTreeCache(name, 'original', () => {
// get the real addon as we're going to patch and restore `preprocessJs`
const realAddon = getRealAddon(this.addonInstance);
Expand Down

0 comments on commit 340d42d

Please sign in to comment.