Fix documentation typo

This commit is contained in:
Khalil Mansouri
2021-02-24 13:30:40 +01:00
parent 5e06d73f45
commit 32ceaa415e

View File

@ -5,12 +5,21 @@
To make a bullet point, simply make a paragraph into a bullet point:
```ts
const text = new TextRun("Bullet points");
const paragraph = new Paragraph({
doc.addSection({
children: [
new Paragraph({
text: "Bullet points",
bullet: {
level: 0, //How deep you want the bullet to be
},
level: 0 //How deep you want the bullet to be
}
}),
new Paragraph({
text: "Are awesome",
bullet: {
level: 0
}
})
],
});
```