logaretm / villus

🏎 A tiny and fast GraphQL client for Vue.js
https://villus.dev
MIT License
790 stars 31 forks source link

Exported variable 'useCreateProFormaStore' has or is using name 'QueryExecutionOpts' but cannot be named.ts(4023) #177

Closed DaLukasDev closed 1 year ago

DaLukasDev commented 1 year ago

This fixes the issue of QueryExecutionOpts not being exported from villus.d.ts. Simply changing to export interface would result in the interface still not being exported from the generated villus.d.ts, hence the change to a type.

codecov-commenter commented 1 year ago

Codecov Report

Merging #177 (d7a87ad) into main (20798c1) will not change coverage. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #177   +/-   ##
=======================================
  Coverage   94.10%   94.10%           
=======================================
  Files          21       21           
  Lines         492      492           
  Branches      109      109           
=======================================
  Hits          463      463           
  Misses         29       29           
Impacted Files Coverage Δ
packages/villus/src/useQuery.ts 97.40% <ø> (ø)
packages/villus/src/index.ts 100.00% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

logaretm commented 1 year ago

Great, thank you!