Skip to content

Commit

Permalink
[Hotfix] Toolkit config composable types import fixed (#58)
Browse files Browse the repository at this point in the history
* Use global config AppConfig type definition

* Update version
  • Loading branch information
d0rich authored Aug 10, 2023
1 parent a106ba5 commit f83fe61
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composables/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
*/

import { defu } from 'defu'
import type { CustomAppConfig } from '../.nuxt/schema/nuxt.schema'
import type { AppConfig } from 'nuxt/schema'

type ToolkitConfig = NonNullable<CustomAppConfig['exactproDocs']>
type ToolkitConfig = NonNullable<AppConfig['exactproDocs']>

export function useToolkitConfig(): ToolkitConfig {
const appConfig = useAppConfig()
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@exactpro/docs-web-toolkit",
"version": "0.2.1",
"version": "0.2.2",
"description": "Toolkit for creating docs from markdown. Created as Nuxt 3 layer.",
"main": "nuxt.config.ts",
"license": "Apache-2.0",
Expand Down

0 comments on commit f83fe61

Please sign in to comment.