ef21b681(#8391) Fix a regression where typescript could not find types when using "moduleResolution": "node"
46451aee(#8268) Add top-level main, module and types fields in package.json to be compliant with typescripts’s "moduleResolution": "node"