Skip to content

Commit f83fe61

Browse files
authored
[Hotfix] Toolkit config composable types import fixed (#58)
* Use global config AppConfig type definition * Update version
1 parent a106ba5 commit f83fe61

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

composables/config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
*/
1616

1717
import { defu } from 'defu'
18-
import type { CustomAppConfig } from '../.nuxt/schema/nuxt.schema'
18+
import type { AppConfig } from 'nuxt/schema'
1919

20-
type ToolkitConfig = NonNullable<CustomAppConfig['exactproDocs']>
20+
type ToolkitConfig = NonNullable<AppConfig['exactproDocs']>
2121

2222
export function useToolkitConfig(): ToolkitConfig {
2323
const appConfig = useAppConfig()

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@exactpro/docs-web-toolkit",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "Toolkit for creating docs from markdown. Created as Nuxt 3 layer.",
55
"main": "nuxt.config.ts",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)