mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Tidy up link previews types
This commit is contained in:
6
js/modules/link_previews.d.ts
vendored
6
js/modules/link_previews.d.ts
vendored
@@ -1,3 +1,9 @@
|
||||
export function isLinkSafeToPreview(link: string): boolean;
|
||||
|
||||
export function findLinks(text: string, caretLocation?: number): Array<string>;
|
||||
|
||||
export function getDomain(href: string): string;
|
||||
|
||||
export function isLinkSneaky(link: string): boolean;
|
||||
|
||||
export function isStickerPack(href: string): boolean;
|
||||
|
||||
Reference in New Issue
Block a user