From: Evan You Date: Mon, 1 Mar 2021 17:31:40 +0000 (-0500) Subject: test(types): test for tsx style validation X-Git-Tag: v3.0.8~78 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3f9906a2f8fd86e20e635b3fff605902b220dbde;p=thirdparty%2Fvuejs%2Fcore.git test(types): test for tsx style validation --- diff --git a/test-dts/tsx.test-d.tsx b/test-dts/tsx.test-d.tsx index 43a2464b85..d1bacc9d73 100644 --- a/test-dts/tsx.test-d.tsx +++ b/test-dts/tsx.test-d.tsx @@ -12,6 +12,15 @@ expectType(
) expectType(
) expectType() +// @ts-expect-error style css property validation +expectError(
) + +// allow array styles and nested array styles +expectType(
) +expectType( +
+) + // @ts-expect-error unknown prop expectError(
)