From 6eaf3b60832b59ad208e3162f1d7b9480c590fda Mon Sep 17 00:00:00 2001 From: Julien Oculi Date: Mon, 15 Jul 2024 14:22:27 +0200 Subject: [PATCH] refactor: fix deno lint `no-unused-vars` and `verbatim-module-syntax` --- src/template.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/template.tsx b/src/template.tsx index 19a5ea1..c8de9c9 100644 --- a/src/template.tsx +++ b/src/template.tsx @@ -4,6 +4,8 @@ import { render } from 'jsx-email' import Turndown from 'turndown' import type { JSX } from 'preact' +console.assert(React !== undefined) + const htmlToMd = new Turndown({ headingStyle: 'atx', codeBlockStyle: 'fenced',