Skip to content

Commit

Permalink
Fix tolerance typings
Browse files Browse the repository at this point in the history
DP_TOL is not exported but getTolerance and setTolerance are.
  • Loading branch information
saraedum committed Jan 10, 2021
1 parent c5ea548 commit a25f9d2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Expand Up @@ -564,7 +564,8 @@ declare namespace Flatten.ORIENTATION {
}

declare namespace Flatten.Utils {
var DP_TOL: number;
function getTolerance() : number;
function setTolerance(tolerance: number): void;
function EQ_0(x: number) : boolean;
function GT(x: number, y: number) : boolean;
function GE(x: number, y: number) : boolean;
Expand Down

0 comments on commit a25f9d2

Please sign in to comment.