Error ts2304 cannot find name

I recently had my hard time trying to setup an ASP.NET Core 1.0 & Angular2 RC1 Web Project with Visual Studio 2015 and make the embedded TypeScript compile

I recently had my hard time trying to setup an ASP.NET Core 1.0Angular2 RC1 Web Project with Visual Studio 2015 and make the embedded TypeScript compiler/transpiler accept it. These were the errors I was facing:

TS2304: Cannot find name ‘Map’.

TS2304: Cannot find name ‘Set’.

TS2304: Cannot find name ‘Promise’.

TS2304: Cannot find name ‘MapConstructor’.

TS2304: Cannot find name ‘SetConstructor’.

As far as I knew, the issue was indeed related to the recent upgrade I made switching Angular2 beta to Angular2 RC1. I managed to fix that, but it took a fair amount of time due to the lack of documentation almost anywhere. Since I feel like it can happen to other developers, I will share the workarounds I found hoping to help someone to waste less time than I had to.

The Problem

Long story short, the issue seems to happen when you’re dealing with TypeScript files using ES6 methods without making the transpiler aware about them. That’s certainly the case of Angular2 RC1 to RC4, which happened to be my specific scenario, but the exact same thing will most likely happen with a number of other modern TS-based libraries.

You might now ask: «what does making the transpiler aware exactly means?» Well, that’s a good question. It basically means that we need to:

  • Ensure that we’re using a Typescript transpiler that can handle ES6, either by upgrading it or by using a compatibility shim. If you don’t know what a shim is, I strongly suggest you to read the following Microsoft article. In short words, a shim is a small library which transparently intercepts an API, changes the parameters passed, handles the operation itself, or redirects the operation elsewhere.
  • Ensure that the aforementioned, ES6-aware Typescript transpiler can fetch the proper typings. Typings, or Type Definitions, are what the TypeScript transpiler needs to properly resolve Node module names by following the Node.js module resolution algorithm.  If you want to read more about them, I suggest you to read the relevant chapter from the official TypeScript documentation. Back to the topic, it’s worth noticing that the TypeScript compiler does what it can to automatically find the typings by looking for a
    package.json
    file and/or a
    index.d.ts
     file in each package root folder: most of the times, that’s enough to find what’s needed to compile the scripts: however, it can happen that one or more alphabeta and/or RC library packages we’ve been using could be missing some typings, or even the whole typings (or typings reference) file. When we’re hitting these scenarios, we need to manually guide the transpiler to the typings.

The Fix

The following workarounds have been tested against Angular2 RC1 through RC4, thus they should also work for any other similar packages affected with the same issue.

Method 1: Transpile into ES6

The easiest workaround is to simply switch the transpiler’s target from ES5 to ES6. To do that, change your

tsconfig.json

file to match the following values:

{

  «compilerOptions»: {

    «target»: «es6»,

    «module»: «system»,

    «moduleResolution»: «node»,

     ...

  },

«exclude»: [

    «node_modules»,

    ...

  ]

}

However, doing that could bring in some issues: you could be unable to use some of your tools/packages/libraries who don’t support ES6 yet, such as UglifyJS. If that’s not the case you’re good to go, otherwise keep reading.

Method 2: Install Typings and core-js Type Definition Files

Before going for this method, ensure that your

tsconfig.json

file matches the following values:

{

  «compilerOptions»: {

    «target»: «es5»,

    «module»: «system»,

    «moduleResolution»: «node»,

     ...

  },

«exclude»: [

    «node_modules»,

    ...

  ]

}

Open the

package.json

file (the one enumerating the NPM packages) and check if the

typings

package is already present within the

dependencies

or

devDependencies

node, together with the script required to run it during the post-install phase within the

script

block. If they’re not here, add them so that your file should look like the following:

