From f5baf33539adb8b734c87be54ba27020455e2633 Mon Sep 17 00:00:00 2001 From: Rebecca Burch <58955802+thinklikeadesigner@users.noreply.github.com> Date: Thu, 22 Jul 2021 15:46:23 -0500 Subject: [PATCH] Document #3008 adds a test to no-unused-prop-types - to figure out why there's a false positive - adds easy way to keep investivating issue - No side effects --- tests/lib/rules/no-unused-prop-types.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/tests/lib/rules/no-unused-prop-types.js b/tests/lib/rules/no-unused-prop-types.js index c83be21f2d..7a303ae74c 100644 --- a/tests/lib/rules/no-unused-prop-types.js +++ b/tests/lib/rules/no-unused-prop-types.js @@ -3948,6 +3948,22 @@ ruleTester.run('no-unused-prop-types', rule, { `, features: ['types'], }, + { + code: ` + interface SlideProps { + isActive: boolean; + } + + function App(){ + return ( +