Congb19

Results 4 comments of Congb19

发现一个错别字! ### strictNullChecks 默认情况下,像 null 和 undefined 这样的值可以赋值给其他的类型。这可以让我们更方 **_面_**(便?) 的写一些代码。但是忘记处理 null 和 undefined 也导致了不少的 bug,甚至有些人会称呼它为价值百万的错误! strictNullChecks 选项会让我们更明确的处理 null 和 undefined,也会让我们免于忧虑是否忘记处理 null 和 undefined 。

勘误: TypeScript 中的模块(Modules in TypeScript) -> 附加导入语法(Additional Import Syntax) 最后一行: > 在这个例子中, `import` 什么也没干,然而,~~` math.ts `~~ `maths.js` 的所有代码都会执行,触发一些影响其他对象的副作用(side-effects)。

same problem in vite but not use nuxt. I guess maybe it's because of windows shell access?the problem doesn't appear in a same enviroment in Macos (the same project, the...

> Same problem when I using node version 14.15.0, but I switch node to version 16.13.0 this problem did not show up. I delete the 'node_modules/.vite' folder and switch node...