fix(types): upgrade sveld and type constant props as accessors

This commit is contained in:
Eric Y Liu 2021-07-11 07:08:28 -07:00
commit 4e407aa8cd
10 changed files with 63 additions and 61 deletions

View file

@ -25,11 +25,13 @@ export default class LocalStorage extends SvelteComponentTyped<
> {
/**
* Remove the persisted key value from the browser's local storage
* @default () => { localStorage.removeItem(key); }
*/
clearItem: () => void;
/**
* Clear all key values from the browser's local storage
* @default () => { localStorage.clear(); }
*/
clearAll: () => void;
}