Skip to content

Instantly share code, notes, and snippets.

@3jedgcm
Created December 16, 2019 10:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 3jedgcm/de5d57d6f1a839a061e0eb220564cb1a to your computer and use it in GitHub Desktop.
Save 3jedgcm/de5d57d6f1a839a061e0eb220564cb1a to your computer and use it in GitHub Desktop.
react-native-gem-syntax

GEM Syntaxe

@type IS_TYPE:IS_NAME => IS_DESCRITPION

@arg (IS_METHOD_NAME)IS_TYPE:IS_NAME => IS_DESCRIPTION

@return (IS_METHOD_NAME)IS_TYPE:IS_NAME => IS_DESCRIPTION

Example

// @type React.Component:DB => DESC
class DB extends React.Component {

}
// @type Function:forEachReq => DESC
// @arg (forEachReq)Transaction:tx => DESC
// @arg (forEachReq)Array<String>:arr => DESC
// @arg (forEachReq)Callback:suc => DESC
// @return (forEachReq)Any:anObject => DESC
async forEachReq(tx, arr, suc) {

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment