From dd15fb1afbd3cb20d7c30c9cb4a8255c7e40aa33 Mon Sep 17 00:00:00 2001 From: D-Sketon <2055272094@qq.com> Date: Wed, 25 Sep 2024 20:55:53 +0800 Subject: [PATCH] docs: fix import --- docs/ja/reference/compat/predicate/isArguments.md | 2 +- docs/ja/reference/compat/predicate/isArrayLike.md | 2 +- docs/ja/reference/compat/predicate/isArrayLikeObject.md | 2 +- docs/ja/reference/compat/predicate/isObjectLike.md | 2 +- docs/ko/reference/compat/predicate/isArguments.md | 2 +- docs/ko/reference/compat/predicate/isArrayLike.md | 2 +- docs/ko/reference/compat/predicate/isArrayLikeObject.md | 2 +- docs/ko/reference/compat/predicate/isObject.md | 2 +- docs/ko/reference/compat/predicate/isObjectLike.md | 2 +- docs/reference/compat/predicate/isArguments.md | 2 +- docs/reference/compat/predicate/isArrayLike.md | 2 +- docs/reference/compat/predicate/isArrayLikeObject.md | 2 +- docs/reference/compat/predicate/isObject.md | 2 +- docs/reference/compat/predicate/isObjectLike.md | 2 +- docs/reference/compat/string/endsWith.md | 2 +- docs/reference/compat/string/startsWith.md | 2 +- docs/zh_hans/reference/compat/function/bindKey.md | 2 +- docs/zh_hans/reference/compat/predicate/isArguments.md | 2 +- docs/zh_hans/reference/compat/predicate/isArrayLike.md | 2 +- docs/zh_hans/reference/compat/predicate/isArrayLikeObject.md | 2 +- docs/zh_hans/reference/compat/predicate/isObjectLike.md | 2 +- 21 files changed, 21 insertions(+), 21 deletions(-) diff --git a/docs/ja/reference/compat/predicate/isArguments.md b/docs/ja/reference/compat/predicate/isArguments.md index b7afb4cbc..4e256ace1 100644 --- a/docs/ja/reference/compat/predicate/isArguments.md +++ b/docs/ja/reference/compat/predicate/isArguments.md @@ -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; diff --git a/docs/ja/reference/compat/predicate/isArrayLike.md b/docs/ja/reference/compat/predicate/isArrayLike.md index 2cb374ebb..064a7f3d8 100644 --- a/docs/ja/reference/compat/predicate/isArrayLike.md +++ b/docs/ja/reference/compat/predicate/isArrayLike.md @@ -29,7 +29,7 @@ function isArrayLike(value: unknown): value is ArrayLike; ## 例 ```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 diff --git a/docs/ja/reference/compat/predicate/isArrayLikeObject.md b/docs/ja/reference/compat/predicate/isArrayLikeObject.md index c72bd48cf..fa24a6458 100644 --- a/docs/ja/reference/compat/predicate/isArrayLikeObject.md +++ b/docs/ja/reference/compat/predicate/isArrayLikeObject.md @@ -29,7 +29,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike & 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 diff --git a/docs/ja/reference/compat/predicate/isObjectLike.md b/docs/ja/reference/compat/predicate/isObjectLike.md index 50dba314b..f671a94b9 100644 --- a/docs/ja/reference/compat/predicate/isObjectLike.md +++ b/docs/ja/reference/compat/predicate/isObjectLike.md @@ -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]; diff --git a/docs/ko/reference/compat/predicate/isArguments.md b/docs/ko/reference/compat/predicate/isArguments.md index 263cbd880..9a50ff950 100644 --- a/docs/ko/reference/compat/predicate/isArguments.md +++ b/docs/ko/reference/compat/predicate/isArguments.md @@ -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; diff --git a/docs/ko/reference/compat/predicate/isArrayLike.md b/docs/ko/reference/compat/predicate/isArrayLike.md index 556611b6c..30783b6f3 100644 --- a/docs/ko/reference/compat/predicate/isArrayLike.md +++ b/docs/ko/reference/compat/predicate/isArrayLike.md @@ -29,7 +29,7 @@ function isArrayLike(value: unknown): value is ArrayLike; ## 예시 ```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 diff --git a/docs/ko/reference/compat/predicate/isArrayLikeObject.md b/docs/ko/reference/compat/predicate/isArrayLikeObject.md index fa39bdd4c..f5ae66e68 100644 --- a/docs/ko/reference/compat/predicate/isArrayLikeObject.md +++ b/docs/ko/reference/compat/predicate/isArrayLikeObject.md @@ -31,7 +31,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike & 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 diff --git a/docs/ko/reference/compat/predicate/isObject.md b/docs/ko/reference/compat/predicate/isObject.md index c87c6a966..3e4f0073b 100644 --- a/docs/ko/reference/compat/predicate/isObject.md +++ b/docs/ko/reference/compat/predicate/isObject.md @@ -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]; diff --git a/docs/ko/reference/compat/predicate/isObjectLike.md b/docs/ko/reference/compat/predicate/isObjectLike.md index 00f4cb4f3..f8f8ddb49 100644 --- a/docs/ko/reference/compat/predicate/isObjectLike.md +++ b/docs/ko/reference/compat/predicate/isObjectLike.md @@ -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]; diff --git a/docs/reference/compat/predicate/isArguments.md b/docs/reference/compat/predicate/isArguments.md index cfd5a7c6a..ef65c50af 100644 --- a/docs/reference/compat/predicate/isArguments.md +++ b/docs/reference/compat/predicate/isArguments.md @@ -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; diff --git a/docs/reference/compat/predicate/isArrayLike.md b/docs/reference/compat/predicate/isArrayLike.md index d714cc6c6..d422fcf42 100644 --- a/docs/reference/compat/predicate/isArrayLike.md +++ b/docs/reference/compat/predicate/isArrayLike.md @@ -29,7 +29,7 @@ function isArrayLike(value: unknown): value is ArrayLike; ## 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 diff --git a/docs/reference/compat/predicate/isArrayLikeObject.md b/docs/reference/compat/predicate/isArrayLikeObject.md index 34f8c2794..daeec9e98 100644 --- a/docs/reference/compat/predicate/isArrayLikeObject.md +++ b/docs/reference/compat/predicate/isArrayLikeObject.md @@ -29,7 +29,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike & 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 diff --git a/docs/reference/compat/predicate/isObject.md b/docs/reference/compat/predicate/isObject.md index 5a8a034b6..35ffe407a 100644 --- a/docs/reference/compat/predicate/isObject.md +++ b/docs/reference/compat/predicate/isObject.md @@ -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]; diff --git a/docs/reference/compat/predicate/isObjectLike.md b/docs/reference/compat/predicate/isObjectLike.md index a997b58e3..1721e50cd 100644 --- a/docs/reference/compat/predicate/isObjectLike.md +++ b/docs/reference/compat/predicate/isObjectLike.md @@ -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]; diff --git a/docs/reference/compat/string/endsWith.md b/docs/reference/compat/string/endsWith.md index 99e870914..ded62c209 100644 --- a/docs/reference/compat/string/endsWith.md +++ b/docs/reference/compat/string/endsWith.md @@ -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 diff --git a/docs/reference/compat/string/startsWith.md b/docs/reference/compat/string/startsWith.md index 493ff116c..290711930 100644 --- a/docs/reference/compat/string/startsWith.md +++ b/docs/reference/compat/string/startsWith.md @@ -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 diff --git a/docs/zh_hans/reference/compat/function/bindKey.md b/docs/zh_hans/reference/compat/function/bindKey.md index 58b8f0c8d..f037f7b5d 100644 --- a/docs/zh_hans/reference/compat/function/bindKey.md +++ b/docs/zh_hans/reference/compat/function/bindKey.md @@ -40,7 +40,7 @@ namespace bindKey { ## 示例 ```typescript -import { bindKey } from 'es-toolkit/function'; +import { bindKey } from 'es-toolkit/compat'; const object = { user: 'fred', diff --git a/docs/zh_hans/reference/compat/predicate/isArguments.md b/docs/zh_hans/reference/compat/predicate/isArguments.md index 64a7285c9..80a59d6c8 100644 --- a/docs/zh_hans/reference/compat/predicate/isArguments.md +++ b/docs/zh_hans/reference/compat/predicate/isArguments.md @@ -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; diff --git a/docs/zh_hans/reference/compat/predicate/isArrayLike.md b/docs/zh_hans/reference/compat/predicate/isArrayLike.md index 1c11ac361..5b3be5f5b 100644 --- a/docs/zh_hans/reference/compat/predicate/isArrayLike.md +++ b/docs/zh_hans/reference/compat/predicate/isArrayLike.md @@ -30,7 +30,7 @@ function isArrayLike(value: unknown): value is ArrayLike; ## 示例 ```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 diff --git a/docs/zh_hans/reference/compat/predicate/isArrayLikeObject.md b/docs/zh_hans/reference/compat/predicate/isArrayLikeObject.md index b491610e7..96ece3415 100644 --- a/docs/zh_hans/reference/compat/predicate/isArrayLikeObject.md +++ b/docs/zh_hans/reference/compat/predicate/isArrayLikeObject.md @@ -31,7 +31,7 @@ function isArrayLikeObject(value: unknown): value is ArrayLike & 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 diff --git a/docs/zh_hans/reference/compat/predicate/isObjectLike.md b/docs/zh_hans/reference/compat/predicate/isObjectLike.md index d3c35f2e6..06982f72f 100644 --- a/docs/zh_hans/reference/compat/predicate/isObjectLike.md +++ b/docs/zh_hans/reference/compat/predicate/isObjectLike.md @@ -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];