terraformer-js / terraformer

A geographic toolkit for dealing with geometry, geography, formats, and building geodatabases
MIT License
187 stars 28 forks source link

typescript typings #46

Closed gavinr closed 4 years ago

gavinr commented 4 years ago

When I try to use

import { arcgisToGeoJSON } from "@terraformer/arcgis";

in a TypeScript project, I get the error:

semantic error TS7016: Could not find a declaration file for module '@terraformer/arcgis'.

How can we make these available? I think there was a previous version, perhaps we can use those?

jgravois commented 4 years ago

we definitely should be able to reuse those.

@zakjan already tackled @terraformer/spatial (see https://github.com/terraformer-js/terraformer/pull/34)

murrple-1 commented 3 years ago

There appears to not yet be typings for @terraformer/wkt.... I would argue this issue is not yet closable

HansBrende commented 3 years ago

@gavinr @terraformer/wkt still has no typings available...

Edit: I've created a new issue for the @terraformer/wkt typings, linked to below.