mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Function is not a default export
This commit is contained in:
parent
c126a9ec44
commit
eff196f9ae
@ -1,4 +1,4 @@
|
||||
import nextTick from 'async.nexttick';
|
||||
import {nextTick} from 'async.nexttick';
|
||||
|
||||
function calledOnNextTick(a: string): number {
|
||||
return parseInt(a, 10);
|
||||
|
||||
2
types/async.nexttick/index.d.ts
vendored
2
types/async.nexttick/index.d.ts
vendored
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user