fix: use type
variable since rest.type
is always undefined
#168
Loading
type
variable since rest.type
is always undefined
#168