@4lch4/backpack
Advanced tools
Comparing version
@@ -28,3 +28,3 @@ import { Elysia, InternalRoute } from 'elysia'; | ||
*/ | ||
export declare function printRoutes(routes: InternalRoute[], { multiMethodRows, multiMethodSeparator }: PrintRoutesOptions): void; | ||
export declare function printRoutes(routes: InternalRoute[], { multiMethodRows, multiMethodSeparator }?: PrintRoutesOptions): void; | ||
/** | ||
@@ -31,0 +31,0 @@ * An Elysia Plugin that adds a `/health` and `/readiness` route to the application that return |
@@ -76,3 +76,3 @@ import Table from 'cli-table'; | ||
*/ | ||
export function printRoutes(routes, { multiMethodRows = false, multiMethodSeparator = ' — ' }) { | ||
export function printRoutes(routes, { multiMethodRows = false, multiMethodSeparator = ' — ' } = {}) { | ||
const table = multiMethodRows | ||
@@ -79,0 +79,0 @@ ? buildCliMultiMethodTable(routes, multiMethodSeparator) |
{ | ||
"name": "@4lch4/backpack", | ||
"displayName": "4lch4's Backpack", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A collection of useful functions, constants, and more, for use in a variety of NodeJS packages/projects.", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
116689
0.01%