I see a way of writing in other people"s blogs that makes me confused. I can"t understand it. Can you tell me what version of grammar this is in ES? I only know ES6
.
instance method name followed by < T >, mapper: (doc:object) = > T): promise.. in the method parameters Two colons are concatenated to indicate that they do not understand