UNPKG

periodicjs

Version:

Periodic is a rapid enterprise application framework for data driven web and mobile applications.

17 lines (15 loc) 342 B
'use strict'; function uninstallExtension(arg) { return new Promise((resolve, reject) => { try { if (arg === 'throw') throw new Error('Throw an error'); // console.log('installing extension'); resolve(true); } catch (e) { reject(e); } }); } module.exports = { uninstallExtension, };