Skip to content

Commit

Permalink
fix: resolve CatmullRomLineProps conflict with LineProps 'segments' (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Martini024 authored Feb 23, 2025
1 parent eafb38d commit 71b1128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/CatmullRomLine.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Line2 } from 'three-stdlib'
import { Line, LineProps } from './Line'
import { ForwardRefComponent } from '../helpers/ts-utils'

export type CatmullRomLineProps = Omit<LineProps, 'ref'> & {
export type CatmullRomLineProps = Omit<LineProps, 'ref' | 'segments'> & {
closed?: boolean
curveType?: 'centripetal' | 'chordal' | 'catmullrom'
tension?: number
Expand Down

0 comments on commit 71b1128

Please sign in to comment.