views/index.d.ts

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
@gm5框架的模板引擎拓展包
JavaScript 100%