gosling.js
gosling.js copied to clipboard
Remove `any` and specify types in the editor
Was just poking around with the editor to expose some of this Twitter behavior, cleaned up a few things. A general observation is that there is liberal use of any
, which makes TS utility extremely limited here.
Originally posted by @manzt in https://github.com/gosling-lang/gosling.js/issues/692#issuecomment-1127831816
Actually, this is an issue in the repo in general (not specific to the editor). I will continuously remove any
when updating codes.
We will eventually need type definitions for HiGlass-related functions/variables, such as BarTrack
which is a parent class of gosling-track
.
That's a great idea, especially as we built out Gosling further!