fix: handle errors from Iframely
This commit is contained in:
@@ -225,5 +225,10 @@ export type Unfurl<T = OEmbedType> = {
|
||||
meta?: Record<string, string>;
|
||||
};
|
||||
|
||||
export type IframelyErrorResponse = {
|
||||
status: number;
|
||||
error: string;
|
||||
};
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
export type ProsemirrorData = Record<string, any>;
|
||||
|
||||
Reference in New Issue
Block a user