diff --git a/types/serve-favicon/index.d.ts b/types/serve-favicon/index.d.ts index 00857fd1a0..efa78705a4 100644 --- a/types/serve-favicon/index.d.ts +++ b/types/serve-favicon/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for serve-favicon 2.2.0 +// Type definitions for serve-favicon 2.5.0 // Project: https://github.com/expressjs/serve-favicon // Definitions by: Uros Smolnik // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -19,7 +19,7 @@ import express = require('express'); /** * Node.js middleware for serving a favicon. */ -declare function serveFavicon(path: string, options?: { +declare function serveFavicon(path: string | Buffer, options?: { /** * The cache-control max-age directive in ms, defaulting to 1 day. This can also be a string accepted by the ms module. */