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
+ import {Object} from "ts-toolbelt"
console.log(Object.keys({x:1}))
+ type ApiResponse<T extends object> = Object.Merge<{error: boolean}, T>
Then the app breaks down because of the name conflict.
Describe the solution you'd like
Remove the name conflict. For example Object.Merge to Merge or ObjectMerge?
Or at least tell the users like MUST run tsc first before the build script?
The text was updated successfully, but these errors were encountered:
xianshenglu
changed the title
Name Conflict with native JS Api
Name Conflict with Native JS Api
Aug 26, 2021
xianshenglu
changed the title
Name Conflict with Native JS Api
Type Name Conflict with Native JS Api
Aug 26, 2021
馃崺 Feature Request
Is your feature request related to a problem?
Say my original code is
then I add other codes like
Then the app breaks down because of the name conflict.
Describe the solution you'd like
Remove the name conflict. For example
Object.Merge
toMerge
orObjectMerge
?Or at least tell the users like MUST run
tsc
first before the build script?The text was updated successfully, but these errors were encountered: