refactor: improve type annotations in services and config
Some checks failed
Some checks failed
This commit is contained in:
parent
617654caeb
commit
d3b7e7d5e7
3 changed files with 7 additions and 5 deletions
|
@ -8,9 +8,10 @@ import { provideAnimationsAsync } from '@angular/platform-browser/animations/asy
|
|||
import { OAuthStorage, provideOAuthClient } from 'angular-oauth2-oidc';
|
||||
import { httpInterceptor } from './shared/interceptor/http.interceptor';
|
||||
|
||||
/* Example of a custom storage factory - not used in the current implementation
|
||||
function storageFactory() {
|
||||
return new (class implements OAuthStorage {
|
||||
private data: { [key: string]: string } = {};
|
||||
private data: Record<string, string> = {};
|
||||
|
||||
getItem(key: string): string | null {
|
||||
return this.data[key];
|
||||
|
@ -25,6 +26,7 @@ function storageFactory() {
|
|||
}
|
||||
})();
|
||||
}
|
||||
*/
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
providers: [
|
||||
|
|
Reference in a new issue