Expose urlRegex in the public .d.ts file.

This commit is contained in:
Pavel Sychev
2022-03-30 14:30:56 +02:00
committed by Pavel Sychev
parent 89af5b1098
commit 7f87b46328
@@ -49,5 +49,10 @@ declare module 'xterm-addon-web-links' {
* happen even when tooltipCallback hasn't fired for the link yet.
*/
leave?(event: MouseEvent, text: string): void;
/**
* A callback to use instead of the default one.
*/
urlRegex?: RegExp;
}
}