quill
quill copied to clipboard
formatText signature supported but not declared in ts file
formatText(index: number, length: number, formats: Record<string, unknown>, source: string) is supported by code, but missing from ts declarations.
Steps for Reproduction
- Use quill.formatText in a typed file with signature above, and see that a ts-expect-error is thrown.
Expected behavior: signature should exist
Actual behavior: it doesn't
Platforms:
Include browser, operating system and respective versions
Version: 2.0.0-rc.4
Run Quill.version to find out
Can you try with 2.0.0-rc.5? Should be fixed