]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/helpers/custom-jsonld-signature.ts
esModuleInterop to true
[github/Chocobozzz/PeerTube.git] / server / helpers / custom-jsonld-signature.ts
index 56f10086c605439432988db8780c796f903f17a5..3c706e372ee26a9b17f4ed3457fb1cf74c44e106 100644 (file)
@@ -1,7 +1,8 @@
-import * as AsyncLRU from 'async-lru'
-import * as jsonld from 'jsonld'
+import AsyncLRU from 'async-lru'
 import { logger } from './logger'
 
+import jsonld = require('jsonld')
+
 const CACHE = {
   'https://w3id.org/security/v1': {
     '@context': {