-3
Ich habe Jquery in Typoskript integre, aber ich habe diesen Fehler:Integre JQuery in Typoskript
error TS2304: Cannot find name 'JQueryStatic'.
config.json:
{
"compilerOptions": {
"target": "es5",
"pretty": true,
"experimentalDecorators":true
},
"files": [
"demo.ts",
"typings/index.d.ts"
],
"excluse": ["node_modules"]
}
demo.ts:
declare var $: JQueryStatic;
$('.test').click(function(eventObject){
alert('hello');
})
und diese ist der Bildschirm meines Projekts:
Es klingt wie das Typoskript Kompilation nicht, wozu auch die .d.ts für Jquery-Datei; nicht sicher warum. – libertyernie