Last active
August 22, 2016 15:43
-
-
Save ca0v/2e3da4ce0c7178f102f1 to your computer and use it in GitHub Desktop.
proj4.d.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module "proj4" { | |
interface Transformer { | |
forward: (p: Point) => Point; | |
inverse: (p: Point) => Point; | |
} | |
class Point { | |
x: number; | |
y: number; | |
constructor(x: number, y: number); | |
} | |
function Proj(a, b): Transformer; | |
module Proj { | |
export function defs(name: string): any; | |
export function defs(name: string, def: string): void; | |
export function transform(from: any, to: any, pt: Point): Point; | |
export function parse(sr: string): any; | |
} | |
export = Proj; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment