1 | 4 | import Config from "./core/Config"; |
|
2 | |||
3 | const ConfigInstance = new Config(); |
||
4 | for (const config in APP_CONFIG) { |
||
0 ignored issues
–
show
|
|||
5 | 2 | if (APP_CONFIG.hasOwnProperty(config)) { |
|
6 | ConfigInstance.set(config, APP_CONFIG[config]); |
||
7 | } |
||
8 | } |
||
9 | |||
10 | export default ConfigInstance; |
||
11 |
This checks looks for references to variables that have not been declared. This is most likey a typographical error or a variable has been renamed.
To learn more about declaring variables in Javascript, see the MDN.