Pylance warns about type mismatch for click_options

After upgrading to v23.0.0 in my projects, VSCode (or rather Pylance/Pyright) complains that the parameter type for typed_settings.click_options is not correct. It still works as expected though. Here is a concrete example in a quite small codebase:

The error message reads as follows:

Line 21, Columns 19-25

Argument of type "Type[Config]" cannot be assigned to parameter "settings_cls" of type "Type[ST@click_options]" in function "click_options"
  Type "Config" cannot be assigned to type "AttrsInstance"
    "Config" is incompatible with protocol "AttrsInstance"
      "__attrs_attrs__" is not present