Skip to content

Commit

Permalink
chore: rename abstract storage to storage
Browse files Browse the repository at this point in the history
  • Loading branch information
Rue-pro committed Mar 19, 2024
1 parent dae1ec2 commit 625c0a3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/entities/language/model/SelectedLanguagesStorage.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { AbstractStorage } from '@entities/storage'
import { Storage } from '@entities/storage'

import { TLanguageCode } from '.'

export const SelectedLanguagesStorage = new AbstractStorage<TLanguageCode[]>(
export const SelectedLanguagesStorage = new Storage<TLanguageCode[]>(
'selected_languages',
[],
)
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { browser } from '@shared/browser'
import { TResult } from '@shared/libs/operationResult'

export class AbstractStorage<StorageValue> {
export class Storage<StorageValue> {
key: string
defaultValue: StorageValue

Expand Down
2 changes: 1 addition & 1 deletion src/entities/storage/model/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { AbstractStorage } from './AbstractStorage'
export { Storage } from './Storage'

0 comments on commit 625c0a3

Please sign in to comment.