{

  «version»: «1.0.0»,

  «name»: «YourProject»,

  «private»: true,

  «dependencies»: {

    ...

    «typings»: «^1.3.2»,

    ...

  },

  «devDependencies»: {

    ...

  },

  «scripts»: {

      «postinstall»: «typings install»

  }

}

Right after that, add a new

typings.json

file to your project’s root and fill it with the following:

{

  «globalDependencies»: {

    «core-js»: «registry:dt/core-js#0.0.0+20160602141332»,

    «jasmine»: «registry:dt/jasmine#2.2.0+20160621224255»,

    «node»: «registry:dt/node#6.0.0+20160621231320»

  }

}

… And then you’re done: now your ES6 TypeScript packages should compile without issues.

NOTE: To be honest, the core-js line in the

typings.json

file is the only required one, yet we’ve also took the chance to add the jasmine and node typings: you could need them in the near future, should you want to use the Jasmine test framework and/or use code that references objects in the nodejs environment. Keep them there for now, they won’t hurt your project.

Conclusions

While Method 1 is definitely trivial, what we did in Method 2 is also quite straightforward. We installed the typings package through NPM, configured it to download some useful type definition files (core-js being the required one) using its very own

typings.json

config file, and finally we told our project to run it after each NPM task.

We might now be wondering about what core-js actually is, so it could be wise to spend a couple words about it. Remember when we talked about shims a while ago? Well, core-js is our shim of choice, being it a general-purpose polyfill for ECMAScript 5 and ECMAScript 6 including the following: promises, symbols, collections, iterators, typed arrays, ECMAScript 7+ proposals, setImmediate, & much more. If you ever heard of es6-shim, you can think about something that does that exact same job, but better.

That’s it for now: happy transpiling!

Error Description:

  • When we try to get a TypeScript running, we get this error: «TS2304: Cannot find name ‘require’ » when we attempt to transpile a simple ts node page. The contents of this file are:
'use strict';

/// <reference path="typings/tsd.d.ts" />

/*  movie.server.model.ts - definition of movie schema */

var mongoose = require('mongoose'),
Schema = mongoose.Schema;

var foo = 'test';
 
click below button to copy the code. By — nodejs tutorial — team
  • The error is thrown on the var mongoose=require(‘mongoose’) line
  • The contents of the typings/tsd.d.ts file are:
/// <reference path="node/node.d.ts" />
/// <reference path="requirejs/require.d.ts" />
 
click below button to copy the code. By — nodejs tutorial — team
  • The .d.ts file references were placed in the appropriate folders and added to typings/tsd.d.ts by the commands:
tsd install node --save
tsd install require --save
 
click below button to copy the code. By — nodejs tutorial — team

Solution 1:

  • If you are using TypeScript 2.x you no longer need to have Typings or Definitely Typed installed. Simply install the following package.
npm install @types/node --save-dev
 
click below button to copy the code. By — nodejs tutorial — team

Solution 2:

  • For TypeScript 2.x, there are now two steps:
    • Install a package that defines require. For example:
npm install @types/node --save-dev
 
click below button to copy the code. By — nodejs tutorial — team
  • Tell TypeScript to include it globally in
tsconfig.json:
{
    "compilerOptions": {
      "types": ["node"]
    }
}
 
click below button to copy the code. By — nodejs tutorial — team
  • The second step is only important if you need access to globally available functions such as require.
  • For most packages, you should just use the .import package from ‘package’ pattern. There’s no need to include every package in the tsconfig.json types array above.

Solution 3:

  • You can
declare var require: any
 
click below button to copy the code. By — nodejs tutorial — team
  • Also, instead of var mongoose = require(‘mongoose’), you could try the following
import mongoose from 'mongoose' // or
import mongoose = require('mongoose')

 
click below button to copy the code. By — nodejs tutorial — team

Solution 4:

  • Instead of:
'use strict';

/// <reference path="typings/tsd.d.ts" />
 
click below button to copy the code. By — nodejs tutorial — team
  • Try:
