Code review: NullModule -> FlowStubModule
This commit is contained in:
Родитель
72bae55cb7
Коммит
dda12b4f52
|
@ -9,7 +9,7 @@
|
|||
[libs]
|
||||
|
||||
[options]
|
||||
module.name_mapper.extension='less' -> '<PROJECT_ROOT>/NullModule.js'
|
||||
module.name_mapper.extension='less' -> '<PROJECT_ROOT>/FlowStubModule.js'
|
||||
module.name_mapper='^console\/\(.*\)$' -> '<PROJECT_ROOT>/console/\1'
|
||||
emoji=true
|
||||
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
/**
|
||||
* This is a stub file used by the Flow checker for filetypes we wish to ignore.
|
||||
* Essentially, this tells Flow that the module does not export anything, so
|
||||
* there is nothing for it to type check.
|
||||
*/
|
||||
module.exports = {};
|
|
@ -1 +0,0 @@
|
|||
module.exports = {};
|
Загрузка…
Ссылка в новой задаче