Skip to content
Snippets Groups Projects
Unverified Commit e816399c authored by Louis's avatar Louis :fire:
Browse files

Add Flowtype definition file

parent 8685c8a7
No related branches found
No related tags found
No related merge requests found
/* @flow */
declare module '@commander-lol/koa-mustache' {
declare type ConfigOptions = {
debug(...args: any[]): void,
useCache?: boolean,
extension?: string,
partials?: string,
};
// declare type KoaMiddleware = (ctx: Object, next: Function) => *;
declare module.exports: (viewPath: string, opts?: ConfigOptions) => Function;
}
\ No newline at end of file
{ {
"name": "@commander-lol/koa-mustache", "name": "@commander-lol/koa-mustache",
"version": "1.0.1-beta1", "version": "1.0.3",
"description": "Mustache rendering for Koa 2+", "description": "Mustache rendering for Koa 2+",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment