You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the readme, it says (program: ts.Program, config: PluginConfig, extras: TransformerExtras) => ts.TransformerFactory
which is read as ts.TransformerFactory<any> but that's wrong imho because the type param / shouldn't be any
Also the example gives me a type error, when i try to specify it either via, what's in the readme
In the readme, it says
(program: ts.Program, config: PluginConfig, extras: TransformerExtras) => ts.TransformerFactory
which is read as
ts.TransformerFactory<any>
but that's wrong imho because the type param / shouldn't beany
Also the example gives me a type error, when i try to specify it either via, what's in the readme
or via (taken from other projects):
or as returning
ts.TransformerFactory<ts.Node>
... nothing works.So this is rather unclear for a new user, what type should be returned.
Thx !
The text was updated successfully, but these errors were encountered: