It seems that the VectorNode
you're referencing is using an outdated or incorrect typings file. The correct type definition for VectorNode
should include the fillGeometry
property.
You can either try to update the typings to the latest version or if it's not available, you can use a type assertion to manually tell TypeScript to treat the VectorNode
as if it has a fillGeometry
property:
(node as any).fillGeometry = ...
This will allow you to access the fillGeometry
property, but keep in mind that you'll lose some of the type safety benefits of using TypeScript.
Alternatively, you can try to reach out to the author of the VectorNode
plugin for an updated typings file or clarification on the correct way to access the fillGeometry
property.