Agreeing with the [commenter here](https://substrate.stackexchange.com/a/2955/627) that it should actually be technically [do-able](https://github.com/polkadot-js/api/blob/master/packages/api-base/src/types/storage.ts). Hopefully... (It is never quite simple to fight with the TS type language for extraction magic, but quite satisfying to get it correct)
Agreeing with the commenter here that it should actually be technically do-able. Hopefully...
(It is never quite simple to fight with the TS type language for extraction magic, but quite satisfying to get it correct)