index.d.ts 354 B

12345678910111213141516
  1. import { Feature, LineString } from 'geojson';
  2. import { Units } from '@turf/helpers';
  3. /**
  4. * http://turfjs.org/docs/
  5. */
  6. declare function lineSliceAlong(
  7. line: Feature<LineString> | LineString,
  8. startDist: number,
  9. stopDist: number,
  10. options?: {
  11. units?: Units;
  12. }
  13. ): Feature<LineString>;
  14. export { lineSliceAlong as default, lineSliceAlong };