mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
12 lines
198 B
TypeScript
12 lines
198 B
TypeScript
import { nextTick } from 'async.nexttick';
|
|
|
|
function calledOnNextTick(a: string): number {
|
|
return parseInt(a, 10);
|
|
}
|
|
|
|
const aString = 'Hi!';
|
|
|
|
nextTick(() => {
|
|
calledOnNextTick(aString);
|
|
});
|