Skip to content

Commit

Permalink
fix: change the return type
Browse files Browse the repository at this point in the history
  • Loading branch information
Indrani-Gostu committed May 15, 2024
1 parent c6ca356 commit 61fee84
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions packages/@atjson/offset-annotations/src/utils/social-urls.ts
Original file line number Diff line number Diff line change
Expand Up @@ -433,15 +433,7 @@ function normalizeRedditURL(url: IUrl) {
};
}

export function identify(url: IUrl): {
attributes: {
url: string;
width?: string;
height?: string;
sandbox?: string;
};
Class: typeof IframeEmbed;
} | null {
export function identify(url: IUrl) {
if (isRedditURL(url)) {
return normalizeRedditURL(url);
}
Expand Down

0 comments on commit 61fee84

Please sign in to comment.