If you know how to fix the issue, make a pull request instead.
If you do not mention the authors the issue will be ignored.
@types/react-dom have a dependency @types/node, it will bring some problem.
Some types are different in NodeJS and browser, for example:
let timer: number = setTimeout(()=>{}, 100)
This should be compiled sucessfully, but get error Type 'Timer' is not assignable to type 'number'. if @types/node is exists.
If you know how to fix the issue, make a pull request instead.
@types/react-dompackage and had problems.Definitions by:inindex.d.ts) so they can respond.If you do not mention the authors the issue will be ignored.
@types/react-domhave a dependency@types/node, it will bring some problem.Some types are different in NodeJS and browser, for example:
This should be compiled sucessfully, but get error Type 'Timer' is not assignable to type 'number'. if
@types/nodeis exists.