From 5bb94185affbdd4447c95bb86d089c8a5e084225 Mon Sep 17 00:00:00 2001 From: Mohamed Daahir Date: Wed, 20 Dec 2023 15:31:13 +0200 Subject: [PATCH] fix lint error --- src/lib/latex.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/latex.ts b/src/lib/latex.ts index 9d87f704..9a81f085 100644 --- a/src/lib/latex.ts +++ b/src/lib/latex.ts @@ -1,9 +1,9 @@ import { PdfTeXEngine, XeTeXEngine, DvipdfmxEngine } from 'swiftlatex' import { LaTeXOpts } from '../types' -let pdftex = new PdfTeXEngine() -let xetex = new XeTeXEngine() -let dvipdfmx = new DvipdfmxEngine() +const pdftex = new PdfTeXEngine() +const xetex = new XeTeXEngine() +const dvipdfmx = new DvipdfmxEngine() let engineLoaded = false export default async function latex(texDoc: string, opts: LaTeXOpts) {