v0-alpha / src-mq

Lucid breakpoints for JavaScript
MIT License
1 stars 0 forks source link

typescript intellisense #22

Open sndrs opened 5 years ago

sndrs commented 5 years ago

typescript should know what is available on from., until. etc.

how, do not know...

sndrs commented 5 years ago

leaving this here in case it helps https://medium.com/@wittydeveloper/typescript-make-types-real-the-type-guard-functions-814364e8dbe3

SiAdcock commented 5 years ago

Sorry @sndrs I have had just zero headspace to dedicate to this problem. I’m reasonably sure it can be achieved using genetics (eg passing a type parameter to the from object) but I haven’t had time to experiment