Tidy up link previews types
This commit is contained in:
parent
dd8a2435ea
commit
b7cd0b1bf7
2 changed files with 8 additions and 12 deletions
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue