Advertisement
Chaiwa

JSDocs Typedefs

Jan 15th, 2021
769
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. // We will revert to this once simple-ast supports typedefs
  3. // /**
  4. //  * Type definition for the `result returned` by `OpenFn operations`
  5. //  * @public
  6. //  * @typedef {{configuration: object, references: object[], data: object}} state
  7. //  */
  8.  
  9. // /**
  10. //  * Type definition for the `callback` supplied to `OpenFn operations`
  11. //  * @public
  12. //  * @callback requestCallback
  13. //  * @param {state} state
  14. //  * @returns {state}
  15. //  */
  16.  
  17. // /**
  18. //  * Type definition for `options` `parameter` object used in `DHIS2 adaptor's operations`.
  19. //  * @public
  20. //  * @typedef {{ replace: boolean, apiVersion: number, supportApiVersion: boolean,requireUniqueAttributeConfig: boolean}} options
  21. //  *
  22. //  */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement