From 810a99fc8bc178f1ee292384b24df05f144fcb6b Mon Sep 17 00:00:00 2001 From: Chris Date: Wed, 27 Dec 2023 00:43:35 +0800 Subject: [PATCH] chore: update --- package.json | 1 - packages/core/client.d.ts | 9 ++++++--- playground/app.vue | 5 ++--- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index ea3ae8a..cf69f58 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,4 @@ { - "name": "@unplugin-unocss-config/monorepo", "type": "module", "version": "0.0.10", "private": true, diff --git a/packages/core/client.d.ts b/packages/core/client.d.ts index 2ba2ee0..7f38218 100644 --- a/packages/core/client.d.ts +++ b/packages/core/client.d.ts @@ -1,4 +1,5 @@ /* Generated by 'unplugin-unocss-config' */ + import type { Arrayable, CSSObject } from 'unocss' interface ThemeAnimation { @@ -77,11 +78,13 @@ interface Theme { preflightBase?: Record } -declare const __UNO__: Pick>, 'config' | 'userConfig' | 'version' | 'blocked'> +declare global { + const __UNO__: Pick>, 'config' | 'userConfig' | 'version' | 'blocked'> -declare const __UNO_CONFIG__: import('unocss').UserConfig + const __UNO_CONFIG__: import('unocss').UserConfig -declare const __UNO_THEME__: Theme + const __UNO_THEME__: Theme +} interface ImportMetaEnv { readonly __UNO__: Pick>, 'config' | 'userConfig' | 'version' | 'blocked'> diff --git a/playground/app.vue b/playground/app.vue index 7ab3f42..b5d3886 100644 --- a/playground/app.vue +++ b/playground/app.vue @@ -1,11 +1,10 @@