@types/rc

  • Version 1.2.4
  • Published
  • 9.44 kB
  • 1 dependency
  • MIT license

Install

npm i @types/rc
yarn add @types/rc
pnpm add @types/rc

Overview

TypeScript definitions for rc

Index

Functions

Functions

function rc

rc: {
(
name: string,
defaults?: string | null,
argv?: null,
parse?: (content: string) => object
): RcResultType & minimist.ParsedArgs;
<T extends object>(
name: string,
defaults: T,
argv?: null,
parse?: (content: string) => object
): any;
<U extends object>(
name: string,
defaults: string,
argv: U,
parse?: (content: string) => object
): U & RcResultType;
<T extends object, U extends object>(
name: string,
defaults: T,
argv: U,
parse?: (content: string) => object
): T & U & RcResultType;
<T extends string | object, U extends object>(
name: string,
defaults: T,
argv: U,
parse?: (content: string) => object
): T extends string
? (U extends null ? minimist.ParsedArgs : U) & RcResultType
: T & (U extends null ? minimist.ParsedArgs : U) & RcResultType;
};

    Package Files (1)

    Dependencies (1)

    Dev Dependencies (0)

    No dev dependencies.

    Peer Dependencies (0)

    No peer dependencies.

    Badge

    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@types/rc.

    • Markdown
      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@types/rc)
    • HTML
      <a href="https://www.jsdocs.io/package/@types/rc"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>