mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-20 22:42:53 -05:00
Added missing Bookshelf JSDoc import
no issue - this helps us with types across the model code
This commit is contained in:
parent
763d368c6e
commit
553e0932b2
2 changed files with 6 additions and 0 deletions
|
@ -2,6 +2,9 @@ const _ = require('lodash');
|
|||
const errors = require('@tryghost/errors');
|
||||
const logging = require('@tryghost/logging');
|
||||
|
||||
/**
|
||||
* @param {import('bookshelf')} Bookshelf
|
||||
*/
|
||||
module.exports = function (Bookshelf) {
|
||||
Bookshelf.Model = Bookshelf.Model.extend({
|
||||
/**
|
||||
|
|
|
@ -5,6 +5,9 @@ const Promise = require('bluebird');
|
|||
|
||||
const schema = require('../../data/schema');
|
||||
|
||||
/**
|
||||
* @param {import('bookshelf')} Bookshelf
|
||||
*/
|
||||
module.exports = function (Bookshelf) {
|
||||
Bookshelf.Model = Bookshelf.Model.extend({}, {
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue