Skip to content

Commit

Permalink
Meta tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed Apr 23, 2023
1 parent a40f828 commit cd011b4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
8 changes: 5 additions & 3 deletions core.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,8 @@ export type FileExtension =
| 'pst'
| 'dwg'
| 'parquet'
| 'class';
| 'class'
; // eslint-disable-line semi-style

export type MimeType =
| 'image/jpeg'
Expand Down Expand Up @@ -286,7 +287,8 @@ export type MimeType =
| 'application/vnd.ms-outlook'
| 'image/vnd.dwg'
| 'application/x-parquet'
| 'application/java-vm';
| 'application/java-vm'
; // eslint-disable-line semi-style

export type FileTypeResult = {
/**
Expand Down Expand Up @@ -419,5 +421,5 @@ const blob = new Blob(['<?xml version="1.0" encoding="ISO-8859-1" ?>'], {
console.log(await fileTypeFromBlob(blob));
//=> {ext: 'txt', mime: 'plain/text'}
```
*/
*/
export declare function fileTypeFromBlob(blob: Blob): Promise<FileTypeResult | undefined>;
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,12 +207,12 @@
},
"devDependencies": {
"@tokenizer/token": "^0.3.0",
"@types/node": "^18.7.13",
"ava": "^5.1.0",
"@types/node": "^18.16.0",
"ava": "^5.2.0",
"commonmark": "^0.30.0",
"noop-stream": "^1.0.0",
"tsd": "^0.25.0",
"xo": "^0.53.1"
"tsd": "^0.28.1",
"xo": "^0.54.1"
},
"xo": {
"envs": [
Expand Down

0 comments on commit cd011b4

Please sign in to comment.