![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
typescript
会点php的前端小渣渣
技术栈:mvc框架+react+vue+小程序+微信公众号开发
展开
-
引用require插件报错问题,Require statement not part of import statement.(@typescript-eslint/no-var-requires)
var shell = require('shelljs');提示报错:Require statement not part of import statement.eslint@typescript-eslint/no-var-requires解决方案:.eslintrc.js中的 rules 属性新增以下内容: rules: {undefined '@typescript-eslint/no-var-requires': 0 }...原创 2022-02-14 10:41:39 · 1370 阅读 · 0 评论 -
typeScript笔记整理
由于有新项目开发,打算尝尝很久之前就想用的ts.....换点新花样吧。内置对象ECMAScript 标准提供的内置对象有:Boolean、Error、Date、RegExp 等。DOM 和 BOM 提供的内置对象有:Document、HTMLElement、Event、NodeList 等。/************************************************/在 TypeScript 中,可以使用null和undefined来定义数据为空,n...原创 2021-04-28 10:51:35 · 513 阅读 · 0 评论