We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There are still some problems with the current type labeling for warehouses. For example:
warehouse/src/types/virtual.ts
Line 17 in 83df5a1
get(fn: (this: Document<T>) => any): SchemaTypeVirtual<T> {}
However, it is difficult to refactor the type due to the following implementations:
warehouse/src/document.ts
Lines 19 to 23 in 83df5a1
No response
The text was updated successfully, but these errors were encountered:
One possible solution is to redefine a new type, e.g:
type DocumentType<T> = Document<T> & T
Then replace Document<T> with DocumentType<T> wherever it needs to be used. But this could be a big change.
Document<T>
DocumentType<T>
Sorry, something went wrong.
No branches or pull requests
Check List
Feature Request
There are still some problems with the current type labeling for warehouses. For example:
warehouse/src/types/virtual.ts
Line 17 in 83df5a1
Actually, it should be:
However, it is difficult to refactor the type due to the following implementations:
warehouse/src/document.ts
Lines 19 to 23 in 83df5a1
Additional context
No response
The text was updated successfully, but these errors were encountered: