Files
DefinitelyTyped/types/meow/meow-tests.ts
2017-03-24 14:27:52 -07:00

20 lines
384 B
TypeScript

import meow = require('meow');
import Options = meow.Options;
const options: Options = {};
options.description = true;
options.description = 'string';
options.help = true;
options.help = 'string';
options.version = true;
options.version = 'string';
options.argv = ['string', 'string'];
options.inferType = true;
meow(options);
meow('Usage text', {
alias: {
opt: 'opt'
}
});