Typescript
ljw1412
这个作者很懒,什么都没留下…
展开
-
[ typescript ] 深度定义对象只读
As of TypeScript 2.8, this is now possible and actually an example in the PR for Conditional Types:https://github.com/Microsoft/TypeScript/pull/21316Also see the notes on type inference for Condi...转载 2020-04-26 18:34:24 · 775 阅读 · 0 评论 -
[ vue-cli3 | typescript ] moment 全局引入
第一步:引入包1. npm引入npm install moment 配置vue.config.jsconst webpack = require('webpack')module.exports = { configureWebpack: { plugins: [ new webpack.ProvidePlugin({ mom...原创 2019-12-19 13:25:13 · 3674 阅读 · 0 评论