Skip to content

Commit

Permalink
fix(type): add type of isSinglePageApplication
Browse files Browse the repository at this point in the history
  • Loading branch information
rdlabo committed Dec 19, 2019
1 parent 7f0c9e0 commit b469be6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/cli/src/collect/collect.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function buildCommand(yargs) {
isSinglePageApplication: {
description:
'If the application is created by Single Page Application, enable redirect to index.html.',
default: false,
},
chromePath: {
description: 'The path to the Chrome or Chromium executable to use for collection.',
Expand Down
1 change: 1 addition & 0 deletions types/collect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ declare global {
export interface Options {
url?: string | string[];
staticDistDir?: string;
isSinglePageApplication?: boolean;
startServerCommand?: string;
startServerReadyPattern: string;
chromePath?: string;
Expand Down

0 comments on commit b469be6

Please sign in to comment.