MACHIN
This commit is contained in:
		
							
								
								
									
										21
									
								
								32/node_modules/express-handlebars/lib/index.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								32/node_modules/express-handlebars/lib/index.ts
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,21 @@
 | 
			
		||||
/*
 | 
			
		||||
 * Copyright (c) 2014, Yahoo Inc. All rights reserved.
 | 
			
		||||
 * Copyrights licensed under the New BSD License.
 | 
			
		||||
 * See the accompanying LICENSE file for terms.
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
import ExpressHandlebars from "./express-handlebars";
 | 
			
		||||
import type {
 | 
			
		||||
	ConfigOptions,
 | 
			
		||||
	Engine,
 | 
			
		||||
} from "../types";
 | 
			
		||||
 | 
			
		||||
export { ExpressHandlebars };
 | 
			
		||||
 | 
			
		||||
export function create (config: ConfigOptions = {}): ExpressHandlebars {
 | 
			
		||||
	return new ExpressHandlebars(config);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
export function engine (config: ConfigOptions = {}): Engine {
 | 
			
		||||
	return create(config).engine;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user