Initial storage in typescript
It would be good to export an initial_storage
type on top of storage
for Typescript interfaces to smart contracts. The difference would be only of this nature:
export type storage =
{
[...]
x : functolib.big_map<key,value>;
[...]
}
export type initial_storage =
{
[...]
x : MichelsonMap<key,value>;
[...]
}
I am not sure if the following solution would work:
export type storage =
{
[...]
x : functolib.big_map<key,value>|MichelsonMap<key,value>;
[...]
}