Fix typo
This commit is contained in:
@ -28,7 +28,7 @@ This is just a guideline, and the rules can sometimes be broken.
|
|||||||
* Use `add` if you add the element into the method as a parameter:
|
* Use `add` if you add the element into the method as a parameter:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
public createParagraph(paragraph: Paragraph) {
|
public addParagraph(paragraph: Paragraph) {
|
||||||
this.root.push(paragraph);
|
this.root.push(paragraph);
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
Reference in New Issue
Block a user