From: pikax Date: Fri, 9 Apr 2021 12:19:38 +0000 (+0100) Subject: add couple more test X-Git-Tag: v4.1.0~118 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e36ea59eade421e1fc429daa5d7655752476fec0;p=thirdparty%2Fvuejs%2Frouter.git add couple more test --- diff --git a/test-dts/namedRoutes.test-d.ts b/test-dts/namedRoutes.test-d.ts index d7fbf19d..806de2fe 100644 --- a/test-dts/namedRoutes.test-d.ts +++ b/test-dts/namedRoutes.test-d.ts @@ -35,7 +35,7 @@ const routes = [ children: [ { name: '2', - children: [{ name: '3' }], + children: [{ name: '3', children: [{ name: '4' }] }], }, ], }, @@ -50,6 +50,9 @@ typed.tt typed[1] typed[2] typed[3] +typed[4] +//@ts-expect-error +typed['non-existing'] declare module './index' { interface NamedLocationMap {