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
Terry Mun
511c202dce
Exporting the Snap.set() function, added new tests
2019-01-04 20:59:58 +01:00
Zach Posten
7c0eb58df3
chore: Copy more documentation from website
...
See: https://pqina.nl/filepond/docs/patterns/api/filepond-instance/
2019-01-04 13:29:31 -06:00
Zach Posten
5f5aded277
feat: Add the remainder of the FilePond object methods
...
See: https://pqina.nl/filepond/docs/patterns/api/filepond-object/
2019-01-04 13:26:46 -06:00
Zach Posten
90caba1f1e
fix: Combine FileItem and File types
...
It turns out that these are actually the same object, not two distinct
ones like I had thought.
2019-01-04 13:26:46 -06:00
Zach Posten
31283ad9ca
fix: Flesh out possible server url configurations
2019-01-04 13:26:46 -06:00
Zach Posten
aa3e405524
chore: Shut off auto exporting for this module
2019-01-04 13:26:45 -06:00
Zach Posten
5a117a37a0
fix: Correct metadata method args
2019-01-04 13:26:45 -06:00
Zach Posten
104ba92f06
fix: Don't export type FilePondFile that does not exist
...
Previously, for reasons explained (here)[https://stackoverflow.com/q/53876793/2517147 ],
the type FilePondFile weas being exported form this type definition when
it was not exported by the library react-filepond.
This has now been fixed.
2019-01-04 13:26:45 -06:00
Zach Posten
b2ae5b9aa2
fix: Add missing metadata file prop
2019-01-04 13:26:44 -06:00
Sheetal Nandi
6537c15a28
Merge pull request #31876 from substantial/fix-parse-signatures
...
[url-parse] add extra parse signature
2019-01-04 10:31:30 -08:00
Sheetal Nandi
ba816b2cc5
Merge pull request #31896 from martynaskadisa/loadable-components
...
[@loadable/component] Introduce typings
2019-01-04 10:29:50 -08:00