1 2 3 4 5 6
function setTitleBar(type: number, b: any) { switch (type) { case 0: return localStorage.setItem("--titlebar-colour", b); } }