Skip to content

Commit 5c0ec4c

Browse files
reverting type return change back to what it was before
1 parent 4e1a8ea commit 5c0ec4c

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

dist/browser/esm/dynamics-web-api.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/cjs/dynamics-web-api.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dynamics-web-api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export declare class DynamicsWebApi {
4444
*const response = await dynamicsWebApi.create(request);
4545
*
4646
*/
47-
create: <TData = any>(request: CreateRequest<TData>) => Promise<string | TData>;
47+
create: <TData = any>(request: CreateRequest<TData>) => Promise<TData>;
4848
/**
4949
* Sends an asynchronous request to retrieve a record.
5050
*

dist/dynamics-web-api.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dynamics-web-api.min.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/dynamics-web-api.mjs.map

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

src/dynamics-web-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class DynamicsWebApi {
5858
*const response = await dynamicsWebApi.create(request);
5959
*
6060
*/
61-
create = async <TData = any>(request: CreateRequest<TData>): Promise<TData | string> => {
61+
create = async <TData = any>(request: CreateRequest<TData>): Promise<TData> => {
6262
ErrorHelper.parameterCheck(request, "DynamicsWebApi.create", "request");
6363

6464
let internalRequest: Core.InternalRequest;

0 commit comments

Comments
 (0)