I'm trying to import serializeJSON as an es6 module to use in my project but having some issues.
import $ from 'jquery';
import serializeJSON from 'jquery-serializejson';
I'm getting this message when i hover over the import:
_module "c:/docker_data/scavenger/scavenger-web/node_modules/jquery-serializejson/jquery.serializejson"
'serializeJSON' is declared but its value is never read.ts(6133)
Could not find a declaration file for module 'jquery-serializejson'. 'c:/docker_data/scavenger/scavenger-web/nodemodules/jquery-serializejson/jquery.serializejson.js' implicitly has an 'any' type.
Try npm install @types/jquery-serializejson if it exists or add a new declaration (.d.ts) file containing declare module 'jquery-serializejson';ts(7016)
Can you make this available in your code or am I doing something wrong?
I'm trying to import
serializeJSON
as an es6 module to use in my project but having some issues.I'm getting this message when i hover over the import:
Can you make this available in your code or am I doing something wrong?