SplitType icon indicating copy to clipboard operation
SplitType copied to clipboard

'isSplit' is missing the type declarations

Open daviddelusenet opened this issue 1 year ago • 0 comments

As the title says, isSplit is missing in the type declarations so this will throw an error:

const text = new SplitType(textRef.current, {
  types: 'lines',
  tagName: 'span',
});

text.isSplit // Property 'isSplit' does not exist on type 'SplitType'. Did you mean 'split'? ts(2551)

daviddelusenet avatar Mar 05 '24 10:03 daviddelusenet