mirror of
				https://scm.univ-tours.fr/22107988t/rappaurio-sae501_502.git
				synced 2025-11-04 05:15:23 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			22 lines
		
	
	
		
			515 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			515 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
/*
 | 
						|
 * 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;
 | 
						|
}
 |