Skip to content
Snippets Groups Projects
Unverified Commit d99d5984 authored by Qwertic's avatar Qwertic Committed by GitHub
Browse files

Update typescript.mdx (#1557)

parent a0e6f57d
No related branches found
No related tags found
No related merge requests found
...@@ -84,7 +84,7 @@ Imaging you put output file into `/dist/openai.js` but you are importing `llamai ...@@ -84,7 +84,7 @@ Imaging you put output file into `/dist/openai.js` but you are importing `llamai
} }
``` ```
In old module resolution, TypeScript will not be able to find the module because it is not follow the file structure, even you run `node index.js` successfully. (on Node.js >=16) In old module resolution, TypeScript will not be able to find the module because it is not following the file structure, even you run `node index.js` successfully. (on Node.js >=16)
See more about [moduleResolution](https://www.typescriptlang.org/docs/handbook/modules/theory.html#module-resolution) or See more about [moduleResolution](https://www.typescriptlang.org/docs/handbook/modules/theory.html#module-resolution) or
[TypeScript 5.0 blog](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#--moduleresolution-bundler7). [TypeScript 5.0 blog](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#--moduleresolution-bundler7).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment