All New

user:thomas gists created by user

title:mygist gists with given title

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

Register

Login


All New Register Login

svp

Joined 1753446360

Recently created
Least recently created
Recently updated
Least recently updated
All gists 1

svp / local-storage.service.ts

0 likes
0 forks
1 files
Last active 1753446413
1 import { Injectable } from '@angular/core';
2 import { fromEvent, merge, Observable, Subject } from 'rxjs';
3 import { filter, map, startWith } from 'rxjs/operators';
4
5 export interface LocalStorageObject {
6 name: string;
7 value: string | null;
8 }
9
10 const deserializeValue = <T>(value: string): T => {
Newer Older

Powered by Opengist ⋅ Load: 51ms⋅

English
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ Discord