From bbff7403fbf46f9ad92240ac213df8d30ef31b64 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 20 Sep 2018 02:56:13 +0200 Subject: update packages --- node_modules/tsutils/util/control-flow.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'node_modules/tsutils/util/control-flow.d.ts') diff --git a/node_modules/tsutils/util/control-flow.d.ts b/node_modules/tsutils/util/control-flow.d.ts index 58756b090..f7c101d82 100644 --- a/node_modules/tsutils/util/control-flow.d.ts +++ b/node_modules/tsutils/util/control-flow.d.ts @@ -1,2 +1,9 @@ import * as ts from 'typescript'; export declare function endsControlFlow(statement: ts.Statement | ts.BlockLike): boolean; +export declare type ControlFlowStatement = ts.BreakStatement | ts.ContinueStatement | ts.ReturnStatement | ts.ThrowStatement; +export interface ControlFlowEnd { + readonly statements: ReadonlyArray; + readonly end: boolean; +} +export declare function getControlFlowEnd(statement: ts.Statement | ts.BlockLike): ControlFlowEnd; +export declare function getControlFlowEnd(statement: ts.Statement | ts.BlockLike, label?: ts.Identifier): ControlFlowEnd; -- cgit v1.2.3