feTS
feTS copied to clipboard
Documentation error on Client/Inferring types
Documentation error on Client/Inferring types
https://the-guild.dev/openapi/fets/client/inferring-schema-types
Example:
import type { NormalizeOAS, OASRequestParameters } from 'fets'
import type oas from './openapi'
type AddUserInput = OASRequestParams<NormalizeOAS<typeof oas>, '/user', 'POST'>
Should be:
import type { NormalizeOAS, OASRequestParams} from 'fets'
import type oas from './openapi'
type AddUserInput = OASRequestParams<NormalizeOAS<typeof oas>, '/user', 'POST'>