Skip to content

Commit 309f7bd

Browse files
committed
updated angular samples
1 parent 8630f74 commit 309f7bd

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.12-SNAPSHOT
1+
2.4.15-SNAPSHOT

samples/client/petstore/typescript-angular-v2/default/api/pet.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export class PetService {
557557

558558
const canConsumeForm = this.canConsumeForm(consumes);
559559

560-
let formParams: { append(param: string, value: any): void | HttpParams; };
560+
let formParams: { append(param: string, value: any): void; };
561561
let useForm = false;
562562
let convertFormParamsToString = false;
563563
if (useForm) {
@@ -633,7 +633,7 @@ export class PetService {
633633

634634
const canConsumeForm = this.canConsumeForm(consumes);
635635

636-
let formParams: { append(param: string, value: any): void | HttpParams; };
636+
let formParams: { append(param: string, value: any): void; };
637637
let useForm = false;
638638
let convertFormParamsToString = false;
639639
// use FormData to transmit files using content-type "multipart/form-data"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.12-SNAPSHOT
1+
2.4.15-SNAPSHOT

samples/client/petstore/typescript-angular-v2/npm/api/pet.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ export class PetService {
557557

558558
const canConsumeForm = this.canConsumeForm(consumes);
559559

560-
let formParams: { append(param: string, value: any): void | HttpParams; };
560+
let formParams: { append(param: string, value: any): void; };
561561
let useForm = false;
562562
let convertFormParamsToString = false;
563563
if (useForm) {
@@ -633,7 +633,7 @@ export class PetService {
633633

634634
const canConsumeForm = this.canConsumeForm(consumes);
635635

636-
let formParams: { append(param: string, value: any): void | HttpParams; };
636+
let formParams: { append(param: string, value: any): void; };
637637
let useForm = false;
638638
let convertFormParamsToString = false;
639639
// use FormData to transmit files using content-type "multipart/form-data"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.12-SNAPSHOT
1+
2.4.15-SNAPSHOT

samples/client/petstore/typescript-angular-v2/with-interfaces/api/pet.service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ export class PetService implements PetServiceInterface {
558558

559559
const canConsumeForm = this.canConsumeForm(consumes);
560560

561-
let formParams: { append(param: string, value: any): void | HttpParams; };
561+
let formParams: { append(param: string, value: any): void; };
562562
let useForm = false;
563563
let convertFormParamsToString = false;
564564
if (useForm) {
@@ -634,7 +634,7 @@ export class PetService implements PetServiceInterface {
634634

635635
const canConsumeForm = this.canConsumeForm(consumes);
636636

637-
let formParams: { append(param: string, value: any): void | HttpParams; };
637+
let formParams: { append(param: string, value: any): void; };
638638
let useForm = false;
639639
let convertFormParamsToString = false;
640640
// use FormData to transmit files using content-type "multipart/form-data"

0 commit comments

Comments
 (0)