Skip to content

Commit

Permalink
fix(typescript-estree): make FunctionDeclaration.body non-null (#1288)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath authored and bradzacher committed Nov 30, 2019
1 parent 3b39340 commit dc73510
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/typescript-estree/src/ts-estree/ts-estree.ts
Expand Up @@ -718,6 +718,7 @@ export interface ForStatement extends BaseNode {

export interface FunctionDeclaration extends FunctionDeclarationBase {
type: AST_NODE_TYPES.FunctionDeclaration;
body: BlockStatement;
}

export interface FunctionExpression extends FunctionDeclarationBase {
Expand Down

0 comments on commit dc73510

Please sign in to comment.