chore(doc-gen): ensure `log` is injected into `getExportDocType`
See #2446
This commit is contained in:
parent
002101521c
commit
65cbcb2f73
|
@ -1,6 +1,6 @@
|
||||||
var ts = require('typescript');
|
var ts = require('typescript');
|
||||||
|
|
||||||
module.exports = function getExportDocType() {
|
module.exports = function getExportDocType(log) {
|
||||||
|
|
||||||
return function(symbol) {
|
return function(symbol) {
|
||||||
if(symbol.flags & ts.SymbolFlags.FunctionScopedVariable) {
|
if(symbol.flags & ts.SymbolFlags.FunctionScopedVariable) {
|
||||||
|
|
Loading…
Reference in New Issue