const ... = require()
es5
es2018
Node.js v10.x
supports es2018
es2019
esnext
as well as it wouldn't make sense to write code that the latest Node.js could write...but I could be wrongdeclaration: true
when you want to share a Typescript code across modulesjsx: react
when you want to share a React component across modulesdeclaration: true
jsx: react
string
or number
.Map
instead: