20 lines
309 B
TypeScript
20 lines
309 B
TypeScript
/**
|
|
* {}
|
|
* @author yutent<yutent.io@gmail.com>
|
|
* @date 2025/01/03 10:39:13
|
|
*/
|
|
|
|
import Smarty from 'smartyx'
|
|
|
|
declare interface SmartyConfig {
|
|
dir: string
|
|
ext?: string
|
|
}
|
|
|
|
declare interface Engine {
|
|
name: 'smarty'
|
|
install(conf?: SmartyConfig): Smarty
|
|
}
|
|
|
|
export function createSmartyEngine(): Engine
|