This change is necessary when compiling with strictNullChecks = true.
Null is a valid value in all setMap calls. In most cases, calling xxx.setMap(null) results in xxx being removed from the map.
* Add GeometryUtil functions to leaflet-draw
Add two functions in the GeometryUtil namespace of leaflet-draw
* Remove illegal whitespaces
* Add GeometryUtil function calls to tests
Validate that the function declarations are valid by adding calls of
geodesicArea() and readableArea() to the tests.
Remove a whitespace that the linter complained about.
* SystemJS: refined typeof 'transpiler' option, added plugin-typescript specific flags to typescriptOptions
Refined typeof 'transpiler' option to only allow `false` as opposed to `boolean`.
Added the `typescriptOptions` properties that are specific to plugin-typescript to typescriptOptions object.
* lint and fix warnings
current definition
```ts
scope(options?: string | string[] | ScopeOptions | WhereOptions): this;
```
doesn't allow are valid calls. example from [documentation](http://docs.sequelizejs.com/en/latest/docs/scopes/):
```ts
Project.scope('random', { method: ['accessLevel', 19]}).findAll();
```
changing it to
```ts
scope(options?: string | ScopeOptions | WhereOptions | Array<string|ScopeOptions|WhereOptions>): this;
```
should fix the issue since, according to the docs
```ts
// These two are equivalent
Project.scope('deleted', 'activeUsers').findAll();
Project.scope(['deleted', 'activeUsers']).findAll();
```
TS 2.2 provides definitions for the fetch API directly in the
dom library, and those definitions are slightly different from
those that were provided in @types/whatwg-fetch. This change
updates the webappsec-credential-management definitions to be
compatible with TS 2.2, and drops the dependency on
@types/whatwg-fetch.
Hi!
I was having this issue while using the library:
```
ERROR in [at-loader] frontend/src/components/modals/Upload.tsx:538:40
TS2339: Property 'customEditor' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<TableHeaderColumnProps, ComponentState>>...'.
```
It seems it is missing from the Definition file, so I just added it :).
Hope it helps!
* jQuery improve typing
Each callback returns nothing or boolean
Each return its first argument
isArray, isFunction and isWindow as type guards
type has a more strict return type
make unique generic functions
* Add libs in angular-oauth2 tsconfig
* Linting angular-oauth2
* Make Parser extend event emitter
Fixing error: error TS2339: Property 'on' does not exist on type 'Parser'.
* Update authorship
* Add test for event emitter