mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-06 16:20:26 +08:00
Create express-handlebars.d.ts
This commit is contained in:
+19
@@ -0,0 +1,19 @@
|
||||
// Type definitions for express-handlebars
|
||||
// Project: https://github.com/ericf/express-handlebars
|
||||
// Definitions by: Sam Saint-Pettersen <https://github.com/stpettersens>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
interface ExphbsOptions {
|
||||
handlebars?: any;
|
||||
extname?: string;
|
||||
layoutsDir?: string;
|
||||
partialsDir?: string;
|
||||
defaultLayout?: string;
|
||||
helpers?: any;
|
||||
compilerOptions?: any;
|
||||
}
|
||||
|
||||
declare module "express-handlebars" {
|
||||
function exphbs(options: ExphbsOptions): Function;
|
||||
export = exphbs;
|
||||
}
|
||||
Reference in New Issue
Block a user