gosling.js icon indicating copy to clipboard operation
gosling.js copied to clipboard

Remove `any` and specify types in the editor

Open sehilyi opened this issue 2 years ago • 2 comments

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

sehilyi avatar May 17 '22 21:05 sehilyi

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.

sehilyi avatar May 19 '22 17:05 sehilyi

That's a great idea, especially as we built out Gosling further!

manzt avatar May 19 '22 18:05 manzt