Last active
August 27, 2021 03:16
-
-
Save wmerfalen/73b2ad08324d839e3fe23dac7139b88a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @typedef {object} SpecialType - creates a new type named 'SpecialType' | |
* @property {function} save - a function to save | |
*/ | |
SpecialType.save = function(){ | |
// | |
} | |
/** @return {SpecialType} */ | |
Factory.createSpecialType = function(){ | |
return SpecialType; | |
} | |
/** | |
# once you install tsc, use this | |
tsc --allowJs --checkJs --noEmit --moduleResolution node --target ES6 file.js | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My findings thus far: https://github.com/BeyondCodeBootcamp/jsdoc-typescript-starter