@stryker-mutator/util
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -6,2 +6,10 @@ # Change Log | ||
<a name="0.0.2"></a> | ||
## [0.0.2](https://github.com/stryker-mutator/stryker/compare/@stryker-mutator/util@0.0.1...@stryker-mutator/util@0.0.2) (2018-11-07) | ||
**Note:** Version bump only for package @stryker-mutator/util | ||
<a name="0.0.1"></a> | ||
@@ -8,0 +16,0 @@ ## 0.0.1 (2018-10-15) |
{ | ||
"name": "@stryker-mutator/util", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Contains utilities for Stryker, the mutation testing framework for JavaScript and friends", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
/// <reference types="node" /> | ||
import * as util from 'util'; | ||
export declare function innerPromisify(original: any): (...args: any[]) => Promise<{}>; | ||
export declare function innerPromisify(original: any): (this: unknown, ...args: any[]) => Promise<{}>; | ||
declare const _default: typeof util.promisify; | ||
export default _default; |
@@ -19,3 +19,3 @@ import { exec } from 'child_process'; | ||
export function innerPromisify(original: any) { | ||
return function fn(...args: any[]) { | ||
return function fn(this: unknown, ...args: any[]) { | ||
return new Promise((resolve, reject) => { | ||
@@ -22,0 +22,0 @@ original.call(this, ...args, (err: Error, ...values: any[]) => { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
91572