Yu Shimura
37bcddb3e7
Parsed result now statically typed
2018-12-01 11:55:06 +09:00
Matt McCutchen and John Reilly
efbcbdebaf
Revert "react: Improve type checking of component static properties. ( #30730 )" ( #30964 )
...
This reverts commit 5610636ad2 .
2018-11-30 22:26:52 +00:00
Nathan Shively-Sanders and GitHub
e064f929bd
Merge pull request #30914 from szhu/linkifyjs
...
[linkifyjs] Add types for linkifyjs/html 2.1
2018-11-30 14:20:39 -08:00
Nathan Shively-Sanders and GitHub
b6dd34bfde
Merge pull request #30953 from panascais-forks/add-postcss-url
...
[postcss-url] add typings
2018-11-30 13:51:02 -08:00
Nathan Shively-Sanders and GitHub
4a34a94b34
Merge pull request #30801 from JulianSSS/master
...
[three,physijs] fix tests to fullfill travis needs.
2018-11-30 13:31:19 -08:00
Nathan Shively-Sanders and GitHub
c566305aca
Merge pull request #30955 from pgilad/patch-1
...
Gravatar can accept optional html img attributes
2018-11-30 13:22:07 -08:00
Nathan Shively-Sanders and GitHub
3006ef22b3
Merge pull request #30888 from divideby/vis-on-initial-draw
...
add onInitialDrawComplete event support
2018-11-30 13:08:28 -08:00
Nathan Shively-Sanders and GitHub
83e50a2ee1
Merge pull request #30909 from ecraig12345/jju
...
Add definitions for jju
2018-11-30 11:32:31 -08:00
Nathan Shively-Sanders and GitHub
de749a56c4
Merge pull request #30911 from taoqf/master
...
add types baidu-app
2018-11-30 11:31:04 -08:00
Nathan Shively-Sanders and GitHub
9684f4a4be
Merge pull request #30889 from BendingBender/mustache-express
...
Add types for mustache-express
2018-11-30 11:29:30 -08:00
Eloy Durán and GitHub
ec2d721961
Merge pull request #30959 from ide/fix-rnc
...
[react-native] Make requireNativeComponent work with an update to @types/react
2018-11-30 19:48:46 +01:00
James Ide
65430a8a7b
[react-native] Make requireNativeComponent work with an update to @types/react
...
4dd9510a50 changed `React.ReactType` to look at entries in the `JSX.IntrinsicElements` map, which caused rendering `React.ReactType<any>` elements to fail. This commit fixes the RN type declarations by returning `any`. We don't care about the actual return type that much -- it's concretely a string but externally, as a user of react-native, you'd want to only use it as a JSX component type and not as a string.
And since it's a string that isn't registered with `JSX.IntrinsicElements`, there's no extra type information (ex: list of valid props) associated with it. Longer term, it might make sense for `@types/react-native` to add native component types like `RCTView` to `JSX.IntrinsicElements` and go back to using `React.ReactType<'RCTView'>` with `requireNativeComponent`, but this is a disruptive change.
Test plan: Ran tests, verified they pass again.
Fixes #30958 .
2018-11-30 10:17:33 -08:00
Nathan Shively-Sanders and GitHub
8d8a70d0f4
Merge pull request #30897 from BendingBender/timing-safe-equal
...
Add types for timing-safe-equal
2018-11-30 09:26:32 -08:00
Nathan Shively-Sanders and GitHub
f35cd84086
Merge pull request #30899 from BendingBender/diffie-hellman
...
Add types for diffie-hellman
2018-11-30 09:25:57 -08:00
Nathan Shively-Sanders and GitHub
7e1ba4933f
Merge pull request #30932 from markwolff/appinsights-add-properties
...
ApplicationInsights-JS: Add properties and measurements to trackDependency
2018-11-30 08:46:48 -08:00
Gilad Peleg and GitHub
3c08522763
Gravatar can accept optional html img attributes
2018-11-30 18:46:24 +02:00
Silas Rech
4831c49ca4
[postcss-url] add typings
2018-11-30 17:15:51 +01:00
Eloy Durán and GitHub
c34029e6e0
Merge pull request #30601 from jeroenvervaeke/master
...
react-navigation: Added property type to DrawerItems
2018-11-30 11:48:07 +01:00
Matt McCutchen and John Reilly
5610636ad2
react: Improve type checking of component static properties. ( #30730 )
...
- Copy properties from ComponentClass to the Component class.
- Recommend the react-typescript-helpers package for checking the
defaultProps and propTypes at a component definition.
- As a fallback, have JSX.LibraryManagedAttributes check the
defaultProps and propTypes every time a component is used.
- Fix test failures in dependent packages.
Fixes #28515 .
Fixes #16967 .
2018-11-30 06:24:18 +00:00
Nathan Shively-Sanders and GitHub
d2123ba252
Merge pull request #30864 from joshdover/es-consistency
...
Order overloaded functions consistently in @types/elasticsearch
2018-11-29 15:43:50 -08:00
Jeroen Vervaeke
9c0e5d4bac
Merged upstream/master
2018-11-30 00:36:59 +01:00
Mark Wolff
c5896588bf
Reduce line length
2018-11-29 15:30:05 -08:00
Nathan Shively-Sanders and GitHub
2eb853a30b
Merge pull request #30926 from AlexJerabek/AlexJ-HTML
...
[office-js] Fix HTML brackets
2018-11-29 15:25:35 -08:00
Mark Wolff
5cce7fcb72
Add properties tests
2018-11-29 14:52:50 -08:00
Mark Wolff
221e85cc38
Add properties and measurements to trackDependency
2018-11-29 14:49:05 -08:00
Alex Jerabek
278797da32
Fix HTML brackets
2018-11-29 12:08:44 -08:00
Mine Starks and GitHub
35c3c6fbfe
Merge pull request #30921 from mateusz-g/master
...
[braintree-web] Use of promises + additional improvements
2018-11-29 10:55:33 -08:00
Mine Starks and GitHub
c11fada964
Merge pull request #30902 from Flarna/node_alpn
...
[node] Add missing alpnProtocol and createConnection
2018-11-29 09:59:25 -08:00
Mine Starks and GitHub
c532e3fe30
Merge pull request #30904 from AlexJerabek/AlexJ-Dialog
...
[office-js] Add DialogOptions.promptBeforeOpen
2018-11-29 09:59:07 -08:00
Mine Starks and GitHub
c7651b777a
Merge pull request #30891 from pluma/arangodb
...
[arangodb] Add Collection#name()
2018-11-29 09:58:42 -08:00
Mine Starks and GitHub
7f558c5aa6
Merge pull request #30855 from Quas94/master
...
Update names and cleanup for Dropbox Chooser definitions
2018-11-29 09:58:15 -08:00
Mine Starks and GitHub
bfd765902f
Merge pull request #30795 from christianchown/react-infinite-calendar-full-api
...
[react-infinite-calendar] Extend typings to include the Enhanced Default Functionality
2018-11-29 09:57:56 -08:00
Mine Starks and GitHub
fcae653a2b
Merge pull request #30793 from clark-stevenson/master
...
Minor Update to Pixi.js
2018-11-29 09:54:28 -08:00
Mine Starks and GitHub
d82915e025
Merge pull request #30794 from SimonSchick/feat/hapi-17.8
...
feat(hapi): 17.8
2018-11-29 09:53:06 -08:00
Mine Starks and GitHub
e9b6c512cc
Merge pull request #30779 from KurtPreston/KurtPrestonUnsubscribe
...
Removing self as definition owner in reactstrap and react-jsonschema-form
2018-11-29 09:51:37 -08:00
Mine Starks and GitHub
8ace58127e
Merge pull request #30769 from RMHonor/master
...
[seamless-immutable] Add mode property to merge config
2018-11-29 09:42:23 -08:00
Mine Starks and GitHub
97f607bb75
Merge pull request #30440 from mattmccutchen/react-navigation-strictfunctiontypes
...
react-navigation: Make declarations work with strictFunctionTypes.
2018-11-29 09:29:21 -08:00
Mine Starks and GitHub
7d8c9c9ce6
Merge pull request #30789 from muzea/hotfix/babel__core
...
fix(babel__core): the transform actually return File
2018-11-29 09:27:19 -08:00
Mine Starks and GitHub
a412da1f0e
Merge pull request #30908 from pc-jedi/promise-bull
...
[bull] Callbacks have to return Promise
2018-11-29 09:26:49 -08:00
Mine Starks and GitHub
1b0e7571e8
Merge pull request #30900 from cameron-martin/function-parent-null-return
...
[@babel/traverse]: Added null to Scope#getFunctionParent return type.
2018-11-29 09:24:01 -08:00
Mateusz Glapinski
0faecf90db
* overloads few methods that should return Promise if a callback parameter is omitted
...
* adds HostedFieldsHostedFieldsFieldName type
* update tests
2018-11-29 17:21:08 +01:00
Sean Zhu
27544c9615
[linkifyjs] Fix lint errors
2018-11-29 00:10:26 -08:00
Sean Zhu
14e3429c27
[linkifyjs] Add .html.d.ts to files
2018-11-29 00:05:02 -08:00
Sean Zhu
f0b7bad351
rm 'types/linkifyjs/.prettierrc.yml'
2018-11-28 23:38:27 -08:00
Sean Zhu
7391c175d2
[linkifyjs] Add types for linkifyjs/html 2.1
2018-11-28 23:21:32 -08:00
taoqf
0bc65f163b
Merge remote-tracking branch 'dt/master'
2018-11-29 13:50:18 +08:00
taoqf
f8a55ca2b6
add definition baidu-app
2018-11-29 13:48:15 +08:00
muzea
e70908a9cd
fix: lint error
2018-11-29 13:12:55 +08:00
MuYu and GitHub
ee7018b7e4
Merge branch 'master' into hotfix/babel__core
2018-11-29 13:06:31 +08:00
Elizabeth Craig
5068c79527
Allow parse and stringify options for update()
2018-11-28 20:29:55 -08:00