Created
August 23, 2018 02:44
-
-
Save gwillz/ad73f5cc0a91de1c1117f00c2c84c6fb to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
declare module 'connect-static-file' { | |
import {Handler} from 'express' | |
import {SendOptions} from 'send' | |
interface Options extends SendOptions { | |
encoded?: string; | |
headers?: {[key: string]: string}; | |
} | |
function connectStaticFile(path: string, options?: Options): Handler; | |
namespace connectStaticFile { | |
export type StaticFileOptions = Options; | |
} | |
export = connectStaticFile; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment