hi,
I am looking at widgets that are published on github (https://github.com/Esri/arcgis-js-api/tree/4master/widgets) to figure out how they work.
in most of widgets , a class named VNode that is not available in index.d.ts file ( made by installing
npm install --save @types/arcgis-js-api ).
// esri.widgets.support
import { VNode } from "esri/support/interfaces";
and when I import it in my codes, I encounter with a type declaration error.(Cannot find module 'esri/support/interfaces' or its corresponding type declarations)
how to solve this error?