From 3f9906a2f8fd86e20e635b3fff605902b220dbde Mon Sep 17 00:00:00 2001 From: Evan You Date: Mon, 1 Mar 2021 12:31:40 -0500 Subject: [PATCH] test(types): test for tsx style validation --- test-dts/tsx.test-d.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test-dts/tsx.test-d.tsx b/test-dts/tsx.test-d.tsx index 43a2464b859..d1bacc9d735 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(
)