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-15 11:56:30 -04:00
1 parent d8823085a8
commit 58263497ae
1 file changed
+2
@@ -6,6 +6,8 @@
import React from "react";
import { isObject } from "./type-narrowing";
// ref: https://changelog.com/posts/the-react-reactnode-type-is-a-black-hole
export type StrictReactFragment =
| {
key?: string | number | null;