# 2019.02.09

[新闻] 看 Ant Design 代码的时候,发现 const 有一个 as 的关键字,这是我第一次看到它。它是 TypeScript 的 类型断言 (opens new window),强制让 TS 将某变量视作特定类型:https://github.com/ant-design/ant-design/blob/6cdc203a2fc58b5c89ea7bfe0ef361e7afdf95e6/components/form/FormItem.tsx#L307 (opens new window)

[工具] 使用 React、Leaflet、D3 开发的自行车路线图演示效果 (opens new window)https://github.com/latviancoder/my-cycling-routes (opens new window)

[类库] Alfy 是创建 Alfred 工作流 (opens new window)的工具,像 VS Code 开发扩展一样便捷 :https://github.com/sindresorhus/alfy (opens new window)

[类库] VuePress 是语雀扩展,只需配置你的语雀 repo 地址,就能获得一个 VuePress 站点:https://github.com/ulivz/vuepress-plugin-yuque (opens new window)

# 配图 - 使用 React、Leaflet、D3 开发的自行车路线图

配图

Last Updated: 11/25/2019, 3:33:51 PM