@types/whatwg-mimetype
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -21,3 +21,3 @@ // Type definitions for whatwg-mimetype 2.1 | ||
isXML(): boolean; | ||
isJavaScript(opts?: { allowParameters?: boolean }): boolean; | ||
isJavaScript(opts?: { allowParameters?: boolean | undefined }): boolean; | ||
} |
{ | ||
"name": "@types/whatwg-mimetype", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"description": "TypeScript definitions for whatwg-mimetype", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-mimetype", | ||
"license": "MIT", | ||
@@ -14,10 +15,12 @@ "contributors": [ | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/whatwg-mimetype" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "f4d99e06b944112498a8a22337dc2cd9646c79c712656cc028afba93fc9cecfe", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "1773c9700df35045d5fa552cee75f3234657d9f11a9e3e30f29812496a331465", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,6 +8,32 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-mimetype | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-mimetype. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/whatwg-mimetype/index.d.ts) | ||
````ts | ||
// Type definitions for whatwg-mimetype 2.1 | ||
// Project: https://github.com/jsdom/whatwg-mimetype#readme | ||
// Definitions by: Pete Johanson <https://github.com/petejohanson> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
Additional Details | ||
* Last updated: Fri, 06 Apr 2018 21:34:16 GMT | ||
export = MIMEType; | ||
declare class MIMEType { | ||
type: string; | ||
subtype: string; | ||
readonly essence: string; | ||
readonly parameters: Map<string, string>; | ||
static parse(s: string): MIMEType | null; | ||
constructor(s: string); | ||
isHTML(): boolean; | ||
isXML(): boolean; | ||
isJavaScript(opts?: { allowParameters?: boolean | undefined }): boolean; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 02 Jul 2021 18:05:36 GMT | ||
* Dependencies: none | ||
@@ -17,2 +43,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Pete Johanson <https://github.com/petejohanson>. | ||
These definitions were written by [Pete Johanson](https://github.com/petejohanson). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
3795
0
43