mirror of
https://github.com/Mastermindzh/tidal-hifi.git
synced 2025-09-21 02:59:13 +02:00
transitioning to ts
This commit is contained in:
7
src/scripts/window-functions.ts
Normal file
7
src/scripts/window-functions.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export const setTitle = function (title: string) {
|
||||
window.document.title = title;
|
||||
};
|
||||
|
||||
export const getTitle = function () {
|
||||
return window.document.title;
|
||||
};
|
Reference in New Issue
Block a user