Closed DonaldKellett closed 2 years ago
Change to plopfile.js
, replace the types with jsdoc annotation:
export default function (
/** @type {import('plop').NodePlopAPI} */
plop
) {
}
https://github.com/plopjs/plop#typescript-declarations
Should be much faster too.
Likely caused by #45
When running
npx plop command
ornpx plop message-handler
, Plop no longer recognizes ".ts" as a valid file extension: