Help me. I can't solve the unkown #1391
mineclover
started this conversation in
General
Replies: 1 comment 1 reply
-
Ah glad you figured it out. What was the issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://api.redocly.com/registry/bundle/xsolla/igs-bb-api/v1/openapi.yaml
I received a d.ts file through In this api specification basic usage
version >>> "openapi-typescript": "^7.0.0-next.2",
script >>> openapi-typescript openapi/spec.yaml --output src/types/api.ts
From this file
type Test = paths['/v2/project/{project_id}/items']['get']['responses']['200']['content']['application/json']['items']
on the receiving end of
if (props == null) return null
if ('item_id' in props) return
Props.item_id is treated as unkown when done
I solved it thank!
Beta Was this translation helpful? Give feedback.
All reactions