val-town / codemirror-ts

lint, hover, and autocomplete extensions for CodeMirror + TypeScript
https://val-town.github.io/codemirror-ts/
ISC License
105 stars 6 forks source link

Switch from parameter-passing to using a facet #15

Closed tmcw closed 6 months ago

tmcw commented 6 months ago

This is the right way to do it. Instead of passing arguments to the extensions, there should be a facet that they pull from.

It's a big breaking change! But I think it's necessary. Also cleans up the code a bit.