DefinitelyTyped/types/estree
Daniel Espeset 2fa3d94c92 Expands support for Esprima comments (#18182)
Adds an optional `comments` field to the `Program`, which will be present 
if the AST is created with Esprima using the `{ comments: true }` option.

Adds an optional `innerComments` field to `BlockStatement` which will be
present if the AST is created with Esprima using the `{ attachComments: true }`
option, given the following code:

```.js
function foo(n) {
    // comments in an empty block are `innerComments`
}
```

Note that though these fields are not specified in the ESTree specification
they extend the support already present in this set of types for 
`trailingComments` and `leadingComments`, which are also unspecified.
2017-07-24 10:03:04 -07:00
..
estree-tests.ts
flow.d.ts
index.d.ts
tsconfig.json
UNUSED_FILES.txt