Skip to content

Commit

Permalink
feat(geom-arc): enable TS strict compiler flags (refactor)
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 4, 2019
1 parent 9b6a2ae commit b9752ba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/geom-arc/src/bounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import {
min2,
ReadonlyVec,
set2,
Vec,
VecPair
} from "@thi.ng/vectors";
import { pointAtTheta } from "./point-at";
Expand All @@ -19,7 +20,7 @@ export const bounds = (
): VecPair => {
const min = set2([], MAX2);
const max = set2([], MIN2);
const p = [];
const p: Vec = [];
const update = (theta: number) => {
pointAtTheta(pos, r, axis, theta, p);
min2(null, min, p);
Expand Down

0 comments on commit b9752ba

Please sign in to comment.