Skip to content

docs: fix typos in code comments#16197

Open
Goldyvaiiii wants to merge 1 commit intoAutomattic:masterfrom
Goldyvaiiii:master
Open

docs: fix typos in code comments#16197
Goldyvaiiii wants to merge 1 commit intoAutomattic:masterfrom
Goldyvaiiii:master

Conversation

@Goldyvaiiii
Copy link
Copy Markdown

This PR fixes a few minor typographical errors in comments to improve code readability. Found via codespell.

Copy link
Copy Markdown
Collaborator

@AbdelrahmanHafez AbdelrahmanHafez left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One comment, otherwise LGTM

Comment on lines +383 to +386
* const schema = new Schema({ a number: { type: Number, default: 4.815162342 }})
* const M = db.model('M', schema)
* const m = new M;
* console.log(m.aNumber) // 4.815162342
* console.log(m.a number) // 4.815162342
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is wrong, should stay as aNumber

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants