@types/media-typer
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -12,3 +12,3 @@ // Type definitions for media-typer 0.3 | ||
subtype: string; | ||
suffix?: string; | ||
suffix?: string | undefined; | ||
} |
{ | ||
"name": "@types/media-typer", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "TypeScript definitions for media-typer", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/media-typer", | ||
"license": "MIT", | ||
@@ -22,4 +23,4 @@ "contributors": [ | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "bd2f746eb7419ecceaa37371365d9de4fa322b348148f1d5e5c53d66caf21a14", | ||
"typeScriptVersion": "2.9" | ||
"typesPublisherContentHash": "fd0525d141202fbe6ae6c4a341453162d75619a007382970ab96ece451af8933", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,22 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/media-typer/v0. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/media-typer/v0/index.d.ts) | ||
````ts | ||
// Type definitions for media-typer 0.3 | ||
// Project: https://github.com/jshttp/media-typer | ||
// Definitions by: BendingBender <https://github.com/BendingBender> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
export function parse(mediaType: string): MediaType; | ||
export function format(mediaTypeDescriptor: MediaType): string; | ||
export interface MediaType { | ||
type: string; | ||
subtype: string; | ||
suffix?: string | undefined; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 12 May 2020 19:57:56 GMT | ||
* Last updated: Tue, 06 Jul 2021 22:03:03 GMT | ||
* Dependencies: none | ||
@@ -14,0 +31,0 @@ * Global values: none |
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3490
1
34