@types/lqip-modern
Advanced tools
Comparing version 1.1.3 to 1.1.4
@@ -9,3 +9,3 @@ // Type definitions for lqip-modern 1.1 | ||
import sharp = require('sharp'); | ||
import sharp = require("sharp"); | ||
@@ -25,3 +25,3 @@ declare namespace lqip { | ||
type OutputFormat = WebpOptions['outputFormat'] | JpegOptions['outputFormat'] | JpgOptions['outputFormat']; | ||
type OutputFormat = WebpOptions["outputFormat"] | JpegOptions["outputFormat"] | JpgOptions["outputFormat"]; | ||
@@ -36,11 +36,11 @@ type LqipOptions = WebpOptions | JpegOptions | JpgOptions | DefaultOptions; | ||
interface WebpOptions extends DefaultOptions { | ||
readonly outputFormat?: 'webp' | undefined; | ||
readonly outputFormat?: "webp" | undefined; | ||
readonly outputOptions?: sharp.WebpOptions | undefined; | ||
} | ||
interface JpegOptions extends DefaultOptions { | ||
readonly outputFormat: 'jpeg'; | ||
readonly outputFormat: "jpeg"; | ||
readonly outputOptions?: sharp.JpegOptions | undefined; | ||
} | ||
interface JpgOptions extends DefaultOptions { | ||
readonly outputFormat: 'jpg'; | ||
readonly outputFormat: "jpg"; | ||
readonly outputOptions?: sharp.JpegOptions | undefined; | ||
@@ -47,0 +47,0 @@ } |
{ | ||
"name": "@types/lqip-modern", | ||
"version": "1.1.3", | ||
"version": "1.1.4", | ||
"description": "TypeScript definitions for lqip-modern", | ||
@@ -26,4 +26,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lqip-modern", | ||
}, | ||
"typesPublisherContentHash": "ff686927069c99ca602da8a29cf66b228dd009fcbcb858421dab686073baba29", | ||
"typesPublisherContentHash": "3d88a650db0299630031001b4a91fe1aa4970035a7c4ec828152bc354aefd4ca", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -19,3 +19,3 @@ # Installation | ||
import sharp = require('sharp'); | ||
import sharp = require("sharp"); | ||
@@ -35,3 +35,3 @@ declare namespace lqip { | ||
type OutputFormat = WebpOptions['outputFormat'] | JpegOptions['outputFormat'] | JpgOptions['outputFormat']; | ||
type OutputFormat = WebpOptions["outputFormat"] | JpegOptions["outputFormat"] | JpgOptions["outputFormat"]; | ||
@@ -46,11 +46,11 @@ type LqipOptions = WebpOptions | JpegOptions | JpgOptions | DefaultOptions; | ||
interface WebpOptions extends DefaultOptions { | ||
readonly outputFormat?: 'webp' | undefined; | ||
readonly outputFormat?: "webp" | undefined; | ||
readonly outputOptions?: sharp.WebpOptions | undefined; | ||
} | ||
interface JpegOptions extends DefaultOptions { | ||
readonly outputFormat: 'jpeg'; | ||
readonly outputFormat: "jpeg"; | ||
readonly outputOptions?: sharp.JpegOptions | undefined; | ||
} | ||
interface JpgOptions extends DefaultOptions { | ||
readonly outputFormat: 'jpg'; | ||
readonly outputFormat: "jpg"; | ||
readonly outputOptions?: sharp.JpegOptions | undefined; | ||
@@ -71,3 +71,3 @@ } | ||
### Additional Details | ||
* Last updated: Wed, 26 Apr 2023 21:32:48 GMT | ||
* Last updated: Wed, 30 Aug 2023 19:35:20 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node), [@types/sharp](https://npmjs.com/package/@types/sharp) | ||
@@ -74,0 +74,0 @@ * Global values: none |