AnsweredAssumed Answered

Error in using dojo grid in typescript with esri JavaScript API

Question asked by fastr_admin1 on Jun 29, 2020
Latest reply on Jul 29, 2020 by kmsagis

Hi,

 

Trying create dojo grid.

when importing the below statements I get below error. I have installed dojo typings  

import dgrid from "dgrid/Grid";

import Memory from "dojo/store/Memory";

import StoreAdapter from "dstore/legacy/StoreAdapter";

import Selection from  "dgrid/Selection";

 

ERROR:-

'Memory' is declared but its value is never read.ts(6133)

Cannot find module 'dojo/store/Memory' or its corresponding type declarations.ts(2307)

 

'dgrid' is declared but its value is never read.ts(6133)

Cannot find module 'dgrid/Grid' or its corresponding type declarations.ts(2307)

Attachments

Outcomes