Skip to content

Commit

Permalink
fix: export types for components
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Jan 20, 2021
1 parent d81252c commit dab55f2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"nuxt": "^2.14.0",
"playwright": "1.7.1",
"release-it": "14.2.2",
"siroc": "0.6.2"
"siroc": "0.6.3"
},
"peerDependencies": {
"chalk": "^3.0.0",
Expand Down
2 changes: 2 additions & 0 deletions src/components/sanity-content.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
import defu from 'defu'
import type { CreateElement, VNode, VNodeData, VueConstructor } from 'vue'

// eslint-disable-next-line
import type { SanityConfiguration } from '..'
import { extendVue } from '../vue'

interface MarkDefs {
Expand Down
3 changes: 3 additions & 0 deletions src/components/sanity-image.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { extendVue } from '../vue'

// eslint-disable-next-line
import type { SanityConfiguration } from '..'

const baseURL = 'https://cdn.sanity.io/images'

export const SanityImage = extendVue({
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11825,10 +11825,10 @@ simple-swizzle@^0.2.2:
dependencies:
is-arrayish "^0.3.1"

[email protected].2:
version "0.6.2"
resolved "https://registry.yarnpkg.com/siroc/-/siroc-0.6.2.tgz#7e1d68921c4af850f824920e5f327a868074d9ff"
integrity sha512-c6QHoatFcbKAX1Ch6VBWpk+0c07VFR4y6Lr/RW3W3MRbktHKHXKLWvHMLp5QUZ22CwHhVK3d/THq28E9aYw+TQ==
[email protected].3:
version "0.6.3"
resolved "https://registry.yarnpkg.com/siroc/-/siroc-0.6.3.tgz#3f5a986ea3f7664be6e82e2413d5ffdb9f98f571"
integrity sha512-9tFbs6lJLQBwJ/5TF26y0aepMVhT0iFm8KqMBpg/XtdoJZoybruHZAE4xzk2YWPM3AAlHZ6/bO/34ZqZKINfTg==
dependencies:
"@rollup/plugin-alias" "^3.1.1"
"@rollup/plugin-commonjs" "^17.0.0"
Expand Down

0 comments on commit dab55f2

Please sign in to comment.