Skip to content

Commit 75c6daf

Browse files
Fix types-reflect VFC usage
1 parent f313727 commit 75c6daf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

type-tests/types-reflect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ import { expectType } from 'tsd';
229229
},
230230
});
231231

232-
expectType<React.VFC>(ReflectedText);
232+
expectType<React.FC>(ReflectedText);
233233
}
234234

235235
// reflect should pass ref through

0 commit comments

Comments
 (0)