From d99d59849154e112197c34247d0e52bc47be6cd6 Mon Sep 17 00:00:00 2001 From: Qwertic <vodaregi@gmail.com> Date: Tue, 10 Dec 2024 04:52:15 +0100 Subject: [PATCH] Update typescript.mdx (#1557) --- apps/next/src/content/docs/llamaindex/setup/typescript.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/next/src/content/docs/llamaindex/setup/typescript.mdx b/apps/next/src/content/docs/llamaindex/setup/typescript.mdx index 434ab28fd..b25e5ee54 100644 --- a/apps/next/src/content/docs/llamaindex/setup/typescript.mdx +++ b/apps/next/src/content/docs/llamaindex/setup/typescript.mdx @@ -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). -- GitLab