chore(doc-gen): ensure `log` is injected into `getExportDocType`

See #2446
This commit is contained in:
Peter Bacon Darwin 2015-06-09 23:07:21 +01:00
parent 002101521c
commit 65cbcb2f73
1 changed files with 1 additions and 1 deletions

View File

@ -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) {