mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 06:17:19 -05:00
Expose text property of SourceFileLike for some Public APIs (#44599)
* Expose text property of SourceFileLike * gulp baseline-accept
This commit is contained in:
@@ -3515,12 +3515,12 @@ namespace ts {
|
||||
name?: string;
|
||||
}
|
||||
|
||||
/* @internal */
|
||||
/**
|
||||
* Subset of properties from SourceFile that are used in multiple utility functions
|
||||
*/
|
||||
export interface SourceFileLike {
|
||||
readonly text: string;
|
||||
/* @internal */
|
||||
lineMap?: readonly number[];
|
||||
/* @internal */
|
||||
getPositionOfLineAndCharacter?(line: number, character: number, allowEdits?: true): number;
|
||||
|
||||
Reference in New Issue
Block a user