You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -59,7 +60,7 @@ npm i -D openapi-typescript typescript
59
60
```
60
61
61
62
> **Highly recommended**
62
-
>
63
+
>
63
64
> Enable [noUncheckedIndexedAccess](https://www.typescriptlang.org/tsconfig#noUncheckedIndexedAccess) in your `tsconfig.json` ([docs](/advanced#enable-nouncheckedindexaccess-in-your-tsconfigjson))
64
65
65
66
Next, generate TypeScript types from your OpenAPI schema using openapi-typescript:
@@ -81,7 +82,7 @@ Lastly, be sure to **run typechecking** in your project. This can be done by add
81
82
And run `npm run test:ts` in your CI to catch type errors.
82
83
83
84
> **TIP:**
84
-
>
85
+
>
85
86
> Use `tsc --noEmit` to check for type errors rather than relying on your linter or your build command. Nothing will typecheck as accurately as the TypeScript compiler itself.
0 commit comments