Typescript def seems to miss exports
razzeee opened this issue · comments
Kolja commented
As sync
now returns Output
, we need a way to tell the compiler which output it is.
One thing we could do is just cast x = x as PathsOutput;
but that needs the types combined to create Output
to be exported in the .d.ts
file.
Abdullah Atta commented
Yes, we can export the Output types.
I am not a TS Ninja but there might be some better way to automatically resolve this based on what flags are on. Open to any suggestions.