1
0
mirror of https://github.com/lensapp/lens.git synced 2024-09-11 09:25:26 +03:00

chore: Add documenting ref to StrictReactNode type

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2023-05-10 10:15:27 -04:00
parent d8823085a8
commit 58263497ae

View File

@ -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;