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

Commit

Permalink
[fixed] the type signature of the Documentation constructor `option…
Browse files Browse the repository at this point in the history
…s` argument
  • Loading branch information
thealjey committed Apr 5, 2017
1 parent e0e030a commit 5488581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Documentation.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
/* @flow */

import type {DocumentationConfig} from './typedef';
import type {NativeProcess} from './NativeProcess';
import {join} from 'path';
import noop from 'lodash/noop';
Expand Down Expand Up @@ -55,9 +56,8 @@ export class Documentation {
*/
options: Object;

/* eslint-disable require-jsdoc */
constructor(options: Object = {}) {
/* eslint-enable require-jsdoc */
// eslint-disable-next-line require-jsdoc
constructor(options: DocumentationConfig = {}) {
this.options = {...defaultOptions, ...options};
}

Expand Down

0 comments on commit 5488581

Please sign in to comment.