From b03afd287acc7a4da4ee1f57e4411f5e7b34283f Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Wed, 15 Apr 2020 16:27:35 +0530 Subject: [PATCH] chore: add type metadata --- packages/webpack-scaffold/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack-scaffold/src/index.ts b/packages/webpack-scaffold/src/index.ts index 4b62c74c4cb..73488052b51 100755 --- a/packages/webpack-scaffold/src/index.ts +++ b/packages/webpack-scaffold/src/index.ts @@ -109,7 +109,7 @@ export function InputValidate( message: string, cb?: (input: string) => string | boolean, defaultChoice?: string, - skip?: boolean, + skip = false, ): object | any { if (skip) return { [name]: defaultChoice }; const input: Generator.Question = {