types: add isEmpty and empty to GrayMatterFile #191
Loading…
Reference in a new issue
No description provided.
Delete branch "Hashim1999164/fix/types-isempty-property"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
isEmptyandemptyto theGrayMatterFileTypeScript interface so they match the runtime object and README.Test plan
gray-matter.d.tsincludesisEmpty: booleanand optionalempty?: stringmatter('--- ---').isEmptywithout a type errorView command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.