export class Storage < T > { private _storage : T ; constructor ( defaults ) { this . _storage = defaults ; } public get ( ) { return this . _storage ; } public set ( updated ) { this . _storage = updated ; } }