Skip to content
This repository has been archived by the owner on Jul 29, 2023. It is now read-only.

Commit

Permalink
docs: improve wording
Browse files Browse the repository at this point in the history
  • Loading branch information
chernodub committed Nov 9, 2022
1 parent 80f3c3d commit 20d07ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/ngx-lss/src/lib/ngx-local-storage.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ export const FORROOT_GUARD_TOKEN = new InjectionToken<void>('ROUTER_FORROOT_GUAR
type GuardedResult = boolean;

const MULTIPLE_FORROT_IMPORTS_ERROR =
`The NgxLocalStorageModule was provided more than once. This could happen when 'forRoot' is used outside of the root injector.`;
`The NgxLocalStorageModule was imported more than once. This could happen if 'forRoot' is used outside of the root injector.`;
const INITIALIZED_WITHOUT_FORROOT_ERROR = `NgxLocalStorageModule must be imported via 'forRoot()' call in your root module.`;

/**
* Module providing local storage adapter service.
* Must be provided once via static `forRoot()` method in order to prevent possible issues with multiple instances of the storage service.
* Must be imported once via static `forRoot()` method in order to prevent possible issues with multiple instances of the storage service.
*/
@NgModule()
export class NgxLocalStorageModule {
Expand Down

0 comments on commit 20d07ea

Please sign in to comment.