Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 753 Bytes

README.md

File metadata and controls

21 lines (13 loc) · 753 Bytes

Hastscript Test

Update

This was created to solve an isuue first noticed in a package that uses Typescript. The issue was that Typescript failed to import *.d.ts files without explicitly including the extension.

I have only seen this error in TypeScript 4.5.0-beta, when "module": "node12".

This issue has been resovlved by adding the following key to compilerOptions in tsconfig.json:

"moduleResolution": "node"

This parameter changes how Typescript resolves module names. See here for more.

Install and Build

yarn i && build