mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-15 04:43:37 -05:00
addressed CR feedback: rename getApiVersion to getServicesVersion
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
module ts {
|
||||
|
||||
export var ScriptAPIVersion = "1.4"
|
||||
export var servicesVersion = "0.4"
|
||||
|
||||
export interface Node {
|
||||
getSourceFile(): SourceFile;
|
||||
|
||||
@@ -862,8 +862,8 @@ module ts {
|
||||
/*
|
||||
* Returns script API version.
|
||||
*/
|
||||
public getApiVersion(): string {
|
||||
return ScriptAPIVersion;
|
||||
public getServicesVersion(): string {
|
||||
return servicesVersion;
|
||||
}
|
||||
|
||||
public createLanguageServiceShim(host: LanguageServiceShimHost): LanguageServiceShim {
|
||||
|
||||
Reference in New Issue
Block a user