From abee69ff21ffec3143ac993b9f67094124678382 Mon Sep 17 00:00:00 2001 From: Alexandre Nunes Date: Sun, 27 Sep 2020 02:35:52 -0300 Subject: [PATCH] refactor: replace require by import in xmldom adapter --- .../xmldom-to-mathml-element-adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infra/usecases/xmldom-to-mathml-elements/xmldom-to-mathml-element-adapter.ts b/src/infra/usecases/xmldom-to-mathml-elements/xmldom-to-mathml-element-adapter.ts index ea2c54b..5828e71 100644 --- a/src/infra/usecases/xmldom-to-mathml-elements/xmldom-to-mathml-element-adapter.ts +++ b/src/infra/usecases/xmldom-to-mathml-elements/xmldom-to-mathml-element-adapter.ts @@ -1,4 +1,4 @@ -import xmldom = require('xmldom'); +import xmldom from 'xmldom'; import { DOMParser } from 'xmldom'; import { ElementsToMathMLAdapter } from './xmldom-elements-to-mathml-elements-adapter';