You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
474 B
8 lines
474 B
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;
|
|
|