-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
When using better-typescript-lib
v2.11.0, passing a function to Object.assign
breaks TS callability inference.
This code works fine in base TS, and runs perfectly, but it breaks the build with better-typescript-lib
:
const foo = () => 1;
const bar = Object.assign(foo, { baz: 1 });
bar();
uhyo
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed