Skip to content

Commit

Permalink
fix(playground): type error (#3063)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyyv committed Sep 2, 2023
1 parent 2071549 commit a80d1af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playground/src/composables/uno.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { GenerateResult, UserConfig } from 'unocss'
import { createGenerator } from 'unocss'
import { createAutocomplete } from '@unocss/autocomplete'
import MagicString from 'magic-string'
import type { Annotation, UnocssPluginContext } from '@unocss/core'
import type { HighlightAnnotation, UnocssPluginContext } from '@unocss/core'
import { evaluateUserConfig } from '@unocss/shared-docs'
import type { CompletionContext, CompletionResult } from '@codemirror/autocomplete'

Expand All @@ -11,7 +11,7 @@ export const customConfigError = ref<Error>()

export const uno = createGenerator({}, defaultConfig.value)
export const output = shallowRef<GenerateResult>()
export const annotations = shallowRef<Annotation[]>()
export const annotations = shallowRef<HighlightAnnotation[]>()

let customConfig: UserConfig = {}
let autocomplete = createAutocomplete(uno)
Expand Down

0 comments on commit a80d1af

Please sign in to comment.