From 7016baf301e7695a494b746f6533a39da059ba7e Mon Sep 17 00:00:00 2001 From: Wojciech Maj Date: Thu, 26 Sep 2024 03:54:17 +0200 Subject: [PATCH] docs: fix castArray import paths (#598) Closes #597 --- docs/ko/reference/compat/array/castArray.md | 2 +- docs/reference/compat/array/castArray.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ko/reference/compat/array/castArray.md b/docs/ko/reference/compat/array/castArray.md index 03e5fd4b..8f57ef86 100644 --- a/docs/ko/reference/compat/array/castArray.md +++ b/docs/ko/reference/compat/array/castArray.md @@ -25,7 +25,7 @@ function castArray(value?: T | readonly T[]): T[]; ## 예시 ```typescript -import { castArray } from 'es-toolkit/array'; +import { castArray } from 'es-toolkit/compat'; const arr1 = castArray(1); // [1]을 반환해요. diff --git a/docs/reference/compat/array/castArray.md b/docs/reference/compat/array/castArray.md index da60403a..8226a428 100644 --- a/docs/reference/compat/array/castArray.md +++ b/docs/reference/compat/array/castArray.md @@ -25,7 +25,7 @@ function castArray(value?: T | readonly T[]): T[]; ## Examples ```typescript -import { castArray } from 'es-toolkit/array'; +import { castArray } from 'es-toolkit/compat'; const arr1 = castArray(1); // Returns: [1]