Skip to content

Commit ee4ea3a

Browse files
committed
fix: types import
1 parent 8ed394e commit ee4ea3a

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ export default defineNuxtModule<ModuleOptions>({
692692
})
693693

694694
// Context will use in server
695-
nuxt.options.runtimeConfig.content = defu(nuxt.options.runtimeConfig.content, {
695+
nuxt.options.runtimeConfig.content = defu(nuxt.options.runtimeConfig.content as any, {
696696
cacheVersion: CACHE_VERSION,
697697
cacheIntegrity,
698698
...contentContext as any

src/runtime/query/match/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { SortOptions } from '../../types'
1+
import type { SortOptions } from '../../types'
22

33
/**
44
* Retrive nested value from object by path

src/runtime/query/query.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
import type { QueryBuilder, SortOptions } from '../types'
2-
import { ParsedContent } from '../types'
3-
import { ContentQueryBuilder, ContentQueryBuilderParams, ContentQueryFetcher } from '../types/query'
1+
import type { QueryBuilder, SortOptions, ParsedContent } from '../types'
2+
import type { ContentQueryBuilder, ContentQueryBuilderParams, ContentQueryFetcher } from '../types/query'
43
import { ensureArray } from './match/utils'
54

65
const arrayParams = ['sort', 'where', 'only', 'without']

0 commit comments

Comments
 (0)