raszi / node-tmp

Temporary file and directory creator for node.js
MIT License
736 stars 92 forks source link

docs: add `unsafeCleanup` option to jsdoc #175

Closed kerimdzhanov closed 6 years ago

kerimdzhanov commented 6 years ago

IDEs like WebStorm/IntelliJ supports jsdoc blocks to add ability to code completion and typechecking. Thus, the missing unsafeCleanup option in jsdoc forces the IDE to highlight the tmp.dir({ unsafeCleanup: true }, ...) calls as an error.

silkentrance commented 6 years ago

Nice find, thank you.