Skip to content

Commit 3bee941

Browse files
Merge pull request #404 from opentripplanner/fix-pdf-import
Use import for pdfkit
2 parents fb581ac + 445add2 commit 3bee941

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/util/PDFDocumentWithTables.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict'
22

3-
const PDFDocument = require('pdfkit')
3+
import PDFDocument from 'pdfkit'
44

55
/**
66
* This class extends the pdfkit functionality to provide a tables method, which

0 commit comments

Comments
 (0)