It appears that the VectorNode
you are using is referencing an outdated or incorrect typings file. The proper type definition for VectorNode
should include the fillGeometry
property.
You have the option to update the typings to the most recent version, or if that is not feasible, you can utilize a type assertion to explicitly inform TypeScript that the VectorNode
possesses a fillGeometry
property:
(node as any).fillGeometry = ...
This will enable you to retrieve the fillGeometry
property, albeit with some compromise on the benefits of type safety provided by TypeScript.
Alternatively, consider contacting the developer of the VectorNode
plugin for an updated typings file or guidance on the correct method to access the fillGeometry
property.