Skip to content

Instantly share code, notes, and snippets.

@itayod
Created May 25, 2019 13:43
Show Gist options
  • Save itayod/27d0a7c664df52b19d2054daf7b205b3 to your computer and use it in GitHub Desktop.
Save itayod/27d0a7c664df52b19d2054daf7b205b3 to your computer and use it in GitHub Desktop.
import {InjectionToken} from '@angular/core';
// token for the state keys.
export const ROOT_STORAGE_KEYS = new InjectionToken<string[]>('StoreKeys');
// token for the localStorage key.
export const ROOT_LOCAL_STORAGE_KEY = new InjectionToken<string[]>('appStorage');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment