feat(intellisense): add type comments

This commit is contained in:
Romain Lanz
2018-09-15 09:37:07 +02:00
parent 489897c488
commit b38ea8d773
7 changed files with 14 additions and 7 deletions

View File

@@ -11,12 +11,11 @@
|
*/
/** @type {import('@adonisjs/lucid/src/Factory')} */
// const Factory = use('Factory')
/**
Factory.blueprint('App/Models/User', (faker) => {
return {
username: faker.username()
}
})
*/
// Factory.blueprint('App/Models/User', (faker) => {
// return {
// username: faker.username()
// }
// })

View File

@@ -1,5 +1,6 @@
'use strict'
/** @type {import('@adonisjs/lucid/src/Schema')} */
const Schema = use('Schema')
class UserSchema extends Schema {

View File

@@ -1,5 +1,6 @@
'use strict'
/** @type {import('@adonisjs/lucid/src/Schema')} */
const Schema = use('Schema')
class TokensSchema extends Schema {