From 676c5fe17281789df44ce14a4f899b7815fba0e5 Mon Sep 17 00:00:00 2001 From: ikopeykin Date: Fri, 12 Jul 2019 16:40:52 +0300 Subject: [PATCH] fix ResolveOptions.alias --- declarations/WebpackOptions.d.ts | 4 ++-- schemas/WebpackOptions.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/declarations/WebpackOptions.d.ts b/declarations/WebpackOptions.d.ts index 7f9301804..d9b630f22 100644 --- a/declarations/WebpackOptions.d.ts +++ b/declarations/WebpackOptions.d.ts @@ -696,11 +696,11 @@ export interface ResolveOptions { /** * New request */ - alias?: string | string[] | false; + alias: string | string[] | false; /** * Request to be redirected */ - name?: string; + name: string; /** * Redirect only exact matching request */ diff --git a/schemas/WebpackOptions.json b/schemas/WebpackOptions.json index 8cb7ce6db..d43f823ac 100644 --- a/schemas/WebpackOptions.json +++ b/schemas/WebpackOptions.json @@ -1310,7 +1310,8 @@ "description": "Redirect only exact matching request", "type": "boolean" } - } + }, + "required": ["alias", "name"] } } ]