This polyfill supplies closest and matches to the Element type in certain templating situations, mostly to patch up IE (which as of version 11 still doesn't support these). We are removing IE support from WebSharper, so this polyfill should be removed also.
This polyfill supplies
closest
andmatches
to theElement
type in certain templating situations, mostly to patch up IE (which as of version 11 still doesn't support these). We are removing IE support from WebSharper, so this polyfill should be removed also.Users needing this polyfill for IE compatibility should probably use something more modern, such as https://www.npmjs.com/package/element-closest-polyfill or https://github.com/jonathantneal/closest.