Last active
May 17, 2020 16:02
-
-
Save splincode/280c5272fcbc8b80e214dcf8f742607d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@StateRepository() | |
@State<AuthModel>({ | |
name: 'auth', | |
defaults: { | |
token: null, | |
exp: null | |
} | |
}) | |
@Injectable() | |
export class AuthState extends NgxsDataRepository<AuthModel> { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment