Skip to content

Type definition case problem #33

@ttamminen

Description

@ttamminen

This PR that was merged and released to the version 1.2.7 has type definitions for the react-chartjs-2. Unfortunately, I get an error that module React cannot be found and it seems to be because React starts with an uppercase letter.

When I change the type definition file's first line to this:

import * as React from 'react';

Everything works correctly.

I am running on Windows system using tsc 1.8.10 and 2.0.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions