28
rated 0 times
[
32]
[
4]
/ answers: 1 / hits: 21711
/ 7 Years ago, wed, june 28, 2017, 12:00:00
The statement
x = $('#msgBox_' + scope.boxId).position().left;
generates an
error TS2304: Cannot find name '$'
although jquery
and @types
are installed in the node_modules folder.
My tsconfig.json looks like that:
{
compilerOptions: {
module: commonjs,
target: es5,
sourceMap: true,
moduleResolution: node,
declaration: true
},
exclude: [
node_modules
]
}
How can I fix that?
More From » node.js