Skip to content

ts import type #514

@ftoromanoff

Description

@ftoromanoff

Hello,
I use proj4 and I saw that in the new version the types of the variables are defined inside the code and we might not need to import DefinitelyTyped/types/proj4 to get the deintiion of interne type.

But I don't know how to import them when importing proj4.
For instance I would be able to do something like :
import type { ProjectionDefinition } from 'proj4';

What I'm doing wrong ?

Thanks in advance

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