alesgenova / post-me

📩 Use web Workers and other Windows through a simple Promise API
https://www.npmjs.com/package/post-me
MIT License
492 stars 13 forks source link

Provide strong typing for deeply nested models/methods #21

Closed alesgenova closed 3 years ago

alesgenova commented 3 years ago

So far, strong typing is only available for a flat models/methods object. Need to investigate whether new typescript features would allow us to extend strong typing to a nested object.

alesgenova commented 3 years ago

With the current set of features provided by Typescript this in not feasible for now. Hopefully I can revisit it in the future