Skip to content

Commit 94ea1d2

Browse files
committed
fix: docs
1 parent 4ccf6aa commit 94ea1d2

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

playground/src/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { transformJsxToString } from 'unplugin-jsx-string/src/cores'
2+
import { transformJsxToString } from 'unplugin-jsx-string/api'
33
44
const { copy } = useClipboard()
55

playground/src/typings/auto-import.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ declare global {
107107
const useArrayMap: typeof import('@vueuse/core')['useArrayMap']
108108
const useArrayReduce: typeof import('@vueuse/core')['useArrayReduce']
109109
const useArraySome: typeof import('@vueuse/core')['useArraySome']
110+
const useArrayUnique: typeof import('@vueuse/core')['useArrayUnique']
110111
const useAsyncQueue: typeof import('@vueuse/core')['useAsyncQueue']
111112
const useAsyncState: typeof import('@vueuse/core')['useAsyncState']
112113
const useAttrs: typeof import('vue')['useAttrs']
@@ -189,6 +190,7 @@ declare global {
189190
const useParallax: typeof import('@vueuse/core')['useParallax']
190191
const usePermission: typeof import('@vueuse/core')['usePermission']
191192
const usePointer: typeof import('@vueuse/core')['usePointer']
193+
const usePointerLock: typeof import('@vueuse/core')['usePointerLock']
192194
const usePointerSwipe: typeof import('@vueuse/core')['usePointerSwipe']
193195
const usePreferredColorScheme: typeof import('@vueuse/core')['usePreferredColorScheme']
194196
const usePreferredContrast: typeof import('@vueuse/core')['usePreferredContrast']
@@ -371,6 +373,7 @@ declare module 'vue' {
371373
readonly useArrayMap: UnwrapRef<typeof import('@vueuse/core')['useArrayMap']>
372374
readonly useArrayReduce: UnwrapRef<typeof import('@vueuse/core')['useArrayReduce']>
373375
readonly useArraySome: UnwrapRef<typeof import('@vueuse/core')['useArraySome']>
376+
readonly useArrayUnique: UnwrapRef<typeof import('@vueuse/core')['useArrayUnique']>
374377
readonly useAsyncQueue: UnwrapRef<typeof import('@vueuse/core')['useAsyncQueue']>
375378
readonly useAsyncState: UnwrapRef<typeof import('@vueuse/core')['useAsyncState']>
376379
readonly useAttrs: UnwrapRef<typeof import('vue')['useAttrs']>
@@ -453,6 +456,7 @@ declare module 'vue' {
453456
readonly useParallax: UnwrapRef<typeof import('@vueuse/core')['useParallax']>
454457
readonly usePermission: UnwrapRef<typeof import('@vueuse/core')['usePermission']>
455458
readonly usePointer: UnwrapRef<typeof import('@vueuse/core')['usePointer']>
459+
readonly usePointerLock: UnwrapRef<typeof import('@vueuse/core')['usePointerLock']>
456460
readonly usePointerSwipe: UnwrapRef<typeof import('@vueuse/core')['usePointerSwipe']>
457461
readonly usePreferredColorScheme: UnwrapRef<typeof import('@vueuse/core')['usePreferredColorScheme']>
458462
readonly usePreferredContrast: UnwrapRef<typeof import('@vueuse/core')['usePreferredContrast']>

playground/tsconfig.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,17 @@
33
"target": "esnext",
44
"useDefineForClassFields": true,
55
"module": "esnext",
6-
"moduleResolution": "node",
6+
"moduleResolution": "bundler",
77
"strict": true,
88
"jsx": "preserve",
99
"sourceMap": true,
1010
"resolveJsonModule": true,
1111
"isolatedModules": true,
1212
"esModuleInterop": true,
1313
"lib": ["esnext", "dom"],
14+
"types": [],
1415
"skipLibCheck": true
1516
},
16-
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue"],
17+
"include": ["src"],
1718
"references": [{ "path": "./tsconfig.node.json" }]
1819
}

0 commit comments

Comments
 (0)