Mike Marcacci
20fdb93704
Fix incorrect argument type on TSTypeReference ( #34926 )
...
https://babeljs.io/docs/en/babel-types#tstypereference
2019-04-24 12:26:29 -05:00
Ian Craig
aa79821823
Switch to | null | undefined to match babel
2019-02-18 12:35:11 -08:00
Ian Craig
08ba15aab8
is* and assert* checks accept null and undefined
2019-02-17 17:12:46 -08:00
Nathan Shively-Sanders
f0ce987bc1
Update project urls to match NPM url
...
Note that this *trivially* updates project urls by adding the NPM url to
the end, even when the urls are almost identical or the DT one is
outdated. I'll clean up the urls in a later commit.
This PR is unfinished! Please do not merge it yet.
2019-02-11 17:10:55 -08:00
Tim Kendrick
ee72b6f183
[babel-types] Allow implicit boolean JSXAttribute values
2018-06-13 15:31:28 +01:00
Ryan Petrich
c972d79ad2
babel-traverse: Update all babel-related packages to require TypeScript 2.8 (so that tests pass)
2018-06-11 05:57:50 -04:00
Tim Kendrick
db0789397a
[babel-types] Allow sparse ArrayExpression nodes ( #25556 )
2018-05-07 09:07:56 -07:00
Peter Burns
786fae6a7f
ExportNamedDeclaration#source can be null ( #23909 )
...
e.g. this named declaration has a source:
```javascript
export {foo} from './bar.js';
```
and this one does not:
```javascript
export const foo = 10;
```
Try it out at https://astexplorer.net/ to confirm.
2018-02-26 08:59:53 -08:00
Andy Hanson
45c9246c09
Remove esModuleInterop from tsconfigs (no longer mandatory)
2018-02-14 14:55:13 -08:00
Andy
bef4d2b27d
Enable "esModuleInterop" in all tsconfigs ( #23354 )
2018-02-05 11:01:56 -08:00
Boris Cherny
99d82c01e0
[babel-types] add typescript types to support v7.0.0 ( #21972 )
...
* [babel-types] add typescript types to support v7.0.0
* fix lint
* fix: Identifier should be a TSEntityName
* change all occurences of tS => TS
2017-12-18 07:34:43 -08:00
Cameron Martin
7b9d08ea80
Updated isXX methods of babel-types to be in-line with babel-traverse.
2017-11-22 19:48:42 +00:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
Marvin Hagemeister
9b935347f5
Fix linting errors for babel-types
2017-07-19 11:24:43 +02:00
Marvin Hagemeister
352aa44c0a
Add react helpers to babel-types
2017-07-18 11:13:56 +02:00
Sam Baxter
cb8b7aeb33
Fix function param type definitions for babel-types ( #15973 )
2017-05-04 18:09:02 -07:00
Lucas Neiva
9fbba5a517
Add babel-types NullLiteral type aliases ( #16066 )
2017-05-04 18:01:48 -07:00
Andy Hanson
354cec620d
Move all packages to a types directory
2017-03-24 14:27:52 -07:00