mirror of
https://github.com/Elvanos/fantasia-archive.git
synced 2024-05-18 19:23:05 +12:00
16 lines
304 B
TypeScript
16 lines
304 B
TypeScript
export interface I_faExternalLinksManagerAPI {
|
|
|
|
/**
|
|
* Check the type of link input
|
|
* true - Is external
|
|
* false - is not external
|
|
*/
|
|
checkIfExternal: (url: string) => boolean
|
|
|
|
/**
|
|
* Open external link in the default browser of the user
|
|
*/
|
|
openExternal: (url: string) => void
|
|
|
|
}
|