Skip to content

Commit

Permalink
feat: Add TS support (untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilya Radchenko committed Feb 13, 2017
1 parent 40b23ee commit 643734f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,10 @@
*/
'use strict';

var processor = require('./processors/js');

module.exports.processors = {
'.js': require('./processors/js')
'.js': processor,
'.ts': processor
};

1 change: 1 addition & 0 deletions lib/processors/js.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ function postprocess(messages, fileName) {

codeBlocksProcessed++;
});
console.log(keep);

return keep;
}
Expand Down

0 comments on commit 643734f

Please sign in to comment.