Skip to content

Commit 22b826d

Browse files
authored
Merge pull request #1411 from chooblarin/doc-fix
Fix doc about creation of pdf document
2 parents 5223809 + e48002d commit 22b826d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/getting_started.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ in your JavaScript source file and create an instance of the
1414
`PDFDocument` class.
1515

1616
const PDFDocument = require('pdfkit');
17-
const doc = new PDFDocument;
17+
const doc = new PDFDocument();
1818

1919
`PDFDocument` instances are readable Node streams. They don't get saved anywhere automatically,
2020
but you can call the `pipe` method to send the output of the PDF document to another

0 commit comments

Comments
 (0)