We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a8db835 + 452f176 commit 37aea4eCopy full SHA for 37aea4e
docs/site/angular-auth-oidc-client/docs/documentation/custom-storage.md
@@ -14,11 +14,11 @@ import { AbstractSecurityStorage } from 'angular-auth-oidc-client';
14
15
@Injectable()
16
export class MyStorageService implements AbstractSecurityStorage {
17
- read(key: string) {
+ read(key: string): string | null {
18
return localStorage.getItem(key);
19
}
20
21
- write(key: string, value: any): void {
+ write(key: string, value: string): void {
22
localStorage.setItem(key, value);
23
24
0 commit comments