0
Fork 0
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:
Daniel Lockyer 2021-06-16 13:16:58 +01:00
parent 763d368c6e
commit 553e0932b2
2 changed files with 6 additions and 0 deletions

View file

@ -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({
/**

View file

@ -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({}, {
/**