.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / tslint / node_modules / tsutils / util / control-flow.d.ts
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/tslint/node_modules/tsutils/util/control-flow.d.ts b/.config/coc/extensions/node_modules/coc-prettier/node_modules/tslint/node_modules/tsutils/util/control-flow.d.ts
new file mode 100644 (file)
index 0000000..f7c101d
--- /dev/null
@@ -0,0 +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<ControlFlowStatement>;
+    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;