Skip to content

Commit

Permalink
fix: types import
Browse files Browse the repository at this point in the history
  • Loading branch information
farnabaz committed Oct 4, 2023
1 parent 8ed394e commit ee4ea3a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/module.ts
Expand Up @@ -692,7 +692,7 @@ export default defineNuxtModule<ModuleOptions>({
})

// Context will use in server
nuxt.options.runtimeConfig.content = defu(nuxt.options.runtimeConfig.content, {
nuxt.options.runtimeConfig.content = defu(nuxt.options.runtimeConfig.content as any, {
cacheVersion: CACHE_VERSION,
cacheIntegrity,
...contentContext as any
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/query/match/utils.ts
@@ -1,4 +1,4 @@
import { SortOptions } from '../../types'
import type { SortOptions } from '../../types'

/**
* Retrive nested value from object by path
Expand Down
5 changes: 2 additions & 3 deletions src/runtime/query/query.ts
@@ -1,6 +1,5 @@
import type { QueryBuilder, SortOptions } from '../types'
import { ParsedContent } from '../types'
import { ContentQueryBuilder, ContentQueryBuilderParams, ContentQueryFetcher } from '../types/query'
import type { QueryBuilder, SortOptions, ParsedContent } from '../types'
import type { ContentQueryBuilder, ContentQueryBuilderParams, ContentQueryFetcher } from '../types/query'
import { ensureArray } from './match/utils'

const arrayParams = ['sort', 'where', 'only', 'without']
Expand Down

0 comments on commit ee4ea3a

Please sign in to comment.