mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +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
16
types/FileUploader/FileUploader.d.ts
vendored
16
types/FileUploader/FileUploader.d.ts
vendored
|
@ -27,13 +27,6 @@ export interface FileUploaderProps
|
|||
*/
|
||||
multiple?: boolean;
|
||||
|
||||
/**
|
||||
* Override the default behavior of clearing the array of uploaded files
|
||||
* @constant
|
||||
* @default () => { files = []; }
|
||||
*/
|
||||
clearFiles?: () => void;
|
||||
|
||||
/**
|
||||
* Specify the label description
|
||||
* @default ""
|
||||
|
@ -84,4 +77,11 @@ export default class FileUploader extends SvelteComponentTyped<
|
|||
keydown: WindowEventMap["keydown"];
|
||||
},
|
||||
{}
|
||||
> {}
|
||||
> {
|
||||
/**
|
||||
* Override the default behavior of clearing the array of uploaded files
|
||||
* @constant
|
||||
* @default () => { files = []; }
|
||||
*/
|
||||
clearFiles: () => void;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue