UNPKG

create-expo-cljs-app

Version:

Create a react native application with Expo and Shadow-CLJS!

14 lines (8 loc) 302 B
'use strict'; const internals = {}; module.exports = function (timeout, returnValue) { if (typeof timeout !== 'number' && timeout !== undefined) { throw new TypeError('Timeout must be a number'); } return new Promise((resolve) => setTimeout(resolve, timeout, returnValue)); };