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
fix(linter/plugins): fix type definition for VisitorObject (#20065)
Fixes#18154, #14745.
Use the bivariance hack to fix the type def for `VisitorObject`. The bivariance hack is taken from DefinitelyTyped/DefinitelyTyped#20219.
This was originally written by @sapphi-red in #19675. I've split it out into a separate PR. I can't claim to understand this witchcraft!
// See https://github.com/DefinitelyTyped/DefinitelyTyped/pull/20219 for why we need "Bivariance hack"
0 commit comments