Skip to content

Commit

Permalink
fix: change return type to CustomSmapiClientBuilder to fix casting is…
Browse files Browse the repository at this point in the history
…sue (#625)

Co-authored-by: kakha urigashvili <kakuri@amazon.com>
  • Loading branch information
kakhaUrigashvili and kakha urigashvili committed May 18, 2020
1 parent 7f7fe0f commit 3243768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ask-smapi-sdk/lib/smapiClientBuilder/SmapiClientBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ export class CustomSmapiClientBuilder extends StandardSmapiClientBuilder {
private apiEndpoint : string;
private authEndpoint? : string;

public withApiEndpoint(apiEndpoint : string) : SmapiClientBuilder {
public withApiEndpoint(apiEndpoint : string) : CustomSmapiClientBuilder {
this.apiEndpoint = apiEndpoint;

return this;
}

public withAuthEndpoint(authEndpoint : string) : SmapiClientBuilder {
public withAuthEndpoint(authEndpoint : string) : CustomSmapiClientBuilder {
this.authEndpoint = authEndpoint;

return this;
}

public withApiClient(apiClient : ApiClient) : SmapiClientBuilder {
public withApiClient(apiClient : ApiClient) : CustomSmapiClientBuilder {
this.apiClient = apiClient;

return this;
Expand Down

0 comments on commit 3243768

Please sign in to comment.