mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-13 03:07:05 +00:00
9 lines
218 B
TypeScript
9 lines
218 B
TypeScript
import cmdShim = require('cmd-shim');
|
|
|
|
cmdShim('./whatever/bin.js', './.bin/my-bin', (err) => {
|
|
if (err) throw err;
|
|
});
|
|
cmdShim.ifExists('./whatever/bin.js', './.bin/my-bin', (err) => {
|
|
if (err) throw err;
|
|
});
|