diff --git a/types/bootstrap-colorpicker/index.d.ts b/types/bootstrap-colorpicker/index.d.ts index 327802513b..d4a9fa9870 100644 --- a/types/bootstrap-colorpicker/index.d.ts +++ b/types/bootstrap-colorpicker/index.d.ts @@ -209,12 +209,7 @@ interface JQuery { /** * Initializes an colorpicker. */ - colorpicker(): JQuery; - - /** - * Initializes an colorpicker. - */ - colorpicker(options: ColorPickerOptions): JQuery; + colorpicker(options?: ColorPickerOptions): JQuery; /** * Gets the value from the input or the data attribute (if has no input), otherwise returns the default value, which defaults to #000000 if not specified.