/// <reference path="typings/tsd.d.ts" />

'use strict';
 
click below button to copy the code. By — nodejs tutorial — team

I have recently updated my angular2 project and fell into this TS2304 error in Visual Studio 2015

Error    TS2304    Build:Cannot find name 'Promise'.   
Error    TS2304    Build:Cannot find name 'Map'.   
Error    TS2304    Build:Cannot find name 'Iterable'.   
Error    TS2304    Build:Cannot find name 'Set'.   
Error    TS2304    Build:Cannot find name 'Iterator'.
Package.json:
{
  "name": "pms",
  "version": "1.0.0",
  "scripts": {},
  "license": "ISC",
  "dependencies": {
    "@angular/common": "^2.4.9",
    "@angular/compiler": "^2.4.9",
    "@angular/core": "^2.4.9",
    "@angular/forms": "^2.4.9",
    "@angular/http": "^2.4.9",
    "@angular/platform-browser": "^2.4.9",
    "@angular/platform-browser-dynamic": "^2.4.9",
    "@angular/router": "^3.4.9",
    "@angular/upgrade": "^2.4.9",
    "core-js": "^2.4.1",
    "reflect-metadata": "^0.1.10",
    "rxjs": "^5.2.0",
    "systemjs": "^0.20.9",
    "zone.js": "^0.8.0"
  },
  "devDependencies": {
    "@types/core-js": "^0.9.37",
    "typescript": "^2.2.1",
    "typings": "^2.1.0"
  }
}
tsconfig.json:
{
  "compileOnSave": true,
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false,
    "typeRoots": [
      "node_modules/@types"
    ],
    "types": [
      "core-js"
    ]
  }
}
typings.json:
{
  "globalDependencies": {
    "core-js": "registry:dt/core-js#0.0.0+20160725163759",
    "jasmine": "registry:dt/jasmine#2.2.0+20160621224255",
    "node": "registry:dt/node#6.0.0+20160909174046"
  }
}

Solution 1:

If you want to stick to ES5 then then change types/core-js to version “0.9.36” in package.json.

"@types/core-js": "0.9.36",

Solution 2:

In case you want to use latest version of @types-core-js then you need to know that ES6 features like promises aren’t defined when targeting ES5. There are other libraries, but core-js is the javascript library that the Angular team uses. It contains polyfills for ES6. As you can see I have included @types in project, so simple solution is to change target from ‘es5’ to ‘es6’ or ‘es2015’

tsconfig.json:
{
  "compileOnSave": true,
  "compilerOptions": {
    "target": "es6",
    "module": "commonjs",
    "moduleResolution": "node",
    "sourceMap": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "removeComments": false,
    "noImplicitAny": false,
    "typeRoots": [
      "node_modules/@types"
    ],
    "types": [
      "core-js"
    ]
  }
}

Now building the solution gives a whole lot of compiler errors and compiler fails. The main errors are TS2304, TS2411, TS2320, . I get around 482 of such errors. The error loig from visual studio is attached below:

