Commit Graph
23304 Commits
Author SHA1 Message Date
Tom Wanzek 39bfded109 [types-2.0] d3-geo Update to 1.3.1 (#12492)
* (d3-geo): Update to 1.3.1 and JSDoc
* [Chore] Updated definitions to conform to version 1.3.1
* [Feature] Added `geoIdentity()` and removed `geoClipExtent()`
* [Feature ] Added geoGraticule10()
* [Update] Changed API for `geoPath(...)`
* [Enhancement] Complete overhaul of  JSDoc comments
* [Chore] Some changes to sequencing of definitions
* [Fix]: Fixed GeoPath pointRadius() Accessor (getter may return constant number or accessor function.
* [Fix] GeoPath generator may return string (SVG path string) or undefined (when called with rendering context)
*

* (d3-geo) Test Updates
* Add  test for `geoGraticule10()`
* Remove tests for `geoClipExtent()`
* Add tests for `geoIdentity()`
* Fixed clipExtent tests to include explicit union with `null` type for return value of getter
* Fixed pointRadius getter test on geoPath to allow for accessor or number to be returned by getter

* (d3-geo) Tests Additional
* Add some more tests for new geoPath(...) API
2016-11-07 07:24:50 -08:00
Andy e32ebf0ee4 Update angular-ui-router-default for types-2.0 (#12479) 2016-11-08 00:16:58 +09:00
XQ Kuang b8f50c92ee + Navbar.Link and Navbar.Text to react-bootstrap (#12294) 2016-11-08 00:14:51 +09:00
TonyYang 393ada1ee2 [@types/mongoose] Declare a right type for _id (#12462)
* Declare a right type for _id

* Delete the error definition
2016-11-07 23:35:49 +09:00
TonyYang f555feb4fc Add "toString()" for ObjectID (#12463) 2016-11-07 23:35:21 +09:00
Rogier Schouten b006daa1c6 Add typings for object-diff. (#11984)
* Add typings for object-diff.

* review comment

* review comment - tsconfig.json

* fix tsc errors
2016-11-07 06:24:21 -08:00
sousarka e9270215e9 Update index.d.ts (#12324)
add following options to the bootstrap-datepicker/DatepickerOptions. Also update the options url to point to the correct URL.
templates?: any;
zIndexOffset?: number;
showOnFocus?: boolean;
immediateUpdates?: boolean;
 title?: string;
2016-11-07 06:03:31 -08:00
Dan Homola 901da6fac0 Add typings for jsonminify (#12447)
* Add typings for jsonminify

* Fix test string

* Strip declare module

* Simplify declaration

* Fix declaration bug

* Change test import syntax, revert the declaration
2016-11-07 05:51:05 -08:00
Syncfusion-JavaScript 8c4ea15000 Syncfusion TypeScript(v13.3.0.52) files committed to Typings 2.0 (#12474) 2016-11-07 05:49:35 -08:00
Lucas Matías Ciruzzi b71a151500 Improved camo support and updated to v0.12.2 (#12318)
* Improved camo support and updated to v0.12.2

* Fixed issue with camo lacking Template Schema
2016-11-07 22:40:04 +09:00
Ethan 8ef8a160c9 Twilio tweaks (#12109)
* Cleanup Imports

These should be uniform, and should all use the require() syntax, as
they’re referring to common js modules.

* Enable client.calls.list()

* Split up RestMethod signature

By splitting up the union into an overload, we get much more useful
autocomplete info.

* Remove BaseRequestCallback

BaseRequestCallback was only used in RestMethod, and it’s incorrect:
the user’s callback is always called with 3 arguments. I think this was
an attempt to say that the user’s callback doesn’t need to specify a
third argument, but a two-argument callback will already conform to
RequestCallback anyway.

As the updated tests show, this change gives us better type inference too.

* Use new Node HTTP Interface

This MiddlewareFunction type isn’t assignable to an express middleware
otherwise, as the latest express-static-core type declarations removes
Http.ServerRequest from the type definition of an express RequestHandler
2016-11-07 22:34:54 +09:00
Matt Martin af3261e419 update getFragment declaration (#12255)
The documentation is pretty bad, but Relay's getFragment method allows for an optional second argument for passing initial variables to the fragment. This simply adds that.
2016-11-07 22:31:44 +09:00
ptrckc 678f191c72 Update express-brute types (#12422)
* proxyDepth option on ExpressBrute has been removed

See https://github.com/AdamPflug/express-brute/commit/94ee1f43e849ba1d9573823f65e5bb109c72e587

* getIPFromRequest(req) has been removed from instances

See https://github.com/AdamPflug/express-brute/commit/94ee1f43e849ba1d9573823f65e5bb109c72e587

* Document ExpressBruteOptions

* Export MemoryStoreOptions, Middleware and Options interfaces
2016-11-07 22:30:47 +09:00
Endel Dreyer 64b3d20514 Loader classes inherits from AbstractLoader (#12415)
* Loader classes inherits from AbstractLoader

* update PreloadJS version on header comments

* added contributor name
2016-11-07 22:30:08 +09:00
Denis 5bb1023941 Implemented Tile-Reduce (#12475)
* Implemented Tile-Reduce

* Update tile-reduce from feedback
- inlined callbacks
- declare types "start" | "map"
2016-11-06 14:58:17 -08:00
Rogier Schouten 12b8c644f1 Add Leadfoot typings (#11733)
* Remove global pollution to allow Node.JS and Leadfoot to be included together (Leadfoot uses a part of Dojo but not the conflicting globals). Add Thenable to support Leadfoot typings.

* Add leadfoot typings and initial tests.

* Remove ... references from tsconfig
2016-11-06 07:52:38 -08:00
Fred Eisele 5dedaaa274 Webgme types (#12166)
* added @types for N3, an RDF package

* changed file names to match requirements for syncing with @types

* naming recommendation conformance

* added type definitions for webgme

* provide constructor and factory with same function name

* checkpoint

* removing declare module n3, making ProperModule

* changed reference path to types and corrected errors associated with strict null

* checkpoint

* test the project with "tsc --project tsconfig.json"

* changed from "reference path=" to "reference types=" when possible

* removing wildcard declaration

* combined *.d.ts files and *-tests.ts

* removed task completion comments

* removed patch version and strict null check on
2016-11-06 07:39:54 -08:00
Prashant Tiwari 3c0d432527 Add types for lab v11 (#12468) 2016-11-06 07:23:30 -08:00
Philipp A b469fc9234 Added copy-webpack-plugin definition (#12508) 2016-11-06 07:17:55 -08:00
ersimont cf9f220044 add types for ranginputs (#12506) 2016-11-05 19:17:14 -07:00
Daniel Rosenwasser fa723912af Fix file-saver hyphen (#12507)
* Fix folder name for the 'file-saver' package.

* Better indentation.
2016-11-05 19:12:01 -07:00
Ethan Rubio f498c98b3b Add string-hash (#12499)
Refactor string-hash definition

Refactor string-hash to use commonjs
2016-11-05 19:11:01 -07:00
Andy d2150a603f Even more 2.0 (#12503)
* Always use forceConsistentCasingInFileNames

* Rename files

* Convert more packages to `types-2.0` style
2016-11-05 13:34:11 -07:00
Philipp A 0c861b0b4c Added event-to-promise definition (#12502) 2016-11-05 12:36:47 -07:00
jramsay c1061d8a9d Merge pull request #12481 from DefinitelyTyped/more_2.0
Convert more packages to `types-2.0` style
2016-11-04 16:15:17 -07:00
Andy Hanson a1fbe3bc3f Convert more packages to types-2.0 style 2016-11-04 13:48:19 -07:00
Andy Hanson c016b5b79f Rename files 2016-11-04 13:42:08 -07:00
jramsay 8c65c84d30 Merge pull request #12454 from MichalPodeszwa/types-2.0-fix-aws-sdk-create-stack-params
Change StackPolicyBody and StackPolicyUrl to accept string instead of…
2016-11-03 17:25:59 -07:00
jramsay 71ed3e2623 Merge pull request #12453 from KrauseStefan/types-2.0
types(selenium): fix typings error Level class in logging namespace
2016-11-03 17:24:05 -07:00
jramsay 025a5273db Merge pull request #12452 from DefinitelyTyped/highcharts
Convert highcharts definitions to module style
2016-11-03 17:19:43 -07:00
jramsay 503e9fa320 Merge pull request #12132 from rickydigime/patch-1
Update index.d.ts
2016-11-03 17:08:28 -07:00
jramsay 701c491d43 Merge pull request #12129 from Strato/patch-5
Added shouldUpdatePosition prop in Overlay
2016-11-03 17:07:53 -07:00
jramsay 59a1a27488 Merge pull request #12126 from DanielRosenwasser/vivus
Added type declarations for 'vivus'.
2016-11-03 16:52:26 -07:00
Mohamed Hegazy 6d0b399f51 Fix for https://github.com/Microsoft/TypeScript/issues/11916 (#12425)
* Switch express-serve-static-core to a module

* Add tsconfig to aws-serverless-express

* Switch aws-serverless-express to module

* Fix dangling pointer

* Fix wrong file name

* Add tsconfig.json

* switch seamless-immutable a module

* Add tsconfig.json

* use --strictNullChecks
2016-11-02 18:54:15 -07:00
Rand Scullard c73c01f3f6 passport: Added generic versions of serializeUser and deserializeUser for strong typing. (#12446) 2016-11-03 09:04:47 +09:00
Borek Bernard 562df78122 Fix return type of config(), add documentation (#12347)
* Fixed return type of `config()`, doc comments added

* Returned the original author name
2016-11-03 09:04:34 +09:00
Andy Hanson 1907cc359b Convert highcharts-modules-xxx.d.ts to highcharts/modules/xxx.d.ts and include in tsconfig.json 2016-11-02 13:10:12 -07:00
Andy Hanson b6e41e21ff Fix declare var Highcharts: do it in module scope, not in global scope (that's what export as namespace is for) 2016-11-02 12:48:30 -07:00
Michał Podeszwa d9a737331c Change StackPolicyBody and StackPolicyUrl to accept string instead of array of strings 2016-11-02 19:12:39 +01:00
krauseStefan 832d3c938a types(selenium): fix typings error Level class in logging namespace
The 'name' and 'value' properties should not be defined as function, they
are inplemented using es6 get functions

get value() {
  return this.value_;
}

see https://github.com/SeleniumHQ/selenium/blob/ba56ad1ae0b98a1fe1efdd2163c62fc847950178/javascript/node/selenium-webdriver/lib/logging.js#L95
2016-11-02 18:22:44 +01:00
Andy Hanson 9ba58624e8 Convert highcharts definition to module style 2016-11-02 09:41:50 -07:00
Tadas Dailyda 4c4aeebb1e react-css-modules: augment react's HTMLAttributes interface (#12184)
* augment react's HTMLAttributes interface with styleName

* move 'react-css-modules' declarations to top-level, turn on strictNullChecks
2016-11-03 00:16:32 +09:00
Miroshin Stepan 30907212e7 Update pkcs11js (#12442)
* Add files

* Added all types from pkijs-es6

* Update
- Added pkijs test
- Created asn1js
- Created pvutils
- Fixed type errors

* Update asn1js typings

* Update pvutils test

* Remove PKIBase

* Added common modules x509, cms, ocsp

* Fix typings errors

* Add comments

* Update 'declare module' & config

* Fix type errors
2016-11-03 00:13:19 +09:00
Scott(JuJiang) 34f6ecfb32 feat: add definition for memory-fs (#12377)
* feat: add definition for memory-fs

* fix: enable strictNullChecks and adjust tests

* feat: add standalone module definitions for memory-fs
2016-11-02 23:54:22 +09:00
Prashant Tiwari 00740e74f7 Types for code v4.0.0 (#12402)
* Initial commit for code v4.0.0

* Merge upstream, remove module declaration

* Fix include alias signature, fix typos

* Add stronger types to tests and run linter
2016-11-02 23:51:00 +09:00
Denis a1383223f0 Implement xml-js (#12433) 2016-11-02 23:49:20 +09:00
Artur Eshenbrener 15ba795ddb sequester: add typings (#12343)
* sequester: add typings

https://github.com/bigeasy/sequester
https://www.npmjs.com/package/sequester

* Change tsconfig files section
2016-11-02 23:48:15 +09:00
Scott(JuJiang) 8b066c8528 feat: add definition for tapable of webpack (#12376)
* feat: add definition for tapable of webpack

* fix: enable strictNullChecks and adjust tests
2016-11-02 23:43:39 +09:00
Scott(JuJiang) 73f8638b30 feat: add definition for source-list-map (#12378)
* feat: add definition for source-list-map

* fix: enable strictNullChecks
2016-11-02 23:42:27 +09:00
Scott(JuJiang) b13d495494 feat: add definition for loader-runner (#12375)
* feat: add definition for loader-runner

* fix: enable strictNullChecks
2016-11-02 23:41:44 +09:00