Skip to content
This repository was archived by the owner on Jul 9, 2021. It is now read-only.

Commit 5488581

Browse files
committed
[fixed] the type signature of the Documentation constructor options argument
1 parent e0e030a commit 5488581

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Documentation.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/* @flow */
22

3+
import type {DocumentationConfig} from './typedef';
34
import type {NativeProcess} from './NativeProcess';
45
import {join} from 'path';
56
import noop from 'lodash/noop';
@@ -55,9 +56,8 @@ export class Documentation {
5556
*/
5657
options: Object;
5758

58-
/* eslint-disable require-jsdoc */
59-
constructor(options: Object = {}) {
60-
/* eslint-enable require-jsdoc */
59+
// eslint-disable-next-line require-jsdoc
60+
constructor(options: DocumentationConfig = {}) {
6161
this.options = {...defaultOptions, ...options};
6262
}
6363

0 commit comments

Comments
 (0)