Correctly type api.query.*.* (#1406)
* v1, very wip * Refactor file arch * Clean some code * Make it work for all methods * Have correct typings! * Add similar types * Fix missing imports * Move function order * Put any for now * Make api.queryMulti work * Add override check * Fix typings to make it better * Uncomment code * Fix lint * Fix lint * Put checkTypes into correct place in file * Spaces... * Add multi test * Use interface instead of type alias * Add comment * Fix indentation * Ignore query.types.ts
This commit is contained in:
@@ -4,5 +4,6 @@ exclude_patterns:
|
||||
- "**/*.test.js"
|
||||
- "**/*.test.ts"
|
||||
- "docs/**/*.js"
|
||||
- "packages/api/src/query.types.ts"
|
||||
- "packages/types/src/interfaces/"
|
||||
- "packages/types/src/scripts/"
|
||||
|
||||
Reference in New Issue
Block a user