This commit is contained in:
Luiz Silva 2026-02-08 20:30:35 -03:00
parent 0cbe901499
commit dbe0f66daf
51 changed files with 30 additions and 304 deletions

4
src/local/index.ts Normal file → Executable file
View file

@ -6,8 +6,8 @@ export const localValor = <T>(
chave_: string | any,
valor?: T | null,
): T | null => {
const localStorage = globalThis.localStorage
const localStorage =
"localStorage" in globalThis ? (globalThis as any).localStorage : undefined
if (typeof localStorage == "undefined") return null
const chave =