UNPKG

@types/wtfnode

Version:
30 lines (24 loc) 972 B
# Installation > `npm install --save @types/wtfnode` # Summary This package contains type definitions for wtfnode (https://github.com/myndzi/wtfnode). # Details Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wtfnode. ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/wtfnode/index.d.ts) ````ts export interface DumpOptions { /** * Whether to include full stack traces in output, default false */ fullStacks?: boolean; } export function dump(options?: DumpOptions): void; export function init(): void; export function setLogger(type: "info" | "warn" | "error", fn: (message?: any, ...optionalParams: any[]) => void): void; export function resetLoggers(): void; ```` ### Additional Details * Last updated: Fri, 15 Aug 2025 08:39:32 GMT * Dependencies: none # Credits These definitions were written by [Piotr Roszatycki](https://github.com/dex4er).