From 3de8a33026ce20189ca8a9b20d64d207591918d9 Mon Sep 17 00:00:00 2001 From: Marlon Passos <1marlonpassos@gmail.com> Date: Mon, 15 Jul 2024 02:07:23 -0300 Subject: [PATCH 1/3] docs: replace deprecad moduleResolution --- docs/guide/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/usage.md b/docs/guide/usage.md index c9197479183..43baf554af7 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -97,7 +97,7 @@ In order to have Faker working properly, you need to check if these `compilerOpt { "compilerOptions": { "esModuleInterop": true, - "moduleResolution": "Node" + "moduleResolution": "Node10" } } ``` From 6ff4f07b10cee84bbc65db62c779e16efbe150c6 Mon Sep 17 00:00:00 2001 From: Marlon Passos <1marlonpassos@gmail.com> Date: Mon, 15 Jul 2024 16:05:31 +0000 Subject: [PATCH 2/3] docs: Add additional options to the recommendation for moduleResulution. --- docs/guide/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/usage.md b/docs/guide/usage.md index 43baf554af7..ca07bdda85e 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -97,7 +97,7 @@ In order to have Faker working properly, you need to check if these `compilerOpt { "compilerOptions": { "esModuleInterop": true, - "moduleResolution": "Node10" + "moduleResolution": "Bundler", // "Node10", "Node16" or "NodeNext" } } ``` From 02eee50ee84e77024fca47a051569f7252e286d9 Mon Sep 17 00:00:00 2001 From: Marlon Passos <1marlonpassos@gmail.com> Date: Mon, 15 Jul 2024 21:57:30 +0000 Subject: [PATCH 3/3] docs: format usage.md --- docs/guide/usage.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guide/usage.md b/docs/guide/usage.md index ca07bdda85e..9c1e1612890 100644 --- a/docs/guide/usage.md +++ b/docs/guide/usage.md @@ -97,7 +97,7 @@ In order to have Faker working properly, you need to check if these `compilerOpt { "compilerOptions": { "esModuleInterop": true, - "moduleResolution": "Bundler", // "Node10", "Node16" or "NodeNext" + "moduleResolution": "Bundler" // "Node10", "Node16" or "NodeNext" } } ```