Skip to content

Commit

Permalink
[EngSys] fix formatting (#31181)
Browse files Browse the repository at this point in the history
This is the result of `rush format`, correcting several formatting issues introduced in the last NO_CI commit.
  • Loading branch information
jeremymeng committed Sep 20, 2024
1 parent 8597959 commit 4cd2a59
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"compilerOptions": {
"module": "NodeNext",
"moduleResolution": "NodeNext",
"skipLibCheck": true,
"skipLibCheck": true
},
"exclude": ["./src/templates/**"],
"include": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ import { KeyCredential, TokenCredential } from "@azure/core-auth";
import { createTracingClient } from "@azure/core-tracing";
import { TracingClient } from "@azure/core-tracing";
import { FORM_RECOGNIZER_API_VERSION, SDK_VERSION } from "./constants";
import {
AnalyzeDocumentRequest,
AnalyzeResultOperation,
GeneratedClient,
} from "./generated";
import { AnalyzeDocumentRequest, AnalyzeResultOperation, GeneratedClient } from "./generated";
import { accept1 } from "./generated/models/parameters";
import {
AnalysisOperationDefinition,
Expand Down Expand Up @@ -573,7 +569,7 @@ export class DocumentAnalysisClient {
abortSignal,
classifyRequest,
},
);
);
} else {
return this._restClient.documentClassifiers.classifyDocument(
classifierId,
Expand All @@ -583,7 +579,7 @@ export class DocumentAnalysisClient {
abortSignal,
classifyRequest,
},
);
);
}
},
{
Expand Down Expand Up @@ -768,7 +764,9 @@ export class DocumentAnalysisClient {
*/
function toAnalyzeRequest(
input: DocumentSource,
): ["application/json", AnalyzeDocumentRequest] | ["application/octet-stream", FormRecognizerRequestBody] {
):
| ["application/json", AnalyzeDocumentRequest]
| ["application/octet-stream", FormRecognizerRequestBody] {
switch (input.kind) {
case "body":
return ["application/octet-stream", input.body];
Expand Down
2 changes: 1 addition & 1 deletion sdk/search/search-documents/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"paths": {
"@azure/search-documents": ["./src/index"]
},
"skipLibCheck": true,
"skipLibCheck": true
},
"include": ["samples-dev/**/*.ts", "src/**/*.ts", "test/**/*.ts"]
}

0 comments on commit 4cd2a59

Please sign in to comment.