@types/qrcode-terminal
TypeScript icon, indicating that this package has built-in type declarations

0.12.2 • Public • Published

Installation

npm install --save @types/qrcode-terminal

Summary

This package contains type definitions for qrcode-terminal (https://github.com/gtanner/qrcode-terminal).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/qrcode-terminal.

index.d.ts

export const error: 0 | 1 | 2 | 3;
export function generate(input: string, opts?: { small: boolean }, callback?: (qrcode: string) => void): void;
export function setErrorLevel(error: "L" | "M" | "Q" | "H"): void;

Additional Details

  • Last updated: Tue, 07 Nov 2023 09:09:39 GMT
  • Dependencies: none

Credits

These definitions were written by Benjamin Altpeter.

/@types/qrcode-terminal/

    Package Sidebar

    Install

    npm i @types/qrcode-terminal

    Weekly Downloads

    15,548

    Version

    0.12.2

    License

    MIT

    Unpacked Size

    3.03 kB

    Total Files

    5

    Last publish

    Collaborators

    • types