Closed jonathan3692bf closed 4 years ago
In src/intercomAPI.ts on branch 2.0, args should be an object, not an array.
2.0
args
object
array
Just change line 1 from:
export default function(method: string, ...args: Array<any>) {
to:
export default function(method: string, args: any) {
Not sure if this is what is being proposed fixed in #77? I think it is.
True, though #77 lumps method and args together. Either way, we achieve the same goal, so I'll close this issue.
method
In src/intercomAPI.ts on branch
2.0
,args
should be anobject
, not anarray
.Just change line 1 from:
to: