mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-05 20:02:05 +08:00
tslint fixes
This commit is contained in:
818
types/xrm/index.d.ts
vendored
818
types/xrm/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -12,6 +12,7 @@
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": false,
|
||||
"baseUrl": "../",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
|
||||
@@ -177,7 +177,7 @@ ctrl.getVisible();
|
||||
ctrl.setVisible(true);
|
||||
|
||||
// Demonstrate getEntityMetadata
|
||||
Xrm.Utility.getEntityMetadata("account", ["telephone1"]).then(function(metadata){
|
||||
Xrm.Utility.getEntityMetadata("account", ["telephone1"]).then((metadata) => {
|
||||
console.log(metadata.Attributes["statuscode"].optionSet[0].Label.LocalizedLabels[0].Label);
|
||||
});
|
||||
|
||||
@@ -194,6 +194,6 @@ Xrm.WebApi.retrieveMultipleRecords("contact", `?fetchXml=<fetch version='1.0' ma
|
||||
<attribute name='name' />
|
||||
</link-entity>
|
||||
</entity>
|
||||
</fetch>`).then(function (response) {
|
||||
</fetch>`).then((response) => {
|
||||
console.log("Query Returned : " + response.entities.length);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user