import * as $ from "jquery";
import "jquery.terminal";
$(function() {
$('<div/>').appendTo('body').terminal(function(command: number) {
});
});
but this give me error that it can't find jquery I have it installed and I have d.ts file in my root directory, I've also tried to install npm install --save-dev @types/jquery with no effect.
it should even work with import "jquery"; because d.ts file provide $ function.
I'm trying to get to the point where I get error about terminal function have number instead of string type, but I now have error that jquery cannot be found.
So I have webpack drived project with this:
but this give me error that it can't find jquery I have it installed and I have d.ts file in my root directory, I've also tried to install
npm install --save-dev @types/jquery
with no effect.it should even work with
import "jquery";
because d.ts file provide $ function.I'm trying to get to the point where I get error about terminal function have number instead of string type, but I now have error that jquery cannot be found.
I have this tsconfig: