Skip to content

Commit

Permalink
docs: fix import (#599)
Browse files Browse the repository at this point in the history
* docs: fix import

* docs: fix import
  • Loading branch information
D-Sketon authored Sep 26, 2024
1 parent 92500e5 commit f7853a8
Show file tree
Hide file tree
Showing 26 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion docs/ja/reference/array/forEachRight.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function forEachRight<T>(arr: T[], callback: (value: T, index: number, arr: T[])
##

```ts
import { forEachRight } from 'es-toolkit/forEachRight';
import { forEachRight } from 'es-toolkit/array';

const array = [1, 2, 3];
const result: number[] = [];
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/compat/predicate/isArguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArguments(value?: unknown): value is IArguments;
##

```typescript
import { isArguments } from 'es-toolkit/predicate';
import { isArguments } from 'es-toolkit/compat';

const args = (function () {
return arguments;
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/compat/predicate/isArrayLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArrayLike(value: unknown): value is ArrayLike<unknown>;
##

```typescript
import { isArrayLike } from 'es-toolkit/predicate';
import { isArrayLike } from 'es-toolkit/compat';

console.log(isArrayLike([1, 2, 3])); // true
console.log(isArrayLike('abc')); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/compat/predicate/isArrayLikeObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike<unknown> & object
##

```typescript
import { isArrayLikeObject } from 'es-toolkit/predicate';
import { isArrayLikeObject } from 'es-toolkit/compat';

console.log(isArrayLikeObject([1, 2, 3])); // true
console.log(isArrayLikeObject({ 0: 'a', length: 1 })); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/compat/predicate/isObjectLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function isObjectLike(value: unknown): value is object;
##

```typescript
import { isObjectLike } from 'es-toolkit/predicate';
import { isObjectLike } from 'es-toolkit/compat';

const value1 = { a: 1 };
const value2 = [1, 2, 3];
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/array/forEachRight.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function forEachRight<T>(arr: T[], callback: (value: T, index: number, arr: T[])
## 예시

```ts
import { forEachRight } from 'es-toolkit/forEachRight';
import { forEachRight } from 'es-toolkit/array';

const array = [1, 2, 3];
const result: number[] = [];
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/compat/predicate/isArguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArguments(value?: unknown): value is IArguments;
## 예시

```typescript
import { isArguments } from 'es-toolkit/predicate';
import { isArguments } from 'es-toolkit/compat';

const args = (function () {
return arguments;
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/compat/predicate/isArrayLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArrayLike(value: unknown): value is ArrayLike<unknown>;
## 예시

```typescript
import { isArrayLike } from 'es-toolkit/predicate';
import { isArrayLike } from 'es-toolkit/compat';

console.log(isArrayLike([1, 2, 3])); // true
console.log(isArrayLike('abc')); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/compat/predicate/isArrayLikeObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike<unknown> & object
## 예시

```typescript
import { isArrayLikeObject } from 'es-toolkit/predicate';
import { isArrayLikeObject } from 'es-toolkit/compat';

console.log(isArrayLikeObject([1, 2, 3])); // true
console.log(isArrayLikeObject({ 0: 'a', length: 1 })); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/compat/predicate/isObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isObject(value: unknown): value is object;
## 예시

```typescript
import { isObject } from 'es-toolkit/predicate';
import { isObject } from 'es-toolkit/compat';

const value1 = {};
const value2 = [1, 2, 3];
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/compat/predicate/isObjectLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export function isObjectLike(value: unknown): value is object;
## 예시

```typescript
import { isObjectLike } from 'es-toolkit/predicate';
import { isObjectLike } from 'es-toolkit/compat';

const value1 = { a: 1 };
const value2 = [1, 2, 3];
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/array/forEachRight.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function forEachRight<T>(arr: T[], callback: (value: T, index: number, arr: T[])
## Examples

```ts
import { forEachRight } from 'es-toolkit/forEachRight';
import { forEachRight } from 'es-toolkit/array';

const array = [1, 2, 3];
const result: number[] = [];
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/predicate/isArguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArguments(value: unknown): value is IArguments;
## Examples

```typescript
import { isArguments } from 'es-toolkit/predicate';
import { isArguments } from 'es-toolkit/compat';

const args = (function () {
return arguments;
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/predicate/isArrayLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArrayLike(value: unknown): value is ArrayLike<unknown>;
## Examples

```typescript
import { isArrayLike } from 'es-toolkit/predicate';
import { isArrayLike } from 'es-toolkit/compat';

console.log(isArrayLike([1, 2, 3])); // true
console.log(isArrayLike('abc')); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/predicate/isArrayLikeObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike<unknown> & object
## Examples

```typescript
import { isArrayLikeObject } from 'es-toolkit/predicate';
import { isArrayLikeObject } from 'es-toolkit/compat';

console.log(isArrayLikeObject([1, 2, 3])); // true
console.log(isArrayLikeObject({ 0: 'a', length: 1 })); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/predicate/isObject.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function isObject(value: unknown): value is object;
## Examples

```typescript
import { isObject } from 'es-toolkit/predicate';
import { isObject } from 'es-toolkit/compat';

const value1 = {};
const value2 = [1, 2, 3];
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/predicate/isObjectLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function isObjectLike(value: unknown): value is object;
## Examples

```typescript
import { isObjectLike } from 'es-toolkit/predicate';
import { isObjectLike } from 'es-toolkit/compat';

const value1 = { a: 1 };
const value2 = [1, 2, 3];
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/string/endsWith.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function endsWith(str: string, target: string, position: number = 0): string;
## Examples

```typescript
import { endsWith } from 'es-toolkit/string';
import { endsWith } from 'es-toolkit/compat';

endsWith('fooBar', 'foo'); // returns false
endsWith('fooBar', 'Bar'); // returns true
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/compat/string/startsWith.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function startsWith(str: string, target: string, position: number = 0): string;
## Examples

```typescript
import { startsWith } from 'es-toolkit/string';
import { startsWith } from 'es-toolkit/compat';

startsWith('fooBar', 'foo'); // returns true
startsWith('fooBar', 'Bar'); // returns false
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/array/forEachRight.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function forEachRight<T>(arr: T[], callback: (value: T, index: number, arr: T[])
## 示例

```ts
import { forEachRight } from 'es-toolkit/forEachRight';
import { forEachRight } from 'es-toolkit/array';

const array = [1, 2, 3];
const result: number[] = [];
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/compat/function/bindKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace bindKey {
## 示例

```typescript
import { bindKey } from 'es-toolkit/function';
import { bindKey } from 'es-toolkit/compat';

const object = {
user: 'fred',
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/compat/function/rearg.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function rearg<F extends (...args: any[]) => any>(
## 示例

```typescript
import { rearg } from 'es-toolkit/function';
import { rearg } from 'es-toolkit/compat';

const rearged = rearg(
function (a, b, c) {
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/compat/predicate/isArguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function isArguments(value?: unknown): value is IArguments;
## 示例

```typescript
import { isArguments } from 'es-toolkit/predicate';
import { isArguments } from 'es-toolkit/compat';

const args = (function () {
return arguments;
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/compat/predicate/isArrayLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function isArrayLike(value: unknown): value is ArrayLike<unknown>;
## 示例

```typescript
import { isArrayLike } from 'es-toolkit/predicate';
import { isArrayLike } from 'es-toolkit/compat';

console.log(isArrayLike([1, 2, 3])); // true
console.log(isArrayLike('abc')); // true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike<unknown> & object
## 示例

```typescript
import { isArrayLikeObject } from 'es-toolkit/predicate';
import { isArrayLikeObject } from 'es-toolkit/compat';

console.log(isArrayLikeObject([1, 2, 3])); // true
console.log(isArrayLikeObject({ 0: 'a', length: 1 })); // true
Expand Down
2 changes: 1 addition & 1 deletion docs/zh_hans/reference/compat/predicate/isObjectLike.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function isObjectLike(value: unknown): value is object;
## 示例

```typescript
import { isObjectLike } from 'es-toolkit/predicate';
import { isObjectLike } from 'es-toolkit/compat';

const value1 = { a: 1 };
const value2 = [1, 2, 3];
Expand Down

0 comments on commit f7853a8

Please sign in to comment.