Repository: shipshapecode/shepherd (language: javascript)

Issue:
TS type signature is off (pun unintented) for`Evented.off`
```ts
 off(event: string, handler: Function): boolean | void;
```

should be 

```ts
 off(event: string, handler?: Function): boolean | void;
```

I.e., the `handler` parameter should be [optional](https://github.com/shipshapecode/shepherd/blob/master/src/js/evented.js#L25).


Discussion / hints:

Fix patch:
diff --git a/src/types/evented.d.ts b/src/types/evented.d.ts
index a397c02b7..c6562e9ec 100644
--- a/src/types/evented.d.ts
+++ b/src/types/evented.d.ts
@@ -3,7 +3,7 @@ declare class Evented {
 
   once(event: string, handler: Function): void;
 
-  off(event: string, handler: Function): boolean | void;
+  off(event: string, handler?: Function): boolean | void;
 
   trigger(event: string): void;
 }


Test patch: