Merge pull request #16529 from daryllabar/master

@types/xrm - Fix for  missing context.getVersion #16528
This commit is contained in:
Arthur Ozga
2017-05-18 16:43:16 -07:00
committed by GitHub
2 changed files with 9 additions and 5 deletions

13
types/xrm/index.d.ts vendored
View File

@@ -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 <https://github.com/6ix4our/>,
// Matt Ngan <https://github.com/mattngan/>,
// Markus Mauch <https://github.com/markusmauch/>,
// Daryl LaBar <https://github.com/daryllabar>,
// Tully H <https://github.com/clownwilleatme>
// Definitions by: David Berry <https://github.com/6ix4our/>, Matt Ngan <https://github.com/mattngan/>, Markus Mauch <https://github.com/markusmauch/>, Daryl LaBar <https://github.com/daryllabar>, Tully H <https://github.com/clownwilleatme>
// 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.
*

View File

@@ -8,6 +8,7 @@
true,
"spaces"
],
"max-line-length": [true, 250],
"quotemark": [
true,
"double"