Removes a given entry from the module's local storage.
Parameters
params: {key:string;type?:string}
The named parameters.
key: string
The key to remove.
Optionaltype?: string
The storage to act
upon.
Returns Promise<void>
Rejected promise represents an API violation.
Example
// To remove an element from storage. // Defaults to STORAGE_TYPE.Local awaitstorage_remove({key:"cool"}); // To specify type awaitstorage_remove({type:STORAGE_TYPE.Session, key:"cool"});
Removes a given entry from the module's local storage.