Ron Buckton
b73b4426dd
compatibility fix for keyof T in ts 2.9
2018-04-24 19:48:14 -07:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Forbes Lindesay
8f8f6c4392
[react] Use HTMLDialogElement for the dialog node ( #23053 )
...
* [react] Use HTMLDialogElement for the dialog node
* Actually add the `open` property
* This update requires typescript 2.6
* Update dependents of react to also require typescript 2.6
2018-02-12 12:55:52 +00:00
Eloy Durán
4baa6ab4c6
[relay] Improve typing of componentRef and refactor slightly.
2018-02-06 17:25:16 +01:00
Eloy Durán
eee0c90fa6
[relay] Fix lint issues.
2018-02-06 17:12:30 +01:00
Eloy Durán
cda26c85c2
[relay] Expose componentRef prop of containers.
2018-02-06 15:59:17 +01:00
Eloy Durán
26b18f911e
[relay] Make sure optional props remain optional.
2018-02-06 15:59:17 +01:00
Eloy Durán
4a5279010a
[relay] ConcreteFragment should have been FragmentReference.
2018-02-06 15:59:16 +01:00
Eloy Durán
e1dd20d21c
[relay] Update tests for emitted TS artifacts.
2018-02-06 15:59:16 +01:00
Eloy Durán
0351b87eca
[relay] Add types used in compiler artifacts and improve tests.
2018-02-06 15:59:16 +01:00
Eloy Durán
2fcce313b6
[react-relay] Remove relay prop from containers.
2018-02-06 15:59:16 +01:00
Eloy Durán
c41956752f
[relay] Cleanup of where types are defined and scope tests.
2018-02-06 15:59:16 +01:00
Eloy Durán
be38f831c2
[relay] Use React.ComponentType.
2018-02-06 15:59:16 +01:00
Eloy Durán
83839f3122
[react-relay] Split tests into modern, compat, and classic files.
2018-02-06 15:59:15 +01:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Nicolas Pirotte
2a776fbffe
(react-relay) Adds default type for RelayProp
2018-02-01 16:10:35 +01:00
Nicolas Pirotte
744a850260
(react-relay) Add maintainer
2018-01-31 22:24:48 +01:00
Nicolas Pirotte
8511d08403
(react-relay) Fix lint
2018-01-31 22:22:32 +01:00
Nicolas Pirotte
bfbe49bbdd
(react-relay) Add RelayProps interface
2018-01-31 22:14:56 +01:00
Nicolas Pirotte
8c3dcbe39c
(relay-classic) Adds RelayProps variables typing
2018-01-31 22:08:48 +01:00
Andy
72bc73d061
react-*: Fix lint ( #20825 )
2017-10-23 07:31:51 -07:00
voxmatt
f697a7ca1d
fixing linting errors surfaced by Travis
2017-10-19 16:59:00 -07:00
voxmatt
d2cfe0ba3e
fixes for compat mode types when you're straddling modern and classic environments
2017-10-19 16:43:24 -07:00
Eloy Durán
d12367fe0a
[Relay] Fix linter issues.
2017-10-18 12:30:27 +02:00
voxmatt
7b8aacb5d6
removing deprecated types
2017-10-17 18:11:40 -07:00
voxmatt
4822ffd689
Merge remote-tracking branch 'upstream/master' into relay-modern
2017-10-17 15:54:27 -07:00
Eloy Durán
95479db2fd
[Relay] Simplify modules by removing namespaces.
2017-10-18 00:15:58 +02:00
Eloy Durán
08f193a694
[Relay] Return null instead of void for Flow Maybe types.
2017-10-12 00:46:10 +02:00
Eloy Durán
091c46291e
[Relay] Add generics for getConnectionFromProps.
2017-10-11 16:23:14 +02:00
Eloy Durán
3439a2d7a1
[Relay] Add myself to list of maintainers.
2017-10-11 15:59:12 +02:00
Eloy Durán
bafb5407cb
[Relay] Fix dtslint issues with test files.
2017-10-11 15:56:18 +02:00
Eloy Durán
b438270ef3
[Relay] Reformat all files using prettier.
...
prettier --parser typescript --tab-width 4 --semi --trailing-comma es5 \
--write --print-width 120 \
types/{react-relay,relay-runtime}/*.ts*
2017-10-11 15:18:41 +02:00
Eloy Durán
694fb9b228
[Relay] Change imports to work as per normal usage.
2017-10-11 15:17:25 +02:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
voxmatt
9d1970bce0
trying to clean things up and fix some errors
2017-10-01 19:47:49 -07:00
voxmatt
dcc8532116
removing UMD style module structure from relay-runtime and moving new relay types to v1 folder
2017-10-01 11:03:05 -07:00
voxmatt
1bae083831
adding back in Renderer
2017-09-11 16:00:29 -10:00
voxmatt
e90ca4bb3e
I need these exports; put in a ts-lint disable line around them
2017-09-11 11:17:03 -10:00
voxmatt
e1f651b9f3
more cleanup of lint errors
2017-09-11 11:11:36 -10:00
voxmatt
cafeccbaf5
cleaning up some linting errors in react-relay and its tests
2017-09-11 11:00:47 -10:00
voxmatt
38dd00d25e
single declare module is needed to allow access from react-relay
2017-09-10 17:18:52 -10:00
voxmatt
c2ea2eb7c4
starting in on the linting errors in react-relay
2017-09-10 16:36:14 -10:00
voxmatt
7f407c876e
fixing a couple errors
2017-09-09 17:51:02 -10:00
voxmatt
b6a411db2a
moving things inline with the dt generator script and downgrading typescript version to acceptable 2.4
2017-09-09 17:45:37 -10:00
voxmatt
4a30f04920
removing Object and trying to eliminate unnecessary Function usage
2017-09-09 17:31:16 -10:00
voxmatt
80d08efbc7
updating tsconfig
2017-09-09 17:22:01 -10:00
voxmatt
99e85e6f62
apparently DT only allows one test file per directory
2017-09-09 17:17:54 -10:00
voxmatt
27b933935e
complete set of relay modern tests
2017-09-09 17:13:12 -10:00
voxmatt
df16535a8c
relay-runtime tests in place
2017-09-09 15:44:07 -10:00
voxmatt
21915dba13
adding new relay files but haven't configged file paths yet
2017-09-03 12:52:17 -07:00