Closed kerimdzhanov closed 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.
unsafeCleanup
tmp.dir({ unsafeCleanup: true }, ...)
Nice find, thank you.
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 thetmp.dir({ unsafeCleanup: true }, ...)
calls as an error.