We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42cf34b commit 61f3217Copy full SHA for 61f3217
src/types.ts
@@ -279,7 +279,12 @@ export interface PortableTextMarkComponentProps<M extends TypedObject = Arbitrar
279
* Any node type that we can't identify - eg it has an `_type`,
280
* but we don't know anything about its other properties
281
*/
282
-export type UnknownNodeType = {[key: string]: unknown; _type: string} | TypedObject
+export type UnknownNodeType =
283
+ | {
284
+ _type: string;
285
+ [key: string]: unknown;
286
+ }
287
+ | TypedObject;
288
289
/**
290
* Function that renders any node that might appear in a portable text array or block,
0 commit comments