Check List
Feature Request
There are still some problems with the current type labeling for warehouses. For example:
|
get(fn: (this: T) => any): SchemaTypeVirtual<T> { |
Actually, it should be:
get(fn: (this: Document<T>) => any): SchemaTypeVirtual<T> {}
However, it is difficult to refactor the type due to the following implementations:
|
constructor(data?: T) { |
|
if (data) { |
|
Object.assign(this, data); |
|
} |
|
} |
Additional context
No response
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