mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Add documenting ref to StrictReactNode type
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
parent
d8823085a8
commit
58263497ae
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user