File tree 3 files changed +13
-1
lines changed
tests/baselines/reference/api
3 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -3515,12 +3515,12 @@ namespace ts {
3515
3515
name ?: string ;
3516
3516
}
3517
3517
3518
- /* @internal */
3519
3518
/**
3520
3519
* Subset of properties from SourceFile that are used in multiple utility functions
3521
3520
*/
3522
3521
export interface SourceFileLike {
3523
3522
readonly text : string ;
3523
+ /* @internal */
3524
3524
lineMap ?: readonly number [ ] ;
3525
3525
/* @internal */
3526
3526
getPositionOfLineAndCharacter ?( line : number , character : number , allowEdits ?: true ) : number ;
Original file line number Diff line number Diff line change @@ -2015,6 +2015,12 @@ declare namespace ts {
2015
2015
path: string;
2016
2016
name?: string;
2017
2017
}
2018
+ /**
2019
+ * Subset of properties from SourceFile that are used in multiple utility functions
2020
+ */
2021
+ export interface SourceFileLike {
2022
+ readonly text: string;
2023
+ }
2018
2024
export interface SourceFile extends Declaration {
2019
2025
readonly kind: SyntaxKind.SourceFile;
2020
2026
readonly statements: NodeArray<Statement>;
Original file line number Diff line number Diff line change @@ -2015,6 +2015,12 @@ declare namespace ts {
2015
2015
path : string ;
2016
2016
name ?: string ;
2017
2017
}
2018
+ /**
2019
+ * Subset of properties from SourceFile that are used in multiple utility functions
2020
+ */
2021
+ export interface SourceFileLike {
2022
+ readonly text : string ;
2023
+ }
2018
2024
export interface SourceFile extends Declaration {
2019
2025
readonly kind : SyntaxKind . SourceFile ;
2020
2026
readonly statements : NodeArray < Statement > ;
You can’t perform that action at this time.
0 commit comments