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
delete
delete(key
): IStorage
<T
>
Parameters
Name | Type |
---|---|
key |
string |
Returns
IStorage
<T
>
Defined in
get
get<R
>(key
): void
| R
Type parameters
Name | Type |
---|---|
R |
T |
Parameters
Name | Type |
---|---|
key |
string |
Returns
void
| R
Defined in
exists
exists(key
): boolean
Parameters
Name | Type |
---|---|
key |
string |
Returns
boolean
Defined in
clear
clear(): IStorage
<T
>
Returns
IStorage
<T
>
Defined in
jodit/src/types/storage.d.ts:23