Skip to content

Instantly share code, notes, and snippets.

@Fercho191
Last active December 3, 2018 05:33
Show Gist options
  • Save Fercho191/123a4e4fca4651039df950c24e24ec98 to your computer and use it in GitHub Desktop.
Save Fercho191/123a4e4fca4651039df950c24e24ec98 to your computer and use it in GitHub Desktop.
Definir forma de un objeto con JSDOC
/**
* @see in https://stackoverflow.com/a/6460748
* @param user Information about User
* @param user.firstName The first name of user
* @param user.lastName the last name of user
**/
const logIn = userInfo => {
doLogIn(userInfo.name, userInfo.email);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment