chore: Add documenting ref to StrictReactNode type

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-12 14:14:38 -04:00
1 parent 78085d2fb7
commit cc9c246b65
1 file changed
+2
@@ -6,6 +6,8 @@
import React from "react"; import React from "react";
import { isObject } from "./type-narrowing"; import { isObject } from "./type-narrowing";
// ref: https://changelog.com/posts/the-react-reactnode-type-is-a-black-hole
export type StrictReactFragment = export type StrictReactFragment =
| { | {
key?: string | number | null; key?: string | number | null;