Closed lxe closed 6 years ago
You should be able to do,
map<string, i64 (js.type = "Long")>
set<i64 (js.type = "Long")>
Or better yet, declare a typedef and use that.
typedef i64 (js.type = "Long") Long
Then,
map<string, Long>
set<Long>
Thank you @abhinav. This worked
What's the proper way to annotate the
map<string, i64>
andset<i64>
types? Doinggenerates this error:
while
generates this error: