mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-31 03:02:04 +08:00
Updated Paths of files to match https://github.com/Microsoft/types-publisher/issues/3
This commit is contained in:
0
xrm/xrm-6.d.ts → xrm/v6/index.d.ts
vendored
0
xrm/xrm-6.d.ts → xrm/v6/index.d.ts
vendored
20
xrm/v6/tsconfig.json
Normal file
20
xrm/v6/tsconfig.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"xrm-v6-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
/// <reference path="index.d.ts" />
|
||||
/// <reference path="../parature.d.ts" />
|
||||
|
||||
|
||||
function _getContext()
|
||||
0
xrm/xrm-7.1.d.ts → xrm/v7.1/index.d.ts
vendored
0
xrm/xrm-7.1.d.ts → xrm/v7.1/index.d.ts
vendored
20
xrm/v7.1/tsconfig.json
Normal file
20
xrm/v7.1/tsconfig.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"xrm-v7.1-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
}
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
/// <reference path="xrm.d.ts" />
|
||||
/// <reference path="parature.d.ts" />
|
||||
/// <reference path="index.d.ts" />
|
||||
/// <reference path="../parature.d.ts" />
|
||||
|
||||
/// Demonstrate usage in the browser's window object
|
||||
|
||||
@@ -41,7 +41,7 @@ grids.forEach(( gridControl: Xrm.Page.GridControl ) =>
|
||||
gridControl.getGrid().getSelectedRows().forEach(( row ) =>
|
||||
{
|
||||
selectedGridReferences.push( row.getData().getEntity().getEntityReference() );
|
||||
})
|
||||
});
|
||||
});
|
||||
|
||||
/// Demonstrate generic overload vs typecast
|
||||
0
xrm/xrm-7.0.d.ts → xrm/v7/index.d.ts
vendored
0
xrm/xrm-7.0.d.ts → xrm/v7/index.d.ts
vendored
20
xrm/v7/tsconfig.json
Normal file
20
xrm/v7/tsconfig.json
Normal file
@@ -0,0 +1,20 @@
|
||||
{
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"xrm-v7.0-tests.ts"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
}
|
||||
}
|
||||
@@ -1,3 +1,5 @@
|
||||
/// <reference path="index.d.ts" />
|
||||
/// <reference path="../parature.d.ts" />
|
||||
|
||||
|
||||
function _getContext()
|
||||
@@ -38,10 +38,9 @@ var selectedGridReferences: Xrm.Page.LookupValue[] = [];
|
||||
|
||||
grids.forEach(( gridControl: Xrm.Page.GridControl ) =>
|
||||
{
|
||||
gridControl.getGrid().getSelectedRows().forEach(( row ) =>
|
||||
{
|
||||
selectedGridReferences.push( row.getData().getEntity().getEntityReference() );
|
||||
})
|
||||
gridControl.getGrid().getSelectedRows().forEach((row) => {
|
||||
selectedGridReferences.push(row.getData().getEntity().getEntityReference());
|
||||
});
|
||||
});
|
||||
|
||||
/// Demonstrate generic overload vs typecast
|
||||
|
||||
Reference in New Issue
Block a user