Skip to content

Commit

Permalink
fix(utils): gulp dev dependencies and update util/index
Browse files Browse the repository at this point in the history
rever package.json
  • Loading branch information
Deepakkothandan committed Jun 2, 2018
1 parent 9515dbc commit 9e65f02
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/util/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ import chalk from "chalk"
import hasAnsi = require("has-ansi")

// shim to allow async generator functions
(<any>Symbol).asyncIterator = (<any>Symbol).asyncIterator || Symbol.for("Symbol.asyncIterator")
if (typeof (Symbol as any).asyncIterator === "undefined") {
(Symbol as any).asyncIterator = Symbol("asyncIterator")
}

export type HookCallback = (callback?: () => void) => void

Expand Down

0 comments on commit 9e65f02

Please sign in to comment.