diff --git a/types/xrm/index.d.ts b/types/xrm/index.d.ts index 6e6a1d5117..56239ba907 100644 --- a/types/xrm/index.d.ts +++ b/types/xrm/index.d.ts @@ -1,10 +1,6 @@ // Type definitions for Microsoft Dynamics xRM API 8.2 // Project: http://www.microsoft.com/en-us/download/details.aspx?id=44567 -// Definitions by: David Berry , -// Matt Ngan , -// Markus Mauch , -// Daryl LaBar , -// Tully H +// Definitions by: David Berry , Matt Ngan , Markus Mauch , Daryl LaBar , Tully H // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.1 @@ -180,6 +176,13 @@ declare namespace Xrm { */ getUserRoles(): string[]; + /** + * Returns the version number of the Dynamics 365 server. + * + * @return The version number + */ + getVersion(): string; + /** * Prefixes the current organization's unique name to a string; typically a URL path. * diff --git a/types/xrm/tslint.json b/types/xrm/tslint.json index 380672b073..29835e4ef0 100644 --- a/types/xrm/tslint.json +++ b/types/xrm/tslint.json @@ -8,6 +8,7 @@ true, "spaces" ], + "max-line-length": [true, 250], "quotemark": [ true, "double"