Skip to content

Commit

Permalink
refactor(grid-iterators): update type usage
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Apr 19, 2024
1 parent 6d17d91 commit a3afff7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/grid-iterators/src/clipping.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { FnN3, FnU2, FnU7, FnU8, Tuple } from "@thi.ng/api";
import type { FnN3, FnU2, FnU7, FnU8, Maybe, Tuple } from "@thi.ng/api";

/**
* Filters points from `src` iterable to remove any falling outside the rect
Expand Down Expand Up @@ -65,7 +65,7 @@ export const intersectRectCircle: FnU7<number, boolean> = (
*
* @internal
*/
export const liangBarsky: FnU8<number, Tuple<number, 4> | undefined> = (
export const liangBarsky: FnU8<number, Maybe<Tuple<number, 4>>> = (
ax,
ay,
bx,
Expand Down

0 comments on commit a3afff7

Please sign in to comment.