Skip to content

pattern_format.d.ts and numeric_format.d.ts use REMOVED JSX Namespace in React 19 #877

Description

@KemalCos

Describe the issue and the actual behavior

If I use "skipLibCheck": true in the tsconfig.json I get ts error that namespace 'JSX' cannot found.

In React 19 the namespace 'JSX' is not global anymore.

export default function PatternFormat<BaseType = InputAttributes>(props: PatternFormatProps<BaseType>): JSX.Element;
export default function NumericFormat<BaseType = InputAttributes>(props: NumericFormatProps<BaseType>): JSX.Element;

Describe the expected behavior

I would expect that 'React.JSX' will be used instead of 'JSX'.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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