Skip to content

Commit 5ed19a9

Browse files
committed
fix(pinia-colada): simplify QueryKey Pick
1 parent 524e282 commit 5ed19a9

File tree

1 file changed

+1
-1
lines changed
  • packages/openapi-ts/src/plugins/@pinia/colada

1 file changed

+1
-1
lines changed

packages/openapi-ts/src/plugins/@pinia/colada/queryKey.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ export const createQueryKeyType = ({
359359
tsc.typeIntersectionNode({
360360
types: [
361361
tsc.typeReferenceNode({
362-
typeName: `Pick<${TOptionsType}, '${getClientBaseUrlKey(plugin.context.config)}' | 'body' | 'path' | 'query'>`,
362+
typeName: `Pick<${TOptionsType}, 'path'>`,
363363
}),
364364
tsc.typeInterfaceNode({
365365
properties,

0 commit comments

Comments
 (0)