Skip to content

Missing default type when using functionBuilder #90

@JBBianchi

Description

@JBBianchi

What happened:
functionBuilder.build() doesn't assign a default type to the returned function.

What you expected to happen:
The returned function should have the type rest is none is supplied

How to reproduce it:

const fn = functionBuilder().build();
console.log(fn.type);

Anything else we need to know?:
Will be fixed in an upcoming PR

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions