Skip to content

Commit 0288c75

Browse files
committed
docs: add declare keyword
1 parent 038c354 commit 0288c75

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/api/formsField.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This function returns `FormsField` object.
66
The `formsField()` takes 4 parameters:
77

88
```typescript
9-
function formsField<T extends (arg: any) => Form>(
9+
declare function formsField<T extends (arg: any) => Form>(
1010
generateForm: T,
1111
initialValueListOrLength: InitialValueListOrLength<T> = [],
1212
schema?: FormsFieldSchema<ReturnType<T>>,

docs/api/isValidForm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This function returns boolean.
66
The `isValidForm()` takes 1 parameter:
77

88
```typescript
9-
function isValidForm<T extends Form>(
9+
declare function isValidForm<T extends Form>(
1010
form: T | (T & { $key: number })
1111
): boolean;
1212
```

docs/api/toObject.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This function does not check if the form is valid.
66
The `toObject()` takes 1 parameter:
77

88
```typescript
9-
function toObject<T extends Form>(
9+
declare function toObject<T extends Form>(
1010
form: T | (T & { $key: number })
1111
): Expand<ToObjectOutput<T>>;
1212
```

0 commit comments

Comments
 (0)