mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-21 13:27:15 +08:00
* https://github.com/sindresorhus/file-type * https://github.com/fluent-ffmpeg/node-fluent-ffmpeg * https://github.com/badunk/multer-s3 * fix tests * clear error with --noImplicitAny
18 lines
462 B
TypeScript
18 lines
462 B
TypeScript
// Type definitions for file-type
|
|
// Project: https://github.com/sindresorhus/file-type
|
|
// Definitions by: KIM Jaesuck a.k.a. gim tcaesvk <http://github.com/tcaesvk/>
|
|
// Definitions: https://github.com/DefinitelyType/DefinitelyTyped
|
|
|
|
/// <reference path="../node/node.d.ts" />
|
|
|
|
declare module "file-type" {
|
|
interface FileTypeResult {
|
|
ext: string
|
|
mime: string
|
|
}
|
|
|
|
function FileType(buf: Buffer): FileTypeResult
|
|
|
|
export = FileType
|
|
}
|