Fixed misc JSDoc types
- nothing crazy, but cleans up a few editor warnings
This commit is contained in:
parent
a5e7eb2208
commit
e3fa095c80
@ -33,12 +33,12 @@ const mongoTransformer = flowRight(statusTransformer, rejectNonStatusTransformer
|
||||
|
||||
/**
|
||||
* @typedef {object} BaseOptions
|
||||
* @prop {import('knex').Transaction} transacting
|
||||
* @prop {import('knex').Knex.Transaction} transacting
|
||||
*/
|
||||
|
||||
/**
|
||||
* @typedef {object} ListOptions
|
||||
* @prop {import('knex').Transaction} transacting
|
||||
* @prop {import('knex').Knex.Transaction} transacting
|
||||
* @prop {string} filter
|
||||
*/
|
||||
|
||||
@ -56,7 +56,7 @@ class OfferBookshelfRepository {
|
||||
|
||||
/**
|
||||
* @template T
|
||||
* @param {(t: import('knex').Transaction) => Promise<T>} cb
|
||||
* @param {(t: import('knex').Knex.Transaction) => Promise<T>} cb
|
||||
* @returns {Promise<T>}
|
||||
*/
|
||||
async createTransaction(cb) {
|
||||
|
@ -102,7 +102,7 @@ module.exports = class TiersAPI {
|
||||
}
|
||||
|
||||
/**
|
||||
* @param {string} id
|
||||
* @param {string} idString
|
||||
* @param {object} data
|
||||
* @returns {Promise<Tier>}
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user