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

Property 'beyond-layout-children' not recognized #1

Open
jircdev opened this issue Aug 2, 2023 · 0 comments
Open

Property 'beyond-layout-children' not recognized #1

jircdev opened this issue Aug 2, 2023 · 0 comments
Assignees
Labels
Code Editor Warning Indicates issues that result in code editor warnings or error messages but do not affect the functio improvement Identifies suggestions or enhancements that can improve the codebase, user experience, or project e

Comments

@jircdev
Copy link
Contributor

jircdev commented Aug 2, 2023

Issue Description:
I encountered an error while using the @beyond-js/react-18-widgets package in my TypeScript project. The error message is: "Property 'beyond-layout-children' does not exist on type 'JSX.IntrinsicElements'."

Package Version:
@beyond-js/react-18-widgets: [insert package version here]

Expected Behavior:
I expect the package to provide TypeScript declarations for all its components and properties so that TypeScript can recognize and type-check them without any errors.

Actual Behavior:
The beyond-layout-children property is not being recognized by TypeScript, leading to a compilation error. I believe this is due to missing or incorrect TypeScript declarations in the package.

Steps to Reproduce:

  1. Install the @beyond-js/react-18-widgets package in a TypeScript project.
  2. Use the beyond-layout-children property in a JSX element.
  3. Attempt to compile the TypeScript project.

Error Message:

Property 'beyond-layout-children' does not exist on type 'JSX.IntrinsicElements'.ts(2339)

.

Proposed Solution:
I suggest that the package maintainers add proper TypeScript declarations for all components and properties, including the 'beyond-layout-children' property. This will ensure that developers using TypeScript can benefit from type checking and avoid such compilation errors.

Please let me know if any additional information is required to address this issue. Thank you for your attention to this matter.

@jircdev jircdev added improvement Identifies suggestions or enhancements that can improve the codebase, user experience, or project e Code Editor Warning Indicates issues that result in code editor warnings or error messages but do not affect the functio labels Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Editor Warning Indicates issues that result in code editor warnings or error messages but do not affect the functio improvement Identifies suggestions or enhancements that can improve the codebase, user experience, or project e
Projects
None yet
Development

No branches or pull requests

2 participants