Skip to content

Commit

Permalink
refactor(geom-clip): address TS strictNullChecks flag
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Jun 8, 2019
1 parent e6e777f commit e16c780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/geom-clip/src/liang-barsky.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const liangBarsky2 = (
max: Vec,
ca?: Vec,
cb?: Vec
): [Vec, Vec, number, number] => {
): [Vec, Vec, number, number] | undefined => {
const ax = a[0];
const ay = a[1];
const dx = b[0] - ax;
Expand Down

0 comments on commit e16c780

Please sign in to comment.