IStorage

types.IStorage

Type parameters

Name Type
T StorageValueType

Implemented by

set

set(key, value): IStorage<T>

Parameters

Name Type
key string
value T

Returns

IStorage<T>

Defined in

src/types/storage.d.ts#19


delete

delete(key): IStorage<T>

Parameters

Name Type
key string

Returns

IStorage<T>

Defined in

src/types/storage.d.ts#20


get

get<R>(key): void | R

Type parameters

Name Type
R T

Parameters

Name Type
key string

Returns

void | R

Defined in

src/types/storage.d.ts#21


exists

exists(key): boolean

Parameters

Name Type
key string

Returns

boolean

Defined in

src/types/storage.d.ts#22


clear

clear(): IStorage<T>

Returns

IStorage<T>

Defined in

jodit/src/types/storage.d.ts:23