Skip to content

Commit

Permalink
Fix: branch id type (#121)
Browse files Browse the repository at this point in the history
* fixed branchId type

* Update package.json

* Update package-lock.json
  • Loading branch information
yevheniyJ authored Sep 1, 2021
1 parent 50ea7ea commit 52421c3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@crowdin/crowdin-api-client",
"version": "1.11.4",
"version": "1.11.5",
"description": "JavaScript library for Crowdin API v2.",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
6 changes: 3 additions & 3 deletions src/sourceStrings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export class SourceStrings extends CrowdinApi {
labelIds?: string,
scope?: SourceStringsModel.Scope,
croql?: string,
branchId?: string,
branchId?: number,
): Promise<ResponseList<SourceStringsModel.String>>;

listProjectStrings(
Expand All @@ -41,7 +41,7 @@ export class SourceStrings extends CrowdinApi {
labelIds?: string,
scope?: SourceStringsModel.Scope,
croql?: string,
branchId?: string,
branchId?: number,
): Promise<ResponseList<SourceStringsModel.String>> {
let url = `${this.url}/projects/${projectId}/strings`;
let request: SourceStringsModel.ListProjectStringsRequest;
Expand Down Expand Up @@ -125,7 +125,7 @@ export namespace SourceStringsModel {
labelIds?: string;
scope?: SourceStringsModel.Scope;
croql?: string;
branchId?: string;
branchId?: number;
}

export interface String {
Expand Down

0 comments on commit 52421c3

Please sign in to comment.