feTS icon indicating copy to clipboard operation
feTS copied to clipboard

Documentation error on Client/Inferring types

Open EricSmekens opened this issue 6 months ago • 0 comments

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'>

EricSmekens avatar Aug 06 '24 11:08 EricSmekens