Skip to content

falsely reports sizes for type only imports #54

@bulldog98

Description

@bulldog98

if you have imports like this

import type { Feature, Map, MapBrowserEvent } from "ol";

// do something with the types

then a size is reported. That is wrong, since type imports are not ejected as javascript but simply deleted and only used for type checking

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