mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
fix(types): upgrade sveld and type constant props as accessors (#742)
This commit is contained in:
parent
fac78ee4aa
commit
54e1e07872
10 changed files with 63 additions and 61 deletions
2
types/LocalStorage/LocalStorage.d.ts
vendored
2
types/LocalStorage/LocalStorage.d.ts
vendored
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue