#1181·compromise

Property 'toPastParticiple' does not exist on type 'Verbs'.

Author: DiorlaCreated Apr 26, 2025Updated Apr 26, 2025

I think this is a problem with type definition because the code itself does not result in an error but the Code Editors are screaming error which interferes with tests and build, and requires ts-ignore

typescript
const doc = nlp(text);

// @ts-ignore
doc.verbs().toPastParticiple();

Source: spencermountain/compromise