Skip to content

Commit

Permalink
make typescript 2.9 happy (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
huan committed May 6, 2018
1 parent 7c053a2 commit f5307c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/puppet-puppeteer/bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
Browser,
Cookie,
Dialog,
// ElementHandle,
launch,
Page,
} from 'puppeteer'
Expand Down Expand Up @@ -634,7 +633,7 @@ export class Bridge extends EventEmitter {
*/
public async proxyWechaty(
wechatyFunc : string,
...args : any[],
...args : any[]
): Promise<any> {
log.silly('PuppetPuppeteerBridge', 'proxyWechaty(%s%s)',
wechatyFunc,
Expand Down
2 changes: 1 addition & 1 deletion src/puppet/room.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ export abstract class Room extends PuppetAccessory implements Sayable {

public emit(
event: RoomEventName,
...args: any[],
...args: any[]
): boolean {
return super.emit(event, ...args)
}
Expand Down

0 comments on commit f5307c7

Please sign in to comment.