Commit Graph
44335 Commits
Author SHA1 Message Date
Haroen ViaeneandAndy da8016d71f feat(algoliasearch): rewrite almost completely (#25486)
* feat(algoliasearch): rewrite almost completely

Changes are mainly:

1. now has a `lite.d.ts` file for `algoliasearch/lite`
2. fix some of the options in settings and queries
3. specify more result types

* chore: update version number

* chore: fix things by copying, pasting, and removing

* test: remove header

* chore: move to folder, it maybe helps
2018-05-04 13:56:50 -07:00
FaithForHumansandAndy d33b437b8f [react-fontawesome] Changing props from a type union to an interface (#25483)
* Changing props from a type union to in interface

* Better html extends

* Extending AllHTMLAttributes instead of HTMLAttributes
2018-05-04 13:56:22 -07:00
Alexander PepperandAndy 50660e2820 [urijs] Bugfix: segment(number) can also return undefined. (#25499)
> const uri = new URI("http://example.org/foo/hello.html");
>
> uri.segment(0)
> => "foo"
>
> uri.segment(5)
> => undefined
2018-05-04 13:55:05 -07:00
James BromwellandAndy 430b5a755f node: API docs never mention NodeBuffer, remove the definition (#25500)
* node: API docs never mention NodeBuffer, remove the definition

* Remove references to NodeBuffer from outdated packages
2018-05-04 13:54:23 -07:00
Andre Z SanchezandAndy 44bc3b6c86 Fix Three.ParametricGeometry arguments (#25514) 2018-05-04 13:52:05 -07:00
denisnameandAndy 599b787527 Update to 0.1.0 (#25515)
Add interpolate functions
Add jsDoc
Activate `strictNullChecks `
2018-05-04 13:51:36 -07:00
shreedhartandAndy 3d1bed2f48 Adding Office.onReady() (#25518)
Added declaration for Office.onReady() API.
2018-05-04 13:51:02 -07:00
Christopher DeutschandAndy ad30dc660f Add missing open parameter to onSetOpen, which is pretty important if you use it. (#25519)
Add missing `defaultSidebarWidth` prop.

Declare `sidebar` as a more restrictive/accurate type.
2018-05-04 13:50:44 -07:00
Alan PlumandAndy bfb5a55f83 Add mobx-devtools-mst (#25537) 2018-05-04 13:50:15 -07:00
Philip AnderssonandAndy ebf9f31259 Mongoose model init (#25530)
* Adding init method declaration on Model interface

* Test init method on Model
2018-05-04 13:49:48 -07:00
RetsamandAndy 15df8a32af Add type params to the KnockoutBindingHandler type (#25531) 2018-05-04 13:49:31 -07:00
IkaandAndy d2e888c5fe fix(prettier): add missing props and fix wrong types (#25532) 2018-05-04 13:48:44 -07:00
Sean KelleyandMohamed Hegazy b44bc3fe3e Update shallowequal exports to allow '* as' imports. (#25488) 2018-05-04 09:15:48 -07:00
Thanh NgoandAndy b94b775e93 [idyll] add type declaration for idyll (#25454)
* add type declaration for idyll

* incorrect export: expected a function export
2018-05-04 08:01:42 -07:00
Eloy DuránandGitHub 9208696d3b Merge pull request #25517 from dhruska/patch-1
Remove extraneous character in react-native documentation
2018-05-04 08:31:53 +02:00
Donald HruskaandGitHub 9c60961534 Remove extraneous character in react-native types
Remove extraneous `}` in `FlatList` `renderItem` definition
2018-05-03 15:56:05 -05:00
Lloyd BrookesandRyan Cavanaugh 89c307ca87 Updated types for command-line-args v5.0.2 (#24873)
* Updated types for command-line-args v5.0.2

* command-line-args: create v4 sub-folder for previous major version

* Re-able lint rules. Fix lint issues.
2018-05-04 08:02:28 +12:00
FenyingandAndy 568b33e4c6 [sequelize] Added exact key matching and partial update. (#25311)
* More exactly key matching.

* Applied more exact limitation on updating values
2018-05-03 12:37:35 -07:00
Aleksey LynnykandAndy 638e64c83c google-apps-script: Add BooleanCriteria, InterpolationType, ConditionalFormatRuleBuilder, ConditionalFormatRule (#25502)
* Add BooleanCriteria, InterpolationType, ConditionalFormatRuleBuilder, ConditionalFormatRule

* Add BooleanCriteria, InterpolationType, ConditionalFormatRuleBuilder, ConditionalFormatRule

* Change updated date
2018-05-03 12:34:59 -07:00
Junyoung Clare JangandAndy e20d3f42c0 Add evaporate 2.1 typing (#25452) 2018-05-03 12:34:33 -07:00
Alec MerdlerandAndy 785ca0ad7a add types for Ace editor completion hooks (#25337) 2018-05-03 10:54:13 -07:00
ywcericandAndy 5c5450722c add StopError to bluebird-retry (#25339) 2018-05-03 10:53:38 -07:00
Lucas SloanandAndy 2689160921 AngularJS: improve types for IQService.all (support for arrays of non-promises). (#25350) 2018-05-03 10:53:09 -07:00
Oscar BuskandAndy f4e0c531ba Add typing for object syntax on component registerer (#25507) 2018-05-03 10:51:31 -07:00
James BromwellandAndy 6372e41de5 @types/node: Add missing methods to Console, plus docs (#25327)
* Add missing methods to node Console, plus docs

* Update Node console dirxml per review comment
2018-05-03 10:00:28 -07:00
Nico ChavesandAndy 96f036fdbc [redux-form] add missing updateUnregisteredFields prop (#25309)
* add missing updateUnregisteredFields prop

* fix lint issue (no-trailing-whitespace)
2018-05-03 09:56:24 -07:00
Kiyotoshi IchikawaandAndy de7230bdb1 [browser-sync] Appended/updated definitions and tests. (#25301)
* [browser-sync] Type definition for Option type is missing many valid properties.
Also appending tests to cover newly added properties/interfaces.

* Updated types and appended some.
The proxy.proxyRes property could be further expressed to take one or three parameters. Its previous representation was not correct according to the documentation and default configuration the package generates.
Specified types for watchEvents, open, and logLevel options.
Converted type Object references to object per recommended guidelines of DefinitelyTyped repo.
Converted type Function references to arrow function.
More SnippetOptions properties, defined FormsOptions under GhostOptions.
Added and modified tests.
2018-05-03 09:56:04 -07:00
devjediandAndy fe2dca7edd Added missing "order" attribute to ColumnProps (#25336)
reactstrap supports the order attribute in the props of the <Col> component.
This was still missing from the types.
See: https://reactstrap.github.io/components/layout/
2018-05-03 09:54:57 -07:00
Andy Hanson f12457243f Merge branch 'ThorSedeke-koa-response-time' 2018-05-03 09:53:32 -07:00
Andy Hanson fad86c95c4 Remove empty namespace 2018-05-03 09:53:21 -07:00
Andy Hanson 799d94e024 Merge branch 'koa-response-time' of https://github.com/ThorSedeke/DefinitelyTyped into ThorSedeke-koa-response-time 2018-05-03 09:52:33 -07:00
Vladimir TikhonovandAndy 3b83984ac6 Add node to BookmarkRemoveInfo type (#25451) 2018-05-03 09:50:30 -07:00
Thanh NgoandAndy b1086b6614 add type definition for idyll-document (#25455) 2018-05-03 09:48:03 -07:00
Thanh NgoandAndy b7759e6aab add type declarations for idyll-ast (#25453) 2018-05-03 09:46:08 -07:00
Jeremy ShoreandAndy 38a91aa931 Hapi: Fix issue with invalid export linting (#25457)
The import `url` doesn’t have an export property of `URL`
2018-05-03 09:10:38 -07:00
Helen AndersonandAndy d79f176a3a add type definitions for bidirectional-map (#25459) 2018-05-03 09:10:13 -07:00
amandAndy d6da19d371 [adone] refactoring (#25461)
* application -> app
2018-05-03 09:09:26 -07:00
eritikassandAndy eaf81825ef add missing event handlers (once, off, trigger) (#25463)
https://developer.jwplayer.com/jw-player/docs/developer-guide/api/javascript_api_introduction/#event-listening-with-the-jw-player-api
2018-05-03 09:08:08 -07:00
Adam BurdetteandAndy ec64691843 Fixed Expo PermissionType (#25464)
* Fixed PermissionType

Added references to cameraRoll and systemBrightness to PermissionType as well as adding userFaceingNotifications and reminders which were missing entirely.  Also sorted the constants and the types.

* Fixed linting

There was a trailing white space I left.

* Added to tests

Added the new permissions to the tests.
2018-05-03 09:07:33 -07:00
Md. Enzam HossainandAndy a1632b79b3 Make createSpyObj definitions consistent - same strict type for all methodNames arguments. (#25466) 2018-05-03 09:07:04 -07:00
GabrielandAndy 62da0e60ef angular-translate: Add optional fn parameter to onReady (#25477)
* Add optional fn parameter on onReady

This callback is executed if provided when the $translate service is ready.

* Add Gabriel Gil to angular-translate definitors
2018-05-03 09:05:48 -07:00
James GreenleafandAndy f3bbaa60f2 add type definitions & tests for new props (#25485) 2018-05-03 09:00:19 -07:00
Jérémie AstoriandAndy dd0d4ad0c4 Type spawn's args as a ReadonlyArray of string (#25487)
At the moment, this snippet:

```ts
const spawnArgs: ReadonlyArray<string> = ['foo', 'bar'];
spawn('foobar', spawnArgs);
```

fails with:

```
Argument of type 'ReadonlyArray<string>' is not assignable to parameter of type 'string[] | undefined'.
  Type 'ReadonlyArray<string>' is not assignable to type 'string[]'.
```

Looking at https://github.com/nodejs/node/blob/master/lib/child_process.js#L514-L535 and https://github.com/nodejs/node/blob/master/lib/internal/child_process.js#L286, it _looks_ like there is no mutation of the array. I am no expert so I'd be happy to be proven wrong, I just couldn't find sufficient evidence that a `ReadonlyArray` wouldn't be fine.
This is not a breaking change because passing a `string[]` is still valid.
2018-05-03 08:57:27 -07:00
ChrisGarber-MedleverandAndy f2236bdec5 ReactSVG - Update to 3.0 (#25493)
* test changes for v3.0

check onClick for spreading the div props support

* Version ReactSVG V3.0 typings
-added myself to contribution list
-added intersection typing with react div typing

* Just kidding these are the real V3 typings

* more changes --> more test changes
2018-05-03 08:54:24 -07:00
JounQinandAndy f7235908a0 feat: add declarations for fork-ts-checker-webpack-plugin (#25494) 2018-05-03 08:53:11 -07:00
Stephan Nordnes EriksenandAndy 5ba9632d85 react-native-navigation: Add all Drawer properties (#25497)
* fix: Set add all Drawer properties

According to the documentation, these changes could be added:

https://wix.github.io/react-native-navigation/#/top-level-api?id=startsinglescreenappparams

* fix: Add tests and fix linting
2018-05-03 08:52:37 -07:00
Darryl PogueandAndy 49b4aeb9f9 Remove angular reference from angular-translate (#25495)
This brings the definition in line with official AngularJS packages like
angular-sanitize, angular-mock, and angular-route.

This reference was causing bizzarre path issues when trying to run the
dgeni documentation tool on a project that included these types, and it
appears that the fix for that is to remove the reference, which
coincidentally matches what the official AngularJS packages do.
2018-05-03 08:52:13 -07:00
Kyle RoachandAndy 884979debd [react-native] ScrollView - make scrollToLocation method (#25505) 2018-05-03 08:50:27 -07:00
James BromwellandAndy ee09f446b0 ws: add address method to Server (#25503) 2018-05-03 08:29:14 -07:00
Jinesh ShahandAndy 73a7a2d99f Added feather-icons (#25509)
* added feather-icons

* added strictfunctiontypes

* added intercom-client
2018-05-03 08:28:43 -07:00