Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.