diff --git a/src/components/Checkbox/checkbox.tsx b/src/components/Checkbox/checkbox.tsx index 5e6a4ca676..a9f2305886 100644 --- a/src/components/Checkbox/checkbox.tsx +++ b/src/components/Checkbox/checkbox.tsx @@ -12,7 +12,7 @@ export interface CheckboxProperties { label: ReactNode; /** Additional CSS classes applied to the checkbox's wrapper element */ className?: string; - /** Is checkboxed checked? */ + /** Is the checkbox checked? */ checked?: boolean; /** Additional text to further clarify purpose of checkbox */ helperText?: ReactNode; @@ -20,10 +20,9 @@ export interface CheckboxProperties { inputClassName?: string; /** Additional CSS classes that will be applied to checkbox label element */ labelClassName?: string; - /** React Ref to be enable direct access and control of the input element */ + /** React Ref to enable direct access and control of the input element */ inputRef?: | RefObject - | string | ((instance: HTMLInputElement | null) => void) | null | undefined; diff --git a/tsconfig.json b/tsconfig.json index 4673b5a16a..ee674b2e1b 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,7 @@ "strict": true, "forceConsistentCasingInFileNames": true, "module": "ESNext", - "moduleResolution": "Node", + "moduleResolution": "Bundler", "resolveJsonModule": true, "isolatedModules": true, "noEmit": true,