Commit d1b07c4
Added support for TypeScript, Flow interfaces and Flow generic types (#348)
* Support parsing typescript with babel
* Process TypeScript annotations
* Support typescript and flow interfaces
* Add composes for unresolved interface extensions
* Move TypeScript output to tsType instead of flowType
* Add support for flow and typescript generic type parameters
* Support method parameters in TypeScript
* Support rest parameters in function signatures
* Bump recast
* Separate TS `this` parameters from arguments
* Code review comments
* Fix tests for latests babel parser and yarn lock1 parent c9a1556 commit d1b07c4
File tree
31 files changed
+2185
-124
lines changed- src
- __tests__
- __snapshots__
- fixtures
- handlers
- resolver/__tests__
- utils
- __tests__
- tests
31 files changed
+2185
-124
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
239 | 239 | | |
240 | 240 | | |
241 | 241 | | |
242 | | - | |
| 242 | + | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
245 | 245 | | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
387 | 387 | | |
388 | 388 | | |
389 | 389 | | |
| 390 | + | |
390 | 391 | | |
391 | 392 | | |
392 | 393 | | |
| |||
406 | 407 | | |
407 | 408 | | |
408 | 409 | | |
| 410 | + | |
409 | 411 | | |
410 | 412 | | |
411 | 413 | | |
| 414 | + | |
412 | 415 | | |
413 | 416 | | |
414 | 417 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
51 | 50 | | |
52 | 51 | | |
53 | 52 | | |
| |||
0 commit comments