Skip to content

Time Bookmarks Type Issue With csstype Package #218

Description

@sampsonbryce

I have made a repo with a reproduction of the issue and solutions I have tried https://github.com/sampsonbryce/gantt-compile-error-demo. Please checkout the README in the repo for more details.

Describe the bug
The time bookmarks plugin will not compile in a typescript project.

The offending file is gantt-schedule-timeline-calendar/dist/plugins/time-bookmarks.esm.min.d.ts

The error is

node_modules/gantt-schedule-timeline-calendar/dist/plugins/time-bookmarks.esm.min.d.ts:2:10 - error TS2305: Module '"../../../csstype"' has no exported member 'Color'.

2 import { Color } from 'csstype';
           ~~~~~


Found 1 error.

error Command failed with exit code 2.

gantt-schedule-timeline-calendar version
3.5.5

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