Files
DefinitelyTyped/types/wellknown/wellknown-tests.ts
2017-06-26 14:32:00 +03:00

8 lines
169 B
TypeScript

import * as wellknown from 'wellknown';
wellknown.parse("POINT(1 2)");
const geoJson: {} = {
coordinates: [1, 2],
type: "Point"
};
wellknown.stringify(geoJson);