From: Eduardo San Martin Morote Date: Fri, 24 Apr 2020 12:06:10 +0000 (+0200) Subject: types(history): allow undefined in state X-Git-Tag: v4.0.0-alpha.8~43 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d0a08a565c3d5bf7fee8a4178aabfac153c9ffa4;p=thirdparty%2Fvuejs%2Frouter.git types(history): allow undefined in state --- diff --git a/src/history/common.ts b/src/history/common.ts index 09420236..2992e4bb 100644 --- a/src/history/common.ts +++ b/src/history/common.ts @@ -14,6 +14,7 @@ type HistoryStateValue = | number | boolean | null + | undefined | HistoryState | HistoryStateArray