Skip to content

Commit

Permalink
Fix a few whitespace linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
misoeli committed Apr 29, 2022
1 parent 8c86e4c commit 4cb51ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/XrmDefinitelyTyped/Resources/dg.xrmquery.rest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ namespace Filter.REST { // eslint-disable-line @typescript-eslint/no-namespace
* @internal
*/
//eslint-disable-next-line @typescript-eslint/no-explicit-any, no-inner-declarations
function getVal(v: any) {
function getVal(v: any) {
if (v == null) return "null";
if (typeof v === "string") return `'${v}'`;
if (Object.prototype.toString.call(v) === "[object Date]") return `DateTime'${v.format("yyyy-MM-ddTHH:mm:ss")}'`;
Expand Down
2 changes: 1 addition & 1 deletion src/XrmDefinitelyTyped/Resources/dg.xrmquery.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ namespace XQW {
executeRaw(successCallback: (x: T) => any, errorCallback: (err: Error) => any, parseResult: true, sync: boolean): void; //eslint-disable-line @typescript-eslint/no-explicit-any
executeRaw(successCallback: (x: XMLHttpRequest) => any, errorCallback: (err: Error) => any, parseResult: false): void; //eslint-disable-line @typescript-eslint/no-explicit-any
//eslint-disable-next-line @typescript-eslint/no-explicit-any
executeRaw(successCallback: ((x: T) => any) & ((x: XMLHttpRequest) => any), errorCallback: (err: Error) => any = () => { /* */ }, parseResult = false, sync = false): void {
executeRaw(successCallback: ((x: T) => any) & ((x: XMLHttpRequest) => any), errorCallback: (err: Error) => any = () => { /* */ }, parseResult = false, sync = false): void {
const successHandler = (req: XMLHttpRequest) => (parseResult ? this.handleResponse(req, successCallback, errorCallback) : successCallback(req));
return XrmQuery.sendRequest(this.requestType, this.getQueryString(), this.getObjectToSend(), successHandler, errorCallback, addHeadersToRequestObject(this.additionalHeaders), sync);
}
Expand Down

0 comments on commit 4cb51ce

Please sign in to comment.