Comments (3)
Totally agree with this change. any
is too dangerous.
I think this is the correct file: https://github.com/anymaniax/orval/blob/master/packages/core/src/getters/object.ts
Simply replace all instances of [key: string]: any
with [key: string]: unknown
from orval.
PR is welcome.
from orval.
I opened #1466
from orval.
Related Issues (20)
- Missing import for enum with MSW mock generation
- Can not create examples with ref for mock HOT 1
- A better way to manage dynamic API url for Angular HTTP Client
- File extension not applied to schemas generated files HOT 8
- Add the ability to import query hooks from a custom path HOT 1
- How to handle error response codes with fetch? HOT 4
- Vue Query: generates code that doesn't compile for vue-query HOT 4
- Docs incorrect for suppressReadonlyModifier
- mock does not generate correct bigint type HOT 3
- Provide mutator an option to get the original path or operation id
- Zod generate big files HOT 3
- What does mode do? HOT 1
- Use React Query with fetch HOT 3
- Zod schemas generated with undefined min and max variables HOT 5
- Conflict between useMutation and useQuery configuration
- SolidJS: Tanstack implementation
- SWR: keys generated for GETs are wrapped in an array while keys for mutations are not HOT 1
- Referencing enums without types results in wrong faker value
- Wrong exit code on failure HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from orval.