mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
9 lines
474 B
TypeScript
9 lines
474 B
TypeScript
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;
|