Skip to content

Update compiler options to "react-jsx" #3

@scootyboots

Description

@scootyboots

Currently, typescript throws 'React' refers to a UMD global, but the current file is a module error without import React from 'react';

Consider updating tsconfig.json to react-jsx

"compilerOptions": {
    ...
    "jsx": "react-jsx",
    ...
}

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