npm.io
0.12.2 • Published 2 years ago

@types/qrcode-terminal

Licence
MIT
Version
0.12.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.3K

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 0939 GMT
  • Dependencies: none

Credits

These definitions were written by Benjamin Altpeter.