Revert "Refactor prop types to omit redundant null for null | HTMLElement types" (#1008)

#996
This commit is contained in:
Eric Liu 2022-01-14 11:29:37 -10:00 committed by GitHub
commit 653a601f9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 35 additions and 40 deletions

View file

@ -197,13 +197,13 @@ export interface MultiSelectProps
* Obtain a reference to the field box element
* @default null
*/
fieldRef?: HTMLDivElement;
fieldRef?: null | HTMLDivElement;
/**
* Obtain a reference to the selection element
* @default null
*/
selectionRef?: HTMLDivElement;
selectionRef?: null | HTMLDivElement;
}
export default class MultiSelect extends SvelteComponentTyped<