Sorry for opening so many issues -- this is a very exciting project :)
From what I understand with vapour, there's a plan to generate types for a lot of R, but that understandably wouldn't be feasible for every package and function. So, I suppose that either functions are imported as any typed, or you have to define types like in a types.d.ts file. Is my understanding correct?
In typescript, you can use the as keyword to tell the type checker a variable is a specific type. Is this something that might be useful for vapour? Maybe a different form because of the name collision with as.xyz()...
Sorry for opening so many issues -- this is a very exciting project :)
From what I understand with vapour, there's a plan to generate types for a lot of R, but that understandably wouldn't be feasible for every package and function. So, I suppose that either functions are imported as
any
typed, or you have to define types like in atypes.d.ts
file. Is my understanding correct?In typescript, you can use the
as
keyword to tell the type checker a variable is a specific type. Is this something that might be useful for vapour? Maybe a different form because of the name collision withas.xyz()
...