docs: fix castArray import paths (#598)

Closes #597
This commit is contained in:
Wojciech Maj 2024-09-26 03:54:17 +02:00 committed by GitHub
parent f7853a80c1
commit 7016baf301
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@ function castArray<T>(value?: T | readonly T[]): T[];
## 예시
```typescript
import { castArray } from 'es-toolkit/array';
import { castArray } from 'es-toolkit/compat';
const arr1 = castArray(1);
// [1]을 반환해요.

View File

@ -25,7 +25,7 @@ function castArray<T>(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]