Commit Graph
52764 Commits
Author SHA1 Message Date
Erik Källén ec44d45205 Improve types for csso (#30607) 2018-11-18 10:45:04 -08:00
hirochachacha 09298b425d @types/koa-joi-router: update version and fix some issues (#30577)
* @types/koa-joi-router: update version and fix some issues

* extend Koa.Request rather than defining its own type.
* support complex handler types.
* support multiple method.
* add use, param, head, option, get, post, put, patch, delete

* @types/koa-joi-router: reuse koa-router type for prefix, use, param
2018-11-18 10:41:40 -08:00
Andrea Gueugnaut 2b4c81593a [koa-router] Replace object type by an interface type for router matching (#30587)
* feat(koa-router): replace Object by IRoutesMatch; rename param

* docs(koa-router): add contributor
2018-11-18 09:40:30 -08:00
Daniel Byrne 84b817e096 Update index.d.ts (#30591)
typo: `smmothingFactor` should be `smoothingFactor`
2018-11-18 09:38:33 -08:00
Lily Montoute e70dd777a8 Update WindowScroller.d.ts (#30599)
Add `scrollLeft` property to WindowScrollerChildProps
2018-11-18 09:37:45 -08:00
Pat Lindley 9d38325dc8 Adds multiple method to confirm dialog typing. (#30413)
* Adds multiple method to confirm dialog typing.

* Removes optional parameter for method.
2018-11-18 09:36:51 -08:00
Daniil Samoylov dbdb44f48a Fix slate minor issues: spelling in function name, Mark instead of MarkJSON in LeafJSON (#30540)
* Fix function name getMarksBetweenOffset -> getMarksBetweenOffsets

Link to the source https://github.com/ianstormtaylor/slate/blob/a09c3c2fdfe87605988a13e968643f81b4936978/packages/slate/src/models/text.js#L348-L376

* LeafJSON should use MarkJSON instead of Mark
2018-11-18 09:29:04 -08:00
Arthur Zagorsky b17d341688 Ramda: assoc overloads order (#30341) 2018-11-18 09:27:36 -08:00
Eduardo Ayres 32943a4b67 Updated dhtmlxgantt type to properly export the types (#30311)
Added modules declaration exporting the types to fix importing issues on ts 3.0+ (and angular 7 ecosystem)
2018-11-18 09:20:47 -08:00
Matt McCutchen 1a85b5bfa4 pouchdb-upsert: Enable strictFunctionTypes and make the type of the (#30494)
parameter to UpsertDiffCallback more useful.

Addresses https://stackoverflow.com/q/53275861 .
2018-11-18 09:13:48 -08:00
Ika 6168660294 fix(prettier): add missing options (#30581) 2018-11-18 09:09:38 -08:00
johnjessewood 8c99cf5fed @types/sinon - add type inference for stub/spy arguments and return types (#30442)
* Add some generic type inference to sinon stubs and spies

* Correct callsFake typing and add Author

* Bump typescript version

* Give better names to the generic types

* Bump typescript version in karma-chai-sinon, as it requires Sinon

* Bump ts versions of packages that depend on sinon

* Use Array<T> instead of T[]
2018-11-18 09:07:43 -08:00
David Furlong c9e8f31da3 Update react-instantsearch-core types (#30382)
* Update index.d.ts

* Fix lint errors

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-11-18 09:06:38 -08:00
molsson 1d8c20dc7d svg: Add missing Svg property "preserveAspectRatio" (#30618) 2018-11-18 09:04:09 -08:00
Laurens Rietveld a44690f6ef N3: Made termtype properties readonly (#30624) 2018-11-18 09:01:28 -08:00
Elizabeth Samuel d2b4d988bf office-js: Add AsyncResult.diagnostics (#30593)
* office-js-Add AsyncResult.diagnostics

* Minor update

* Updates based on feedback from Ankush

* Updates based on feedback from Alex
2018-11-18 08:49:55 -08:00
aharonp d202969f89 Support function for locator-based validators (#30528)
Allow a function to be passed as the reference to the ref helper and the
requiredIf, requiredUnless and sameAs validators.
2018-11-16 18:20:21 -08:00
Jason Bothell 1d99009991 Add discord-rpc 3.0 typings (#30578)
* Add discord-rpc 3.0 typings

* Lint
2018-11-16 17:16:55 -08:00
Roaders ed9b273ae4 Update Jasmine to 3.0 (#30261)
* Update Jasmine to 3.3

* Update index.d.ts

* Update index.d.ts

Change targeted version to 3.0.0 as all additional matchers are in 3.0.0 as well as 3.3.0

* Update index.d.ts

Remove nothing from `Matchers<T>`

* Update jasmine-tests.ts

Remove nothing from tests on Matcher
2018-11-16 16:40:01 -08:00
Emily Marigold Klassen f1e4894762 Add types for tableify (#30573) 2018-11-16 16:18:44 -08:00
Emily Marigold Klassen 9b4c987265 Add types for sort-object-keys (#30572) 2018-11-16 16:08:53 -08:00
Emily Marigold Klassen 502207021b Add types for is-obj and is-regexp (#30571) 2018-11-16 16:06:58 -08:00
Emily Marigold Klassen 4d24ec8a7e Add types for pkg-up (#30570) 2018-11-16 16:00:49 -08:00
Emily Marigold Klassen 3b1a21e700 Add types for promise-memoize (#30568)
* Add types for promise-memoize

* fixup! Add types for promise-memoize

* Add clear to promise-memoize tests
2018-11-16 15:58:40 -08:00
Frank Li 28a8ad8439 [element-resize-detector] Updated type definition (#30501)
* Update tsconfig.json

* Update element-resize-detector-tests.ts

* Update index.d.ts

* Update index.d.ts

* Update element-resize-detector-tests.ts

* Update index.d.ts

* Update index.d.ts

* Update element-resize-detector-tests.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts

* Update index.d.ts
2018-11-16 14:32:50 -08:00
Ron Buckton 009ef28c97 Merge pull request #30566 from DefinitelyTyped/fixReactTableTests
[react-table] Remove unnecessary import from tests
2018-11-16 14:17:22 -08:00
Eloy Durán f236da73b7 Merge pull request #30564 from DefinitelyTyped/fix-react-native-on-ts-3.1
Fix react-native on TS 3.1+
2018-11-16 22:29:53 +01:00
Erik Källén 014c05022b Add types for css-tree 1.0 (#30530) 2018-11-16 13:08:05 -08:00
Florian Keller 08d14908f3 Add types for git-root-dir (#30556) 2018-11-16 13:07:09 -08:00
Timur Manyanov 0d488f7683 Add app-module-path definitions (#30543) 2018-11-16 13:06:49 -08:00
Andy Hanson a6b283d1d4 simple-mock: requires ts2.2 2018-11-16 12:22:55 -08:00
Andy 141d1cc870 And tslint disables for no-angle-bracket-type-assertion (#30592) 2018-11-16 12:20:58 -08:00
Simon Schick 44650cfbe7 feat(catbox-memory): add v4 (#30427) 2018-11-16 08:37:52 -08:00
Peng Xiao 112cc3e073 chore: add new parsers for latest prettier version. (#30516) 2018-11-15 16:44:08 -08:00
dwulfde e2abd0821e @types/paper: Added Item.locked to the definition (#30514)
* Added Item.locked to the definition

* Added the right Paper.js version to the header
2018-11-15 16:43:14 -08:00
Jason Hoetger f07566d502 Updated bank account-related types (#30500) 2018-11-15 15:52:21 -08:00
nixxquality 170cdd547e [@types/react-table] add cellInfo typings (#30459)
* [@types/react-table] add cellInfo typings

* add test

* rename data to cellInfo

* document the props
2018-11-15 15:48:22 -08:00
Melvin Groenhoff 1733f6bed0 Use types that come with @babel/parser and remove @types/babel__parser (#29403)
* @babel/parser includes its own types

* Update TypeScript version.
2018-11-15 14:56:48 -08:00
scott willeke 80d9c48f2d next-server: makes router optional (#30190)
* makes router optional as explained in first comment of #24077

* build fixes in dependant next package

* retrigger build to see if "known issue with typescript@next" mentioned in #30190 comments is fixed

* minor change per suggestion on #30190
2018-11-15 14:40:56 -08:00
denisname f520e240e3 d3-selection: better type inference for append, insert, create and creator (#30381)
* Better type inference for append, insert, create and creator

* Remove now useless generics
2018-11-15 14:38:56 -08:00
tasadar2 909f4dc1a4 Changed options object to key value pair (#30532) 2018-11-15 14:29:28 -08:00
Kjell-Morten b9c4d107b5 bull: Correct job status for Queue#clean (bull has a typo here and uses 'wait' instead of 'waiting') (#30315)
* bull: Correct job status 'waiting' to 'wait' for Queue#clean

* bull: Correct job status for clean event callback
2018-11-15 14:25:06 -08:00
Nathan Shively-Sanders 1d4bb05c42 Organise imports (closer to alphabetical) 2018-11-15 14:19:34 -08:00
Nathan Shively-Sanders 3e5bfdadac Fix react-native on TS 3.1+
Fixes #29265, based on comment
https://github.com/Microsoft/TypeScript/issues/27421#issuecomment-433249163
2018-11-15 14:17:07 -08:00
Radu 8b68c2fbb5 @types/react-select: Async make non-mandatory props optional (#30485) 2018-11-15 13:31:28 -08:00
Lukas Havlicek cf27af28ad Fixed missing optional "drawerLockMode" property in "NavigationRouteConfig" interface, values for "drawerLockMode" as a separate exported type (#30436) 2018-11-15 13:29:18 -08:00
Wylie Conlon cff4ff4231 CodeMirror documentation differs from types for addLineWidget (#30529) 2018-11-15 13:04:48 -08:00
Lars-Olof Moilanen 615629e8f9 Add defaultSort property to reactable.Table (#30531) 2018-11-15 12:59:34 -08:00
Duncan Hall 33f6ddabc9 Add optional state: boolean to StrategyOption (#30560) 2018-11-15 12:50:23 -08:00
Ika cfca829e9a fix(yaml): add missing FlowChar#origOffset (#30553) 2018-11-15 12:48:23 -08:00