File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -715,12 +715,12 @@ module ts {
715
715
public filename : string ;
716
716
public text : string ;
717
717
718
- // These methods will have their implementation overridden with the implementation the
718
+ // These methods will have their implementation provided by the implementation the
719
719
// compiler actually exports off of SourceFile.
720
- public getLineAndCharacterFromPosition ( position : number ) : { line : number ; character : number } { return null ; }
721
- public getPositionFromLineAndCharacter ( line : number , character : number ) : number { return - 1 ; }
722
- public getLineStarts ( ) : number [ ] { return undefined ; }
723
- public getSyntacticDiagnostics ( ) : Diagnostic [ ] { return undefined ; }
720
+ public getLineAndCharacterFromPosition : ( position : number ) => LineAndCharacter ;
721
+ public getPositionFromLineAndCharacter : ( line : number , character : number ) => number ;
722
+ public getLineStarts : ( ) => number [ ] ;
723
+ public getSyntacticDiagnostics : ( ) => Diagnostic [ ] ;
724
724
725
725
public amdDependencies : string [ ] ;
726
726
public amdModuleName : string ;
You can’t perform that action at this time.
0 commit comments