mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
chore(TypeScript): fix linting and generate .d.ts
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
import Template from 'src/template/template'
|
||||
import Scope from 'src/scope/scope'
|
||||
import ITemplate from 'src/template/itemplate'
|
||||
import Token from 'src/parser/token'
|
||||
|
||||
export default class extends Template implements ITemplate {
|
||||
str: string
|
||||
constructor(token: Token) {
|
||||
constructor (token: Token) {
|
||||
super(token)
|
||||
this.str = token.value
|
||||
}
|
||||
async render(scope: Scope): Promise<string> {
|
||||
async render (): Promise<string> {
|
||||
return this.str
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user