npmci/dist/mod_publish/index.d.ts

11 lines
344 B
TypeScript
Raw Normal View History

2017-05-19 10:09:33 +00:00
import { Dockerfile } from '../mod_docker/index';
/**
* type of supported services
*/
2016-11-24 22:21:40 +00:00
export declare type TPubService = 'npm' | 'docker';
/**
* the main exported publish function.
2016-09-04 14:05:47 +00:00
* @param pubServiceArg references targeted service to publish to
*/
2017-05-19 10:09:33 +00:00
export declare let publish: (pubServiceArg?: TPubService) => Promise<void | Dockerfile[]>;