mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-30 22:34:10 -05:00
8c730c0694
* refactor: max-len and printWidth to 100 * chore: ci specific pnpm version * fix: add types peer package literally get rid of types package
25 lines
636 B
TypeScript
25 lines
636 B
TypeScript
import { Application } from 'express';
|
|
import { Callback } from '@verdaccio/types';
|
|
/**
|
|
* Trigger the server after configuration has been loaded.
|
|
* @param {Object} config
|
|
* @param {Object} cliArguments
|
|
* @param {String} configPath
|
|
* @param {String} pkgVersion
|
|
* @param {String} pkgName
|
|
*/
|
|
declare function startVerdaccio(
|
|
config: any,
|
|
cliListen: string,
|
|
configPath: string,
|
|
pkgVersion: string,
|
|
pkgName: string,
|
|
callback: Callback
|
|
): void;
|
|
declare function listenDefaultCallback(
|
|
webServer: Application,
|
|
addr: any,
|
|
pkgName: string,
|
|
pkgVersion: string
|
|
): void;
|
|
export { startVerdaccio, listenDefaultCallback };
|