mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-16 21:00:40 -07:00
chore: upgrade typescript
This commit is contained in:
@@ -26,7 +26,7 @@ export class Render {
|
||||
html && emitter.write(html)
|
||||
if (emitter['break'] || emitter['continue']) break
|
||||
} catch (e) {
|
||||
const err = RenderError.is(e) ? e : new RenderError(e, tpl)
|
||||
const err = RenderError.is(e) ? e : new RenderError(e as Error, tpl)
|
||||
throw err
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user