From dc6f64c1b21eaf6da92c92d626766431484ac3d7 Mon Sep 17 00:00:00 2001 From: Romain Lanz Date: Sat, 15 Sep 2018 09:43:08 +0200 Subject: [PATCH] feat(intellisense): add type comments --- config/app.js | 1 + config/auth.js | 1 + config/database.js | 3 +++ config/hash.js | 1 + config/session.js | 1 + 5 files changed, 7 insertions(+) diff --git a/config/app.js b/config/app.js index 18e294f..caa3db5 100644 --- a/config/app.js +++ b/config/app.js @@ -1,5 +1,6 @@ 'use strict' +/** @type {import('@adonisjs/framework/src/Env')} */ const Env = use('Env') module.exports = { diff --git a/config/auth.js b/config/auth.js index 9bbd33c..5fceb35 100644 --- a/config/auth.js +++ b/config/auth.js @@ -1,5 +1,6 @@ 'use strict' +/** @type {import('@adonisjs/framework/src/Env')} */ const Env = use('Env') module.exports = { diff --git a/config/database.js b/config/database.js index 2affdc0..e9cb916 100644 --- a/config/database.js +++ b/config/database.js @@ -1,6 +1,9 @@ 'use strict' +/** @type {import('@adonisjs/framework/src/Env')} */ const Env = use('Env') + +/** @type {import('@adonisjs/ignitor/src/Helpers')} */ const Helpers = use('Helpers') module.exports = { diff --git a/config/hash.js b/config/hash.js index ff1be2a..42f5805 100644 --- a/config/hash.js +++ b/config/hash.js @@ -1,5 +1,6 @@ 'use strict' +/** @type {import('@adonisjs/framework/src/Env')} */ const Env = use('Env') module.exports = { diff --git a/config/session.js b/config/session.js index 6c621cb..70e8d34 100644 --- a/config/session.js +++ b/config/session.js @@ -1,5 +1,6 @@ 'use strict' +/** @type {import('@adonisjs/framework/src/Env')} */ const Env = use('Env') module.exports = {