Skip to content

Commit

Permalink
docs: fix castArray import paths (#598)
Browse files Browse the repository at this point in the history
Closes #597
  • Loading branch information
wojtekmaj authored Sep 26, 2024
1 parent f7853a8 commit 7016baf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/ko/reference/compat/array/castArray.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]을 반환해요.
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/array/castArray.md
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 7016baf

Please sign in to comment.