Azure / autorest.typescript

Extension for AutoRest (https://github.com/Azure/autorest) that generates TypeScript code. The transpiled javascript code is isomorphic. It can be run in browser and in node.js environment.
MIT License
179 stars 75 forks source link

Smoke test for hierarchy_generic00 #2812

Closed v-jiaodi closed 2 months ago

v-jiaodi commented 2 months ago
enableOperationGroup: true
hierarchyClient: false

error log:


src/api/operations.ts:53:17 - error TS2323: Cannot redeclare exported variable '_fooSend'.

53 export function _fooSend(
                   ~~~~~~~~

src/api/operations.ts:53:17 - error TS2393: Duplicate function implementation.

53 export function _fooSend(
                   ~~~~~~~~

src/api/operations.ts:66:23 - error TS2323: Cannot redeclare exported variable '_fooDeserialize'.

66 export async function _fooDeserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:66:23 - error TS2393: Duplicate function implementation.

66 export async function _fooDeserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:77:23 - error TS2323: Cannot redeclare exported variable 'foo'.

77 export async function foo(
                         ~~~

src/api/operations.ts:77:23 - error TS2393: Duplicate function implementation.

77 export async function foo(
                         ~~~

src/api/operations.ts:86:17 - error TS2323: Cannot redeclare exported variable '_fooSend'.

86 export function _fooSend(
                   ~~~~~~~~

src/api/operations.ts:86:17 - error TS2393: Duplicate function implementation.

86 export function _fooSend(
                   ~~~~~~~~

src/api/operations.ts:99:23 - error TS2323: Cannot redeclare exported variable '_fooDeserialize'.

99 export async function _fooDeserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:99:23 - error TS2393: Duplicate function implementation.

99 export async function _fooDeserialize(
                         ~~~~~~~~~~~~~~~

src/api/operations.ts:110:23 - error TS2323: Cannot redeclare exported variable 'foo'.

110 export async function foo(
                          ~~~

src/api/operations.ts:110:23 - error TS2393: Duplicate function implementation.

110 export async function foo(
                          ~~~

src/fooClient.ts:49:3 - error TS2393: Duplicate function implementation.

49   foo(
     ~~~

src/fooClient.ts:56:3 - error TS2393: Duplicate function implementation.

56   foo(
     ~~~

Found 14 errors in 2 files.

Errors  Files
    12  src/api/operations.ts:53
     2  src/fooClient.ts:49