Skip to content

Commit 05474b0

Browse files
committed
Update dg.xrmquery.web.ts
Fix codefactor issues.
1 parent 001eb57 commit 05474b0

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

src/XrmDefinitelyTyped/Resources/dg.xrmquery.web.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -328,9 +328,9 @@ namespace Filter {
328328
}
329329
}
330330

331-
interface WebEntitiesRetrieve { }
332-
interface WebEntitiesRelated { }
333-
interface WebEntitiesCUDA { }
331+
interface WebEntitiesRetrieve {}
332+
interface WebEntitiesRelated {}
333+
interface WebEntitiesCUDA {}
334334

335335
declare var GetGlobalContext: any;
336336

@@ -895,8 +895,7 @@ namespace XQW {
895895
* Sets up the query to filter the entity using the predefined-query.
896896
* @param xml The query in FetchXML format
897897
*/
898-
usePredefinedQuery(type: "savedQuery", guid: string): Query<Result[]>;
899-
usePredefinedQuery(type: "userQuery", guid: string): Query<Result[]>;
898+
usePredefinedQuery(type: "savedQuery" | "userQuery", guid: string): Query<Result[]>;
900899
usePredefinedQuery(type: string, guid: string): Query<Result[]> {
901900
this.specialQuery = `?${type}=${guid}`;
902901
return this;

0 commit comments

Comments
 (0)