冒号在这里是什么意思?

What does the colon mean here?

查看示例 SearchKit 代码(使用 react/jsx 和 es2015 编写),我在 jsx 文件中看到以下行:

const source:any = _.extend({}, result._source, result.highlight)

sourceany do/mean 之间的冒号是什么?

它看起来像 TypeScript typehint。这表明变量source可以是any类型。