@types/printer
Advanced tools
@@ -17,3 +17,3 @@ // Type definitions for printer 0.4 | ||
| export function getJob(printerName: string, jobId: number): JobDetails; | ||
| export function setJob(printerName: string, jobId: number, command: 'CANCEL' | string): void; | ||
| export function setJob(printerName: string, jobId: number, command: "CANCEL" | string): void; | ||
| export function getSupportedJobCommands(): string[]; | ||
@@ -24,3 +24,3 @@ | ||
| printer?: string | undefined; | ||
| type?: 'RAW' | 'TEXT' | 'PDF' | 'JPEG' | 'POSTSCRIPT' | 'COMMAND' | 'AUTO' | undefined; | ||
| type?: "RAW" | "TEXT" | "PDF" | "JPEG" | "POSTSCRIPT" | "COMMAND" | "AUTO" | undefined; | ||
| options?: { [key: string]: string } | undefined; | ||
@@ -44,7 +44,7 @@ success?: PrintOnSuccessFunction | undefined; | ||
| isDefault: boolean; | ||
| options: { [key: string]: string; }; | ||
| options: { [key: string]: string }; | ||
| } | ||
| export interface PrinterDriverOptions { | ||
| [key: string]: { [key: string]: boolean; }; | ||
| [key: string]: { [key: string]: boolean }; | ||
| } | ||
@@ -66,2 +66,2 @@ | ||
| export type JobStatus = 'PAUSED' | 'PRINTING' | 'PRINTED' | 'CANCELLED' | 'PENDING' | 'ABORTED'; | ||
| export type JobStatus = "PAUSED" | "PRINTING" | "PRINTED" | "CANCELLED" | "PENDING" | "ABORTED"; |
| { | ||
| "name": "@types/printer", | ||
| "version": "0.4.2", | ||
| "version": "0.4.3", | ||
| "description": "TypeScript definitions for printer", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/printer", | ||
| }, | ||
| "typesPublisherContentHash": "bdbe56a1a0ecf159d5c341978e5224e2533466ddc9065901e3e47323fcbc973c", | ||
| "typeScriptVersion": "3.8" | ||
| "typesPublisherContentHash": "c8047907c288dcc41e6c42b21bf64e79e0d17ca5582f3d9531b809b923a22024", | ||
| "typeScriptVersion": "4.5" | ||
| } |
@@ -27,3 +27,3 @@ # Installation | ||
| export function getJob(printerName: string, jobId: number): JobDetails; | ||
| export function setJob(printerName: string, jobId: number, command: 'CANCEL' | string): void; | ||
| export function setJob(printerName: string, jobId: number, command: "CANCEL" | string): void; | ||
| export function getSupportedJobCommands(): string[]; | ||
@@ -34,3 +34,3 @@ | ||
| printer?: string | undefined; | ||
| type?: 'RAW' | 'TEXT' | 'PDF' | 'JPEG' | 'POSTSCRIPT' | 'COMMAND' | 'AUTO' | undefined; | ||
| type?: "RAW" | "TEXT" | "PDF" | "JPEG" | "POSTSCRIPT" | "COMMAND" | "AUTO" | undefined; | ||
| options?: { [key: string]: string } | undefined; | ||
@@ -54,7 +54,7 @@ success?: PrintOnSuccessFunction | undefined; | ||
| isDefault: boolean; | ||
| options: { [key: string]: string; }; | ||
| options: { [key: string]: string }; | ||
| } | ||
| export interface PrinterDriverOptions { | ||
| [key: string]: { [key: string]: boolean; }; | ||
| [key: string]: { [key: string]: boolean }; | ||
| } | ||
@@ -76,3 +76,3 @@ | ||
| export type JobStatus = 'PAUSED' | 'PRINTING' | 'PRINTED' | 'CANCELLED' | 'PENDING' | 'ABORTED'; | ||
| export type JobStatus = "PAUSED" | "PRINTING" | "PRINTED" | "CANCELLED" | "PENDING" | "ABORTED"; | ||
@@ -82,3 +82,3 @@ ```` | ||
| ### Additional Details | ||
| * Last updated: Thu, 16 Dec 2021 22:32:04 GMT | ||
| * Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
| * Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -85,0 +85,0 @@ * Global values: none |
7093
-0.06%