TS2411	Property 'queue' of type '{ (queueName?: string): any[]; (queueName: string, newQueueOrCallback: any): JQuery; (newQueueOrC...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Cannot find name 'Promise'.
TS2304	Cannot find name 'Promise'.
	Build: Property 'find' of type '{ (selector: string): IAugmentedJQuery; (element: any): IAugmentedJQuery; (obj: JQuery): IAugment...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'find' of type '{ (selector: string): IAugmentedJQuery; (element: any): IAugmentedJQuery; (obj: JQuery): IAugment...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'controller' of type '{ (): any; (name: string): any; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'controller' of type '{ (): any; (name: string): any; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'injector' of type '() => any' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'injector' of type '() => any' is not assignable to string index type 'HTMLElement'.
	Build: Property 'scope' of type '() => IScope' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'scope' of type '() => IScope' is not assignable to string index type 'HTMLElement'.
	Build: Property 'isolateScope' of type '() => IScope' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'isolateScope' of type '() => IScope' is not assignable to string index type 'HTMLElement'.
	Build: Property 'inheritedData' of type '{ (key: string, value: any): JQuery; (obj: { [key: string]: any; }): JQuery; (key?: string): any; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'inheritedData' of type '{ (key: string, value: any): JQuery; (obj: { [key: string]: any; }): JQuery; (key?: string): any; }' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Interface 'JQueryEventObject' cannot simultaneously extend types 'BaseJQueryEventObject' and 'JQueryInputEventObject'.
	Build: Interface 'JQueryEventObject' cannot simultaneously extend types 'BaseJQueryEventObject' and 'JQueryKeyEventObject'.
	Build: Interface 'JQueryEventObject' cannot simultaneously extend types 'BaseJQueryEventObject' and 'JQueryMouseEventObject'.
TS2320	Interface 'JQueryEventObject' cannot simultaneously extend types 'BaseJQueryEventObject' and 'JQueryInputEventObject'.
AngularTestTypeScript	c:Usersvineetyadavdocumentsvisual studio 2015ProjectsAngularTestTypeScriptAngularTestTypeScriptScriptstypingsjqueryjquery.d.ts
TS2320	Interface 'JQueryEventObject' cannot simultaneously extend types 'BaseJQueryEventObject' and 'JQueryKeyEventObject'.
AngularTestTypeScript	c:Usersvineetyadavdocumentsvisual studio 2015ProjectsAngularTestTypeScriptAngularTestTypeScriptScriptstypingsjqueryjquery.d.ts
TS2320	Interface 'JQueryEventObject' cannot simultaneously extend types 'BaseJQueryEventObject' and 'JQueryMouseEventObject'.
AngularTestTypeScript	c:Usersvineetyadavdocumentsvisual studio 2015ProjectsAngularTestTypeScriptAngularTestTypeScriptScriptstypingsjqueryjquery.d.ts
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'ajaxComplete' of type '(handler: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'ajaxComplete' of type '(handler: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'ajaxError' of type '(handler: (event: any, jqXHR: any, settings: any, exception: any) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'ajaxError' of type '(handler: (event: any, jqXHR: any, settings: any, exception: any) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'ajaxSend' of type '(handler: (event: any, jqXHR: any, settings: any, exception: any) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'ajaxSend' of type '(handler: (event: any, jqXHR: any, settings: any, exception: any) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'ajaxStart' of type '(handler: () => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'ajaxStart' of type '(handler: () => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'ajaxStop' of type '(handler: () => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'ajaxStop' of type '(handler: () => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'ajaxSuccess' of type '(handler: (event: any, jqXHR: any, settings: any, exception: any) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'ajaxSuccess' of type '(handler: (event: any, jqXHR: any, settings: any, exception: any) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'load' of type '{ (url: string, data?: any, complete?: any): JQuery; (eventData?: any, handler?: (eventObject: JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'load' of type '{ (url: string, data?: any, complete?: any): JQuery; (eventData?: any, handler?: (eventObject: JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'serialize' of type '() => string' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'serialize' of type '() => string' is not assignable to string index type 'HTMLElement'.
	Build: Property 'serializeArray' of type '() => any[]' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'serializeArray' of type '() => any[]' is not assignable to string index type 'HTMLElement'.
	Build: Property 'addClass' of type '{ (classNames: string): JQuery; (func: (index: any, currentClass: any) => string): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'addClass' of type '{ (classNames: string): JQuery; (func: (index: any, currentClass: any) => string): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'addBack' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'addBack' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'attr' of type '{ (attributeName: string): string; (attributeName: string, value: any): JQuery; (map: { [key: str...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'attr' of type '{ (attributeName: string): string; (attributeName: string, value: any): JQuery; (map: { [key: str...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'hasClass' of type '(className: string) => any' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'hasClass' of type '(className: string) => any' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'html' of type '{ (): string; (htmlString: string): JQuery; (htmlContent: (index: number, oldhtml: string) => str...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'html' of type '{ (): string; (htmlString: string): JQuery; (htmlContent: (index: number, oldhtml: string) => str...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'prop' of type '{ (propertyName: string): string; (propertyName: string, value: any): JQuery; (map: any): JQuery;...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'prop' of type '{ (propertyName: string): string; (propertyName: string, value: any): JQuery; (map: any): JQuery;...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'removeAttr' of type '(attributeName: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'removeAttr' of type '(attributeName: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'removeClass' of type '{ (className?: any): JQuery; (func: (index: any, cls: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'removeClass' of type '{ (className?: any): JQuery; (func: (index: any, cls: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'removeProp' of type '(propertyName: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'removeProp' of type '(propertyName: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'toggleClass' of type '{ (className: any, swtch?: any): JQuery; (swtch?: any): JQuery; (func: (index: any, cls: any, swt...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'toggleClass' of type '{ (className: any, swtch?: any): JQuery; (swtch?: any): JQuery; (func: (index: any, cls: any, swt...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'val' of type '{ (): any; (value: string[]): JQuery; (value: string): JQuery; (value: number): JQuery; (func: (i...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'val' of type '{ (): any; (value: string[]): JQuery; (value: string): JQuery; (value: number): JQuery; (func: (i...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'css' of type '{ (propertyName: string): string; (propertyNames: string[]): string; (properties: any): JQuery; (...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'css' of type '{ (propertyName: string): string; (propertyNames: string[]): string; (properties: any): JQuery; (...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'height' of type '{ (): number; (value: number): JQuery; (value: string): JQuery; (func: (index: any, height: any) ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'height' of type '{ (): number; (value: number): JQuery; (value: string): JQuery; (func: (index: any, height: any) ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'innerHeight' of type '() => number' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'innerHeight' of type '() => number' is not assignable to string index type 'HTMLElement'.
	Build: Property 'innerWidth' of type '() => number' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'innerWidth' of type '() => number' is not assignable to string index type 'HTMLElement'.
	Build: Property 'offset' of type '{ (): { left: number; top: number; }; (coordinates: any): JQuery; (func: (index: any, coords: any...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'offset' of type '{ (): { left: number; top: number; }; (coordinates: any): JQuery; (func: (index: any, coords: any...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'outerHeight' of type '(includeMargin?: any) => number' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'outerHeight' of type '(includeMargin?: any) => number' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'outerWidth' of type '(includeMargin?: any) => number' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'outerWidth' of type '(includeMargin?: any) => number' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'position' of type '() => { top: number; left: number; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'position' of type '() => { top: number; left: number; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'scrollLeft' of type '{ (): number; (value: number): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'scrollLeft' of type '{ (): number; (value: number): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'scrollTop' of type '{ (): number; (value: number): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'scrollTop' of type '{ (): number; (value: number): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'width' of type '{ (): number; (value: number): JQuery; (value: string): JQuery; (func: (index: any, height: any) ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'width' of type '{ (): number; (value: number): JQuery; (value: string): JQuery; (func: (index: any, height: any) ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'clearQueue' of type '(queueName?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'clearQueue' of type '(queueName?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'data' of type '{ (key: string, value: any): JQuery; (obj: { [key: string]: any; }): JQuery; (key?: string): any; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'data' of type '{ (key: string, value: any): JQuery; (obj: { [key: string]: any; }): JQuery; (key?: string): any; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'dequeue' of type '(queueName?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'dequeue' of type '(queueName?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'removeData' of type '(nameOrList?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'removeData' of type '(nameOrList?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'promise' of type '(type?: any, target?: any) => JQueryPromise' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'promise' of type '(type?: any, target?: any) => JQueryPromise' is not assignable to string index type 'HTMLElement'.
	Build: Property 'animate' of type '{ (properties: any, duration?: any, complete?: Function): JQuery; (properties: any, duration?: an...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'animate' of type '{ (properties: any, duration?: any, complete?: Function): JQuery; (properties: any, duration?: an...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'delay' of type '(duration: number, queueName?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'delay' of type '(duration: number, queueName?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'fadeIn' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'fadeIn' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'fadeOut' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'fadeOut' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'fadeTo' of type '{ (duration: any, opacity: number, callback?: any): JQuery; (duration: any, opacity: number, easi...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'fadeTo' of type '{ (duration: any, opacity: number, callback?: any): JQuery; (duration: any, opacity: number, easi...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'fadeToggle' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'fadeToggle' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'finish' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'finish' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'hide' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'hide' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'show' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'show' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'slideDown' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'slideDown' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'slideToggle' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'slideToggle' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'slideUp' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'slideUp' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'stop' of type '{ (clearQueue?: any, jumpToEnd?: any): JQuery; (queue?: any, clearQueue?: any, jumpToEnd?: any): ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'stop' of type '{ (clearQueue?: any, jumpToEnd?: any): JQuery; (queue?: any, clearQueue?: any, jumpToEnd?: any): ...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'toggle' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'toggle' of type '{ (duration?: any, callback?: any): JQuery; (duration?: any, easing?: string, callback?: any): JQ...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'bind' of type '{ (eventType: string, eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'bind' of type '{ (eventType: string, eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'blur' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'blur' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'change' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'change' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'click' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'click' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'dblclick' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'dblclick' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'delegate' of type '(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'delegate' of type '(selector: any, eventType: string, handler: (eventObject: JQueryEventObject) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'focus' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'focus' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'focusin' of type '{ (eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventObj...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'focusin' of type '{ (eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventObj...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'focusout' of type '{ (eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventObj...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'focusout' of type '{ (eventData: any, handler: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventObj...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'hover' of type '{ (handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObjec...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'hover' of type '{ (handlerIn: (eventObject: JQueryEventObject) => any, handlerOut: (eventObject: JQueryEventObjec...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'keydown' of type '{ (eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'keydown' of type '{ (eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'keypress' of type '{ (eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'keypress' of type '{ (eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'keyup' of type '{ (eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'keyup' of type '{ (eventData?: any, handler?: (eventObject: JQueryKeyEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mousedown' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mousedown' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mouseevent' of type '{ (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mouseevent' of type '{ (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (handler: (eve...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mouseenter' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mouseenter' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mouseleave' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mouseleave' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mousemove' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mousemove' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mouseout' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mouseout' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mouseover' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mouseover' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'mouseup' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'mouseup' of type '{ (): JQuery; (eventData: any, handler: (eventObject: JQueryMouseEventObject) => any): JQuery; (h...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'off' of type '{ (events?: string, selector?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'off' of type '{ (events?: string, selector?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'on' of type '{ (events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any)...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'on' of type '{ (events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any)...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'one' of type '{ (events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any)...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'one' of type '{ (events: string, selector?: any, data?: any, handler?: (eventObject: JQueryEventObject) => any)...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'ready' of type '(handler: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'ready' of type '(handler: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'resize' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'resize' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'scroll' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'scroll' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'select' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'select' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'submit' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'submit' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'trigger' of type '{ (eventType: string, ...extraParameters: any[]): JQuery; (event: JQueryEventObject): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'trigger' of type '{ (eventType: string, ...extraParameters: any[]): JQuery; (event: JQueryEventObject): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'triggerHandler' of type '(eventType: string, ...extraParameters: any[]) => Object' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'triggerHandler' of type '(eventType: string, ...extraParameters: any[]) => Object' is not assignable to string index type 'HTMLElement'.
	Build: Property 'unbind' of type '{ (eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery; (eventType: st...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'unbind' of type '{ (eventType?: string, handler?: (eventObject: JQueryEventObject) => any): JQuery; (eventType: st...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'undelegate' of type '{ (): JQuery; (selector: any, eventType: string, handler?: (eventObject: JQueryEventObject) => an...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'undelegate' of type '{ (): JQuery; (selector: any, eventType: string, handler?: (eventObject: JQueryEventObject) => an...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'unload' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'unload' of type '{ (eventData?: any, handler?: (eventObject: JQueryEventObject) => any): JQuery; (handler: (eventO...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'context' of type 'Element' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'context' of type 'Element' is not assignable to string index type 'HTMLElement'.
	Build: Property 'jquery' of type 'string' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'jquery' of type 'string' is not assignable to string index type 'HTMLElement'.
	Build: Property 'error' of type '{ (handler: (eventObject: JQueryEventObject) => any): JQuery; (eventData: any, handler: (eventObj...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'error' of type '{ (handler: (eventObject: JQueryEventObject) => any): JQuery; (eventData: any, handler: (eventObj...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'pushStack' of type '{ (elements: any[]): JQuery; (elements: any[], name: any, arguments: any): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'pushStack' of type '{ (elements: any[]): JQuery; (elements: any[], name: any, arguments: any): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'after' of type '{ (...content: any[]): JQuery; (func: (index: any) => any): any; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'after' of type '{ (...content: any[]): JQuery; (func: (index: any) => any): any; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'append' of type '{ (...content: any[]): JQuery; (func: (index: any, html: any) => any): any; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'append' of type '{ (...content: any[]): JQuery; (func: (index: any, html: any) => any): any; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'appendTo' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'appendTo' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'before' of type '{ (...content: any[]): JQuery; (func: (index: any) => any): any; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'before' of type '{ (...content: any[]): JQuery; (func: (index: any) => any): any; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'clone' of type '(withDataAndEvents?: any, deepWithDataAndEvents?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'clone' of type '(withDataAndEvents?: any, deepWithDataAndEvents?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'detach' of type '(selector?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'detach' of type '(selector?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'empty' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'empty' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'insertAfter' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'insertAfter' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'insertBefore' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'insertBefore' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'prepend' of type '{ (...content: any[]): JQuery; (func: (index: any, html: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'prepend' of type '{ (...content: any[]): JQuery; (func: (index: any, html: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'prependTo' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'prependTo' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'remove' of type '(selector?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'remove' of type '(selector?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'replaceAll' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'replaceAll' of type '(target: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'replaceWith' of type '(func: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'replaceWith' of type '(func: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'text' of type '{ (): string; (textString: any): JQuery; (textString: (index: number, text: string) => string): J...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'text' of type '{ (): string; (textString: any): JQuery; (textString: (index: number, text: string) => string): J...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'toArray' of type '() => any[]' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'toArray' of type '() => any[]' is not assignable to string index type 'HTMLElement'.
	Build: Property 'unwrap' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'unwrap' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'wrap' of type '{ (wrappingElement: any): JQuery; (func: (index: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'wrap' of type '{ (wrappingElement: any): JQuery; (func: (index: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'wrapAll' of type '(wrappingElement: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'wrapAll' of type '(wrappingElement: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'wrapInner' of type '{ (wrappingElement: any): JQuery; (func: (index: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'wrapInner' of type '{ (wrappingElement: any): JQuery; (func: (index: any) => any): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'each' of type '(func: (index: any, elem: Element) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'each' of type '(func: (index: any, elem: Element) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'get' of type '(index?: number) => any' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'get' of type '(index?: number) => any' is not assignable to string index type 'HTMLElement'.
	Build: Property 'index' of type '{ (): number; (selector: string): number; (element: any): number; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'index' of type '{ (): number; (selector: string): number; (element: any): number; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'length' of type 'number' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'length' of type 'number' is not assignable to string index type 'HTMLElement'.
	Build: Property 'selector' of type 'string' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'selector' of type 'string' is not assignable to string index type 'HTMLElement'.
	Build: Property 'add' of type '{ (selector: string, context?: any): JQuery; (...elements: any[]): JQuery; (html: string): JQuery...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'add' of type '{ (selector: string, context?: any): JQuery; (...elements: any[]): JQuery; (html: string): JQuery...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'children' of type '(selector?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'children' of type '(selector?: any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'closest' of type '{ (selector: string): JQuery; (selector: string, context?: Element): JQuery; (obj: JQuery): JQuer...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'closest' of type '{ (selector: string): JQuery; (selector: string, context?: Element): JQuery; (obj: JQuery): JQuer...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'contents' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'contents' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'end' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'end' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'eq' of type '(index: number) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'eq' of type '(index: number) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'filter' of type '{ (selector: string): JQuery; (func: (index: any) => any): JQuery; (element: any): JQuery; (obj: ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'filter' of type '{ (selector: string): JQuery; (func: (index: any) => any): JQuery; (element: any): JQuery; (obj: ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'find' of type '{ (selector: string): JQuery; (element: any): JQuery; (obj: JQuery): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'find' of type '{ (selector: string): JQuery; (element: any): JQuery; (obj: JQuery): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'first' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'first' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'has' of type '{ (selector: string): JQuery; (contained: Element): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'has' of type '{ (selector: string): JQuery; (contained: Element): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'is' of type '{ (selector: string): any; (func: (index: any) => any): any; (element: any): any; (obj: JQuery): ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'is' of type '{ (selector: string): any; (func: (index: any) => any): any; (element: any): any; (obj: JQuery): ...' is not assignable to string index type 'HTMLElement'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Cannot find name 'bool'.
TS2304	Cannot find name 'bool'.
	Build: Property 'last' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'last' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'map' of type '(callback: (index: any, domElement: Element) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'map' of type '(callback: (index: any, domElement: Element) => any) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'next' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'next' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'nextAll' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'nextAll' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'nextUntil' of type '{ (selector?: string, filter?: string): JQuery; (element?: Element, filter?: string): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'nextUntil' of type '{ (selector?: string, filter?: string): JQuery; (element?: Element, filter?: string): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'not' of type '{ (selector: string): JQuery; (func: (index: any) => any): JQuery; (element: any): JQuery; (obj: ...' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'not' of type '{ (selector: string): JQuery; (func: (index: any) => any): JQuery; (element: any): JQuery; (obj: ...' is not assignable to string index type 'HTMLElement'.
	Build: Property 'offsetParent' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'offsetParent' of type '() => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'parent' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'parent' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'parents' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'parents' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'parentsUntil' of type '{ (selector?: string, filter?: string): JQuery; (element?: Element, filter?: string): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'parentsUntil' of type '{ (selector?: string, filter?: string): JQuery; (element?: Element, filter?: string): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'prev' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'prev' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'prevAll' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'prevAll' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'prevUntil' of type '{ (selector?: string, filter?: string): JQuery; (element?: Element, filter?: string): JQuery; }' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'prevUntil' of type '{ (selector?: string, filter?: string): JQuery; (element?: Element, filter?: string): JQuery; }' is not assignable to string index type 'HTMLElement'.
	Build: Property 'siblings' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'siblings' of type '(selector?: string) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'slice' of type '(start: number, end?: number) => JQuery' is not assignable to string index type 'HTMLElement'.
TS2411	Property 'slice' of type '(start: number, end?: number) => JQuery' is not assignable to string index type 'HTMLElement'.
	Build: Property 'queue' of type '{ (queueName?: string): any[]; (queueName: string, newQueueOrCallback: any): JQuery; (newQueueOrC...' is not assignable to string index type 'HTMLElement'.

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error timeout origin
  • Error ts 2322
  • Error this socket has been ended by the other party
  • Error this program does not support the version of windows your computer is running ок
  • Error this line does not contain a recognized action перевод

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии