feat: enhance configuration handling and add type definitions for query and URL serializers
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
import type { QuerySerializer } from '@/shared/types'
|
||||
import type {
|
||||
ParseQuery,
|
||||
PlainObjectConstraint,
|
||||
StringifyQuery,
|
||||
} from '@/shared/types'
|
||||
|
||||
export const parseQuery: QuerySerializer['parseQuery'] = () => {
|
||||
export function parseQuery<T extends PlainObjectConstraint>(): ReturnType<
|
||||
ParseQuery<T>
|
||||
> {
|
||||
throw new Error('Not implemented')
|
||||
}
|
||||
|
||||
export const stringifyQuery: QuerySerializer['stringifyQuery'] = () => {
|
||||
export function stringifyQuery<T extends PlainObjectConstraint>(): ReturnType<
|
||||
StringifyQuery<T>
|
||||
> {
|
||||
throw new Error('Not implemented')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user