We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hierarchyClient
tspconfig.yaml 1.
enableOperationGroup: true hierarchyClient: false
error log:
src/api/c/index.ts:14:17 - error TS2323: Cannot redeclare exported variable '_cOp1Send'. 14 export function _cOp1Send( ~~~~~~~~~ src/api/c/index.ts:14:17 - error TS2393: Duplicate function implementation. 14 export function _cOp1Send( ~~~~~~~~~ src/api/c/index.ts:27:23 - error TS2323: Cannot redeclare exported variable '_cOp1Deserialize'. 27 export async function _cOp1Deserialize( ~~~~~~~~~~~~~~~~ src/api/c/index.ts:27:23 - error TS2393: Duplicate function implementation. 27 export async function _cOp1Deserialize( ~~~~~~~~~~~~~~~~ src/api/c/index.ts:38:23 - error TS2323: Cannot redeclare exported variable 'cOp1'. 38 export async function cOp1( ~~~~ src/api/c/index.ts:38:23 - error TS2393: Duplicate function implementation. 38 export async function cOp1( ~~~~ src/api/c/index.ts:47:17 - error TS2323: Cannot redeclare exported variable '_cOp1Send'. 47 export function _cOp1Send( ~~~~~~~~~ src/api/c/index.ts:47:17 - error TS2393: Duplicate function implementation. 47 export function _cOp1Send( ~~~~~~~~~ src/api/c/index.ts:60:23 - error TS2323: Cannot redeclare exported variable '_cOp1Deserialize'. 60 export async function _cOp1Deserialize( ~~~~~~~~~~~~~~~~ src/api/c/index.ts:60:23 - error TS2393: Duplicate function implementation. 60 export async function _cOp1Deserialize( ~~~~~~~~~~~~~~~~ src/api/c/index.ts:71:23 - error TS2323: Cannot redeclare exported variable 'cOp1'. 71 export async function cOp1( ~~~~ src/api/c/index.ts:71:23 - error TS2393: Duplicate function implementation. 71 export async function cOp1( ~~~~ src/classic/c/index.ts:11:3 - error TS2300: Duplicate identifier 'op1'. 11 op1: (body: BEA, options?: COp1OptionalParams) => Promise<void>; ~~~ src/classic/c/index.ts:12:3 - error TS2300: Duplicate identifier 'op1'. 12 op1: (body: BA, options?: COp1OptionalParams) => Promise<void>; ~~~ src/classic/c/index.ts:12:3 - error TS2717: Subsequent property declarations must have the same type. Property 'op1' must be of type '(body: BEA, options?: COp1OptionalParams | undefined) => Promise<void>', but here has type '(body: BA, options?: COp1OptionalParams | undefined) => Promise<void>'. 12 op1: (body: BA, options?: COp1OptionalParams) => Promise<void>; ~~~ src/classic/c/index.ts:11:3 11 op1: (body: BEA, options?: COp1OptionalParams) => Promise<void>; ~~~ 'op1' was also declared here. src/classic/c/index.ts:19:5 - error TS1117: An object literal cannot have multiple properties with the same name. 19 op1: (body: BA, options?: COp1OptionalParams) => ~~~ src/classic/c/index.ts:25:3 - error TS2322: Type '{ op1: (body: BA, options?: COp1OptionalParams) => Promise<void>; }' is not assignable to type 'COperations'. Types of property 'op1' are incompatible. Type '(body: BA, options?: COp1OptionalParams) => Promise<void>' is not assignable to type '(body: BEA, options?: COp1OptionalParams | undefined) => Promise<void>'. Types of parameters 'body' and 'body' are incompatible. Property 'prop2' is missing in type 'BEA' but required in type 'BA'. 25 return { ~~~~~~ src/models/models.ts:15:3 15 prop2: string; ~~~~~ 'prop2' is declared here. Found 17 errors in 2 files. Errors Files 12 src/api/c/index.ts:14 5 src/classic/c/index.ts:11
enableOperationGroup: false hierarchyClient: false
src/api/operations.ts:14:17 - error TS2323: Cannot redeclare exported variable '_op1Send'. 14 export function _op1Send( ~~~~~~~~ src/api/operations.ts:14:17 - error TS2393: Duplicate function implementation. 14 export function _op1Send( ~~~~~~~~ src/api/operations.ts:27:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'. 27 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:27:23 - error TS2393: Duplicate function implementation. 27 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:38:23 - error TS2323: Cannot redeclare exported variable 'op1'. 38 export async function op1( ~~~ src/api/operations.ts:38:23 - error TS2393: Duplicate function implementation. 38 export async function op1( ~~~ src/api/operations.ts:47:17 - error TS2323: Cannot redeclare exported variable '_op1Send'. 47 export function _op1Send( ~~~~~~~~ src/api/operations.ts:47:17 - error TS2393: Duplicate function implementation. 47 export function _op1Send( ~~~~~~~~ src/api/operations.ts:60:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'. 60 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:60:23 - error TS2393: Duplicate function implementation. 60 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:71:23 - error TS2323: Cannot redeclare exported variable 'op1'. 71 export async function op1( ~~~ src/api/operations.ts:71:23 - error TS2393: Duplicate function implementation. 71 export async function op1( ~~~ src/api/operations.ts:80:17 - error TS2323: Cannot redeclare exported variable '_op1Send'. 80 export function _op1Send( ~~~~~~~~ src/api/operations.ts:80:17 - error TS2393: Duplicate function implementation. 80 export function _op1Send( ~~~~~~~~ src/api/operations.ts:93:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'. 93 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:93:23 - error TS2393: Duplicate function implementation. 93 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:104:23 - error TS2323: Cannot redeclare exported variable 'op1'. 104 export async function op1( ~~~ src/api/operations.ts:104:23 - error TS2393: Duplicate function implementation. 104 export async function op1( ~~~ src/api/operations.ts:113:17 - error TS2323: Cannot redeclare exported variable '_op1Send'. 113 export function _op1Send( ~~~~~~~~ src/api/operations.ts:113:17 - error TS2393: Duplicate function implementation. 113 export function _op1Send( ~~~~~~~~ src/api/operations.ts:126:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'. 126 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:126:23 - error TS2393: Duplicate function implementation. 126 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:137:23 - error TS2323: Cannot redeclare exported variable 'op1'. 137 export async function op1( ~~~ src/api/operations.ts:137:23 - error TS2393: Duplicate function implementation. 137 export async function op1( ~~~ src/api/operations.ts:146:17 - error TS2323: Cannot redeclare exported variable '_op1Send'. 146 export function _op1Send( ~~~~~~~~ src/api/operations.ts:146:17 - error TS2393: Duplicate function implementation. 146 export function _op1Send( ~~~~~~~~ src/api/operations.ts:159:23 - error TS2323: Cannot redeclare exported variable '_op1Deserialize'. 159 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:159:23 - error TS2393: Duplicate function implementation. 159 export async function _op1Deserialize( ~~~~~~~~~~~~~~~ src/api/operations.ts:170:23 - error TS2323: Cannot redeclare exported variable 'op1'. 170 export async function op1( ~~~ src/api/operations.ts:170:23 - error TS2393: Duplicate function implementation. 170 export async function op1( ~~~ src/fooClient.ts:33:3 - error TS2393: Duplicate function implementation. 33 op1( ~~~ src/fooClient.ts:40:3 - error TS2393: Duplicate function implementation. 40 op1( ~~~ src/fooClient.ts:47:3 - error TS2393: Duplicate function implementation. 47 op1( ~~~ src/fooClient.ts:54:3 - error TS2393: Duplicate function implementation. 54 op1( ~~~ src/fooClient.ts:61:3 - error TS2393: Duplicate function implementation. 61 op1( ~~~ Found 35 errors in 2 files. Errors Files 30 src/api/operations.ts:14 5 src/fooClient.ts:33
The text was updated successfully, but these errors were encountered:
qiaozha
v-jiaodi
No branches or pull requests
tspconfig.yaml
1.
error log:
error log:
The text was updated successfully, but these errors were encountered: