Add getNextNonSpaceNonCommentCharacter to prettier.util (#14317)
This commit is contained in:
1 parent
b96dc57cd3
commit
caf6f6c64c
5 files changed
+103
-6
No files matched your search
+7
-3
@@ -585,10 +585,14 @@ function makeString(
|
||||
unescapeUnnecessaryEscapes?: boolean
|
||||
): string;
|
||||
|
||||
function getNextNonSpaceNonCommentCharacterIndex<N>(
|
||||
function getNextNonSpaceNonCommentCharacter(
|
||||
text: string,
|
||||
node: N,
|
||||
locEnd: (node: N) => number
|
||||
startIndex: number
|
||||
): string;
|
||||
|
||||
function getNextNonSpaceNonCommentCharacterIndex(
|
||||
text: string,
|
||||
startIndex: number
|
||||
): number | false;
|
||||
|
||||
function isNextLineEmptyAfterIndex(text: string, index: number): boolean;
|
||||
|
||||
Reference in new issue
Block a user