Created
September 29, 2020 15:32
-
-
Save anderjs/a323d45f49010480812b3690f67d614e to your computer and use it in GitHub Desktop.
JSDocs Interface example
This file contains hidden or 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} Child | |
| * @property {string} node | |
| * * / | |
| /** | |
| * @typedef {Object} Configuration | |
| * @property {string} name | |
| * @property {boolean} execute | |
| * @property {Child []} childs | |
| * */ | |
| /** | |
| * @param {Configuration} config | |
| * */ | |
| function doSomething(config) {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment