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

This commit is contained in:
Eric Liu 2021-07-11 07:21:50 -07:00 committed by GitHub
commit 54e1e07872
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}