aboutsummaryrefslogtreecommitdiff
path: root/node_modules/tsutils/util/util.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/tsutils/util/util.d.ts')
-rw-r--r--node_modules/tsutils/util/util.d.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/node_modules/tsutils/util/util.d.ts b/node_modules/tsutils/util/util.d.ts
index ed40b350f..bcc346a21 100644
--- a/node_modules/tsutils/util/util.d.ts
+++ b/node_modules/tsutils/util/util.d.ts
@@ -1,4 +1,5 @@
import * as ts from 'typescript';
+export * from './control-flow';
export declare function getChildOfKind<T extends ts.SyntaxKind>(node: ts.Node, kind: T, sourceFile?: ts.SourceFile): ts.Token<T> | undefined;
export declare function isTokenKind(kind: ts.SyntaxKind): boolean;
export declare function isNodeKind(kind: ts.SyntaxKind): boolean;
@@ -53,7 +54,6 @@ export declare type ForEachTokenCallback = (fullText: string, kind: ts.SyntaxKin
export declare function forEachTokenWithTrivia(node: ts.Node, cb: ForEachTokenCallback, sourceFile?: ts.SourceFile): void;
export declare type ForEachCommentCallback = (fullText: string, comment: ts.CommentRange) => void;
export declare function forEachComment(node: ts.Node, cb: ForEachCommentCallback, sourceFile?: ts.SourceFile): void;
-export declare function endsControlFlow(statement: ts.Statement | ts.BlockLike): boolean;
export interface LineRange extends ts.TextRange {
contentLength: number;
}
@@ -74,7 +74,7 @@ export declare function getDeclarationOfBindingElement(node: ts.BindingElement):
export declare function isExpressionValueUsed(node: ts.Expression): boolean;
export declare function isReassignmentTarget(node: ts.Expression): boolean;
export declare function getIdentifierText(node: ts.Identifier): string;
-export declare function canHaveJsDoc(node: ts.Node): boolean;
+export declare function canHaveJsDoc(node: ts.Node): node is ts.HasJSDoc;
export declare function getJsDoc(node: ts.Node, sourceFile?: ts.SourceFile): ts.JSDoc[];
export declare function parseJsDocOfNode(node: ts.Node, considerTrailingComments?: boolean, sourceFile?: ts.SourceFile): ts.JSDoc[];
export declare const enum ImportKind {