Skip to content

Commit

Permalink
docs: Remove unnecessary export keywords (#883)
Browse files Browse the repository at this point in the history
* docs: Remove unnecessary export keywords

* Update docs/ja/reference/compat/predicate/isObjectLike.md

* Update docs/ko/reference/compat/predicate/isObjectLike.md

---------

Co-authored-by: Sojin Park <[email protected]>
  • Loading branch information
eunhyulkim and raon0211 authored Dec 8, 2024
1 parent 8757a87 commit 4cc2a89
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions docs/ja/reference/array/head.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
## インターフェース

```typescript
export function head<T>(arr: [T, ...T[]]): T;
export function head<T>(arr: T[]): T | undefined;
function head<T>(arr: [T, ...T[]]): T;
function head<T>(arr: T[]): T | undefined;
```

### パラメータ
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/array/sampleSize.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## インターフェース

```typescript
export function sampleSize<T>(array: T[], size: number): T[];
function sampleSize<T>(array: T[], size: number): T[];
```

### パラメータ
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 @@ -15,7 +15,7 @@ TypeScript の型ガードとして使用できます。パラメータとして
## インターフェース

```typescript
export function isObjectLike(value?: unknown): value is object;
function isObjectLike(value?: unknown): value is object;
```

### パラメータ
Expand Down
4 changes: 2 additions & 2 deletions docs/ja/reference/math/inRange.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
## インターフェース

```typescript
export function inRange(value: number, maximum: number): boolean;
export function inRange(value: number, minimum: number, maximum: number): boolean;
function inRange(value: number, maximum: number): boolean;
function inRange(value: number, minimum: number, maximum: number): boolean;
```

### パラメータ
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/math/meanBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## インターフェース

```typescript
export function meanBy<T>(items: T[], getValue: (element: T) => number): number;
function meanBy<T>(items: T[], getValue: (element: T) => number): number;
```

### パラメータ
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/math/medianBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## インターフェース

```typescript
export function medianBy<T>(items: T[], getValue: (element: T) => number): number;
function medianBy<T>(items: T[], getValue: (element: T) => number): number;
```

### パラメータ
Expand Down
2 changes: 1 addition & 1 deletion docs/ja/reference/math/sumBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## インターフェース

```typescript
export function sumBy<T>(items: T[], getValue: (element: T) => number): number;
function sumBy<T>(items: T[], getValue: (element: T) => number): number;
```

### パラメータ
Expand Down
8 changes: 4 additions & 4 deletions docs/ja/reference/object/findKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ findKey(users, o => o.age > 50); // undefined
### インターフェース

```typescript
export function findKey<T extends Record<any, any>>(
function findKey<T extends Record<any, any>>(
obj: T,
conditionToFind: (value: T[keyof T], key: keyof T, obj: T) => boolean
): keyof T | undefined;
export function findKey<T extends Record<any, any>>(obj: T, objectToFind: Partial<T[keyof T]>): keyof T | undefined;
export function findKey<T extends Record<any, any>>(
function findKey<T extends Record<any, any>>(obj: T, objectToFind: Partial<T[keyof T]>): keyof T | undefined;
function findKey<T extends Record<any, any>>(
obj: T,
propertyToFind: [keyof T[keyof T], any]
): keyof T | undefined;
export function findKey<T extends Record<any, any>>(obj: T, propertyToFind: keyof T[keyof T]): keyof T | undefined;
function findKey<T extends Record<any, any>>(obj: T, propertyToFind: keyof T[keyof T]): keyof T | undefined;
```

###
Expand Down
4 changes: 2 additions & 2 deletions docs/ko/reference/array/head.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
## 인터페이스

```typescript
export function head<T>(arr: [T, ...T[]]): T;
export function head<T>(arr: T[]): T | undefined;
function head<T>(arr: [T, ...T[]]): T;
function head<T>(arr: T[]): T | undefined;
```

### 파라미터
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/array/sampleSize.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## 인터페이스

```typescript
export function sampleSize<T>(array: T[], size: number): T[];
function sampleSize<T>(array: T[], size: number): T[];
```

### 파리미터
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 @@ -15,7 +15,7 @@ TypeScript의 타입 가드로 사용할 수 있어요. 파라미터로 주어
## 인터페이스

```typescript
export function isObjectLike(value?: unknown): value is object;
function isObjectLike(value?: unknown): value is object;
```

### 파라미터
Expand Down
4 changes: 2 additions & 2 deletions docs/ko/reference/math/inRange.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
## 인터페이스

```typescript
export function inRange(value: number, maximum: number): boolean;
export function inRange(value: number, minimum: number, maximum: number): boolean;
function inRange(value: number, maximum: number): boolean;
function inRange(value: number, minimum: number, maximum: number): boolean;
```

### 파라미터
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/math/meanBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## 인터페이스

```typescript
export function meanBy<T>(items: T[], getValue: (element: T) => number): number;
function meanBy<T>(items: T[], getValue: (element: T) => number): number;
```

### 파라미터
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/math/medianBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
## 인터페이스

```typescript
export function medianBy<T>(items: T[], getValue: (element: T) => number): number;
function medianBy<T>(items: T[], getValue: (element: T) => number): number;
```

### 파라미터
Expand Down
2 changes: 1 addition & 1 deletion docs/ko/reference/math/sumBy.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
## 인터페이스

```typescript
export function sumBy<T>(items: T[], getValue: (element: T) => number): number;
function sumBy<T>(items: T[], getValue: (element: T) => number): number;
```

### 파라미터
Expand Down
8 changes: 4 additions & 4 deletions docs/ko/reference/object/findKey.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,16 +47,16 @@ findKey(users, o => o.age > 50); // undefined
### 인터페이스

```typescript
export function findKey<T extends Record<any, any>>(
function findKey<T extends Record<any, any>>(
obj: T,
conditionToFind: (value: T[keyof T], key: keyof T, obj: T) => boolean
): keyof T | undefined;
export function findKey<T extends Record<any, any>>(obj: T, objectToFind: Partial<T[keyof T]>): keyof T | undefined;
export function findKey<T extends Record<any, any>>(
function findKey<T extends Record<any, any>>(obj: T, objectToFind: Partial<T[keyof T]>): keyof T | undefined;
function findKey<T extends Record<any, any>>(
obj: T,
propertyToFind: [keyof T[keyof T], any]
): keyof T | undefined;
export function findKey<T extends Record<any, any>>(obj: T, propertyToFind: keyof T[keyof T]): keyof T | undefined;
function findKey<T extends Record<any, any>>(obj: T, propertyToFind: keyof T[keyof T]): keyof T | undefined;
```

### 예시
Expand Down

0 comments on commit 4cc2a89

Please sign in to comment.