Свойство 'validate' не существует для типа 'JQuery <HTMLElement>'
После обновления Angular 8 до 9 возникли ошибки при запуске системы на localhost.
ОШИБКА в src/app/auth/_helpers/login-custom.ts:6:12 - ошибка TS2339: свойство 'validate' не существует для типа 'JQuery'.
6 form.validate({
~~~~~~~~
src/app/auth/_helpers/login-custom.ts:17:17 - error TS2339: Property 'valid' does not exist on type 'JQuery<HTMLElement>'.
17 if (!form.valid()) {
~~~~~
src/app/auth/_helpers/login-custom.ts:82:12 - error TS2339: Property 'validate' does not exist on type 'JQuery<HTMLElement>'.
82 form.validate({
~~~~~~~~
src/app/auth/_helpers/login-custom.ts:102:17 - error TS2339: Property 'valid' does not exist on type 'JQuery<HTMLElement>'.
102 if (!form.valid()) {
~~~~~
src/app/auth/_helpers/login-custom.ts:113:12 - error TS2339: Property 'validate' does not exist on type 'JQuery<HTMLElement>'.
113 form.validate({
~~~~~~~~
src/app/auth/_helpers/login-custom.ts:121:17 - error TS2339: Property 'valid' does not exist on type 'JQuery<HTMLElement>'.
121 if (!form.valid()) {
~~~~~