Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong TS declaration of id at ColorPickerProps #251

Open
th1nkgr33n opened this issue Mar 14, 2023 · 0 comments
Open

Wrong TS declaration of id at ColorPickerProps #251

th1nkgr33n opened this issue Mar 14, 2023 · 0 comments

Comments

@th1nkgr33n
Copy link

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;
}
@th1nkgr33n th1nkgr33n changed the title Wrong TS declaration of id Wrong TS declaration of id at ColorPickerProps Mar 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant