val-town / codemirror-ts

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

Switch from parameter-passing to using a facet #15

Closed tmcw closed 11 months ago

tmcw commented 11 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.