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:
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;
|
||||
|
||||
Reference in new issue
Block a user