Skip to content

Commit

Permalink
fix(modeling): arcLengthToT first argument is required
Browse files Browse the repository at this point in the history
Also add tsd:test to CI
  • Loading branch information
platypii authored Apr 8, 2023
1 parent 1affca7 commit fc4ceef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ jobs:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm test
- run: npm run test:tsd
2 changes: 1 addition & 1 deletion packages/modeling/src/curves/bezier/arcLengthToT.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ export interface ArcLengthToTOptions {
segments?: Number
}

declare function arcLengthToT(options?: ArcLengthToTOptions, bezier: Bezier): number
declare function arcLengthToT(options: ArcLengthToTOptions, bezier: Bezier): number

0 comments on commit fc4ceef

Please sign in to comment.