From 3a3f57acfddaabf45479e1bdab79915ce4b8debc Mon Sep 17 00:00:00 2001 From: Andy Date: Thu, 22 Mar 2018 08:10:52 -0700 Subject: [PATCH] Remove unnecessary exports (#22739) --- src/services/textChanges.ts | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/services/textChanges.ts b/src/services/textChanges.ts index c3ab35c923b..d6ae6bf52cf 100644 --- a/src/services/textChanges.ts +++ b/src/services/textChanges.ts @@ -134,11 +134,7 @@ namespace ts.textChanges { readonly options?: ChangeNodeOptions; } - export function getSeparatorCharacter(separator: Token) { - return tokenToString(separator.kind); - } - - export function getAdjustedStartPosition(sourceFile: SourceFile, node: Node, options: ConfigurableStart, position: Position) { + function getAdjustedStartPosition(sourceFile: SourceFile, node: Node, options: ConfigurableStart, position: Position) { if (options.useNonAdjustedStartPosition) { return node.getStart(sourceFile); } @@ -168,7 +164,7 @@ namespace ts.textChanges { return getStartPositionOfLine(getLineOfLocalPosition(sourceFile, adjustedStartPosition), sourceFile); } - export function getAdjustedEndPosition(sourceFile: SourceFile, node: Node, options: ConfigurableEnd) { + function getAdjustedEndPosition(sourceFile: SourceFile, node: Node, options: ConfigurableEnd) { if (options.useNonAdjustedEndPosition || isExpression(node)) { return node.getEnd(); }