Skip to content

Commit 67dc3a0

Browse files
fix: theme reactivity
1 parent bee8af2 commit 67dc3a0

File tree

7 files changed

+110
-78
lines changed

7 files changed

+110
-78
lines changed

.playground/app.config.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
// @ts-expect-error
21
export default defineAppConfig({
32
toaster: {
4-
maxToasts: 10
3+
theme: {
4+
maxToasts: 10
5+
}
56
}
67
})

.playground/components/AdvancedToast.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<script setup lang="ts">
2-
// @ts-expect-error
32
import { useNinjaToasterProgress, useNinjaToasterState } from '#imports'
43
54
const props = defineProps<{

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"npm-run-all": "^4.1.5",
4545
"nuxt": "^3.3.2",
4646
"standard-version": "^9.5.0",
47+
"typescript": "^5.0.2",
4748
"vue": "^3.2.47",
4849
"vue-tsc": "^1.2.0"
4950
}

0 commit comments

Comments
 (0)