mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-14 22:10:30 +00:00
Replace null JSX attributes by undefined
See https://github.com/hibiken/react-places-autocomplete/pull/256 See https://codesandbox.io/s/yw7o81nq39
This commit is contained in:
+2
-2
@@ -53,7 +53,7 @@ export interface PropTypes {
|
||||
role: 'combobox';
|
||||
'aria-autocomplete': 'list';
|
||||
'aria-expanded': boolean;
|
||||
'aria-activedescendant': string | null;
|
||||
'aria-activedescendant': string | undefined;
|
||||
disabled: boolean;
|
||||
onKeyDown: React.KeyboardEventHandler;
|
||||
onBlur: () => void;
|
||||
@@ -62,7 +62,7 @@ export interface PropTypes {
|
||||
} & InputProps;
|
||||
getSuggestionItemProps: <SuggestionProps extends {}>(suggestion: Suggestion, options?: SuggestionProps) => {
|
||||
key: number;
|
||||
id: string | null;
|
||||
id: string | undefined;
|
||||
role: 'option';
|
||||
onMouseEnter: () => void;
|
||||
onMouseLeave: () => void;
|
||||
|
||||
Reference in New Issue
Block a user