You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This error is correct. Now it is possible that plugin hooks are objects instead of functions and you should use a type guard if you want to directly call a plugin hook.
This change which is breaking for you was unavoidable to introduce the feature. Nevertheless we chose to introduce it in a minor version as it should not affect end users and is only a typing issue.
Rollup Version
2.78.0
Operating System (or Browser)
all
Node Version (if applicable)
No response
Link To Reproduction
https://github.com/jeremymeng/rollup-repro
Expected Behaviour
existing code not broken
Actual Behaviour
This seems to be related to PR #4600. Before that
load
is of typeany
. Now it's anObjectHook<>
The text was updated successfully, but these errors were encountered: