Skip to content

Commit

Permalink
Update typescript.mdx (#1557)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qwertic authored Dec 10, 2024
1 parent a0e6f57 commit d99d598
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/next/src/content/docs/llamaindex/setup/typescript.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
[TypeScript 5.0 blog](https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#--moduleresolution-bundler7).
Expand Down

0 comments on commit d99d598

Please sign in to comment.