use jquery in angular code example
Example 1: import jquery into angular 8
import * as $ from 'jquery'
Example 2: declare * angular jquery
declare var $:any;
Example 3: add jquery angular
../node_modules/jquery/dist/jquery.min.js
import * as $ from 'jquery'
declare var $:any;
../node_modules/jquery/dist/jquery.min.js