Function is not a default export

This commit is contained in:
Damien Rajon 2017-06-28 18:27:30 +02:00
parent c126a9ec44
commit eff196f9ae
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import nextTick from 'async.nexttick';
import {nextTick} from 'async.nexttick';
function calledOnNextTick(a: string): number {
return parseInt(a, 10);

View File

@ -3,4 +3,4 @@
// Definitions by: Damien "pyrho" Rajon <https://github.com/pyrho>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export default function nextTick(callback: () => void, ...args: any[]): void;
export function nextTick(callback: () => void, ...args: any[]): void;