Skip to content

Wrong TS declaration of id at ColorPickerProps #251

Open
@th1nkgr33n

Description

@th1nkgr33n

Hey, I had some starting issues to setup the ts properly using your library.
In the end this was the last puzzle piece and I thing the type of the id inside ColorPickerProps shouldn't be null instead it should be a string?

export interface ColorPickerProps extends IroColorPickerOptions {
  display?: string;
  id?: null; <<<---- shouldn't this be a string?
  layout?: ColorPickerLayoutDefinition[] | ColorPickerLayoutShorthand;
  colors?: IroColorValue[];
  transparency?: boolean;
  margin: number;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions