Skip to content

[@types/topojson] Use topojson types for topojson-client #24941

@marcoqu

Description

@marcoqu

@denisname @tomwanzek @Ricardo-Mello

Is it possible to use topojson types when importing only topojson-client?

import * as topojson from "topojson-client";

If I just npm install the types, tsc gives me an error.
Could not find a declaration file for module 'topojson-client'.

Thanks!

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