Skip to content

Issue running CI tests for Typescript-Fetch API client #4498

@wing328

Description

@wing328
Description

As part of #4497, I've sync'd master into 2.3.0 but couldn't properly resolve the merge conflicts with the typescript-fetch test files. Here is the error when running the integration test:

test/PetApi.ts(18,16): error TS2346: Supplied parameters do not match any signature of call target.
test/PetApi.ts(23,18): error TS2346: Supplied parameters do not match any signature of call target.
test/PetApi.ts(23,78): error TS7006: Parameter 'result' implicitly has an 'any' type.
test/PetApi.ts(29,16): error TS2346: Supplied parameters do not match any signature of call target.
test/PetApi.ts(29,77): error TS7006: Parameter 'result' implicitly has an 'any' type.
test/PetApi.ts(31,18): error TS2346: Supplied parameters do not match any signature of call target.
test/PetApi.ts(32,20): error TS2346: Supplied parameters do not match any signature of call target.
test/PetApi.ts(32,81): error TS7006: Parameter 'result' implicitly has an 'any' type.
test/PetApi.ts(40,16): error TS2346: Supplied parameters do not match any signature of call target.
test/PetApi.ts(44,18): error TS2346: Supplied parameters do not match any signature of call target.
test/PetApi.ts(44,78): error TS7006: Parameter 'result' implicitly has an 'any' type.
test/PetApi.ts(46,15): error TS7006: Parameter 'err' implicitly has an 'any' type.
test/StoreApi.ts(17,16): error TS2346: Supplied parameters do not match any signature of call target.
test/StoreApi.ts(17,55): error TS7006: Parameter 'result' implicitly has an 'any' type.

The typescript-fetch CI tests have been commented out in pom.xml for the time being.

Swagger-codegen version

Latest 2.3.0

Steps to reproduce
git checkout 2.3.0
git pull origin 2.3.0
cd samples/client/petstore/typescript-fetch/tests/default
npm install
npm test

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions