Commit Graph
57967 Commits
Author SHA1 Message Date
PopGoesTheWza b8332e14d5 Merge pull request #2 from DefinitelyTyped/master
sync
2019-01-06 22:30:31 +01:00
Matías Olivera f5a867e210 Use interface Rules in Validator
Related with commit 1e6edecd00
2019-01-06 18:06:26 -03:00
Matías Olivera 7e6e4d7915 Correct the return value of the first method
It return the first error message or false. It never returns true.
2019-01-06 18:00:03 -03:00
Matías Olivera 70385fd6e6 Fix interface ValidationErrors 2019-01-06 17:51:44 -03:00
Matías Olivera da6d526cb0 Use ES6 syntax 2019-01-06 17:43:31 -03:00
Matías Olivera d79a32cd8c Separate the tests with comments 2019-01-06 17:40:38 -03:00
Matías Olivera 1e6edecd00 Add interface Rules 2019-01-06 17:20:06 -03:00
Matías Olivera 19d40360f8 Code formatting with Prettier 2019-01-06 16:49:16 -03:00
Matías Olivera 20adc13e50 Delete the interface ParsedRule
It isn't used in any place.
2019-01-06 16:22:52 -03:00
Jason Killian 3ad75fac4d [expo] Add types for SecureStore keychain item accessibility constants (#31840)
* [expo] Add types for SecureStore constants

* add use of keychainService; improve options types for getItemAsync and deleteItemAsync; test all SecureStore constants
2019-01-06 11:07:43 -08:00
Justin Hall f1762ec1a7 Remove typings for hibp (#31912) 2019-01-06 11:06:50 -08:00
Tomas Carnecky 08c13378e4 react-intl: change the FormattedMessage tagName prop to accept any ReactType (#31906)
In the react-intl source the prop is defined as follows:

    tagName: PropTypes.oneOfType([PropTypes.string, PropTypes.element])

But it's actually passed straight to React.createElement(tagName, …),
so any type that is accepted by createElement should be allowed here.

It is useful to allow passing custom components to FormattedMessage,
for example when you use styled components, eg.

    const FancyHeading = styled('h1')`font-size: 32px`;
    <FormattedMessage … tagName={FancyHeading} />
2019-01-06 11:04:11 -08:00
Dimitri Benin 6a45a1d60e [request-stats] Add types 2019-01-06 20:02:44 +01:00
Mark Polak 1ff633d518 Add missing require types (#31911) 2019-01-06 11:01:12 -08:00
Max Harris 8ee6e76a06 update skipEmptyLines option to allow 'greedy' (#31898) 2019-01-06 10:59:58 -08:00
Matías Olivera 1dc5761b46 Update version to 3.15.0 2019-01-06 15:59:11 -03:00
Jasmin Bom a152a7963b Update to firefox 65.0b8 (#31920) 2019-01-06 10:55:14 -08:00
Nicolas Penin c4e76c8626 Update index.d.ts
fixed typescript compilation issue
2019-01-06 19:41:15 +01:00
Nicolas Penin 3e4d4760b0 Merge pull request #1 from DefinitelyTyped/master
merging
2019-01-06 19:36:13 +01:00
cwomack ef09a8002a feat(react-content-loader): add ariaLabel property 2019-01-06 10:21:59 -08:00
bonan c4a9538c17 Add definition for mediaType() in @types/accept 2019-01-06 18:23:58 +01:00
Mihail Novikov 3d96c9aa59 [@react-simple-maps] Fix test errors 2019-01-06 12:31:37 +03:00
Mihail Novikov 7524d5a22b [@types/react-simple-maps] Fix types 2019-01-06 12:16:24 +03:00
Mihail Novikov 15f532b2e5 [@types/react-simple-maps] Fix types 2019-01-06 12:10:16 +03:00
Zhicheng WANG d1023c2e81 fix: add parameter HTMLParser to makeMarkdown 2019-01-06 11:44:05 +08:00
mAAdhaTTah e6873eba9f Improve kefir types
Add proper type refinement to the `filter` method. Combine the operators
on the base Observable class. Add staticLand exports. Add default export.
2019-01-05 22:07:46 -05:00
Dan Vanderkam f991d75a0a simplify test 2019-01-05 21:51:54 -05:00
Dan Vanderkam 4103015e81 rework test 2019-01-05 21:42:50 -05:00
Dan Vanderkam 58e01e780d Add test for type aliases 2019-01-05 16:26:04 -05:00
antoinebrault 0ccaf36b05 add jest-when type inference 2019-01-05 15:16:49 -05:00
antoinebrault 68242a43a8 merge master 2019-01-05 14:40:43 -05:00
Dominic Fallows 2d45354af5 Export BaseLine to fix cannot be named ts4023
Export the `BaseLine` interface to fix TS `cannot be named errors`, for example: 

```bash
Exported variable 'scale' has or is using name 'BaseLine' from external module "node_modules/@types/typography/index" but cannot be named.ts(4023)
```
2019-01-05 16:59:47 +00:00
Dan Vanderkam 76eda5dc1b Refactor GeoJSON to make Geometry = GeometryObject 2019-01-05 11:42:21 -05:00
denis 4dc4f8a0d3 Lint finles: remove most exceptions.
Add few JsDoc.
Remove old 'Env' properties.
2019-01-05 14:50:46 +01:00
Terry Mun c38f3d2767 Minor spelling changes, whitespace removal, and improvement to Snap.set() API
This commit includes ensuring methods exposed by the Set API is typed in a
consistent manner as per documentation:

* `.attr()` always returns `Snap.set`
* `.getBBox()`, `.insertAfter()` is added
2019-01-05 12:53:07 +01:00
kimcoder-bm a150058ab4 removed urlencode types 2019-01-05 16:30:19 +09:00
kimcoder-bm 7af0053a0b add @types/body-scroll-lock 2019-01-05 16:27:38 +09:00
kimcoder-bm 656fa06c9a modify export = 2019-01-05 11:15:09 +09:00
Igor Oleinikov 48f49d955e Comment out some tests which only fails on lower versions of TS 2019-01-04 17:12:06 -08:00
Igor Oleinikov a2c314c5de [styled-components] Add support of defaultProps 2019-01-04 16:30:02 -08:00
Sheetal Nandi b35434fe6f Merge pull request #31281 from tgriesser/patch-1
Remove global Express.Request.user declaration
2019-01-04 14:27:12 -08:00
Sheetal Nandi bc929e8e79 Merge pull request #31814 from zposten/react-filepond
Correct metadata types for react-filepond
2019-01-04 14:25:54 -08:00
Sheetal Nandi c2f288c362 Merge pull request #31897 from martynaskadisa/loadable-server
[@loadable/server] Introduce typings
2019-01-04 14:24:07 -08:00
Max Bogue 08319af8f7 Update lodash/fp/filter to support string[]. 2019-01-04 16:05:51 -06:00
Terry Mun 98c484fd96 Added minimum requirement for TS2.1, fixed test 2019-01-04 21:56:12 +01:00
Terry Mun 66cc864a9a Removed extraenous closing parenthesis 2019-01-04 21:45:37 +01:00
Terry Mun 2ff95235fb Updated typing for callback in Set.forEach() 2019-01-04 21:40:24 +01:00
Terry Mun b40e204bbf Further updated Snap.set() typings, fixed issues with scoping in test file 2019-01-04 21:31:10 +01:00
Terry Mun e7f993ee3e Updated SnapSVG version to 0.5.1 2019-01-04 21:08:00 +01:00
Terry Mun 59c3dca755 Merge branch 'master' of https://github.com/DefinitelyTyped/DefinitelyTyped 2019-01-04 21:02:16 +01:00