Error in visual studio code

Screenshot 2024-04-25 163615

error - Property ‘node’ does not exist on type ‘DebugViewRuntimeControl’.ts(2339)

I get the above error in Visual Code when opening a cocos project. This class does extend the component class. Node according to the documentation exists in the component class. I am using CocosCreator 3.8.2. How do I fix this ?

Strange…Can you show us more information. Import and class declare part.