Open manuth opened 4 years ago
While front-matter exports the front-matter method using module.exports = fm the type-declaration states export default fm. This causes TypeScript to not work correctly with the "front-matter" module.
front-matter
module.exports = fm
export default fm
"front-matter"
I'll open up an issue to fix this asap.
While
front-matter
exports the front-matter method usingmodule.exports = fm
the type-declaration statesexport default fm
. This causes TypeScript to not work correctly with the"front-matter"
module.I'll open up an issue to fix this asap.