added missing type hints

This commit is contained in:
martinmcwhorter
2014-08-04 15:38:01 +01:00
parent f2d7f68db3
commit 9132181298
+2 -2
View File
@@ -89,9 +89,9 @@ exports.exports = function(grunt: IGrunt) {
});
// Iterate over all specified file groups.
this.files.forEach(function(f) {
this.files.forEach(function(f: grunt.file.IFilesConfig) {
// Concat specified files.
var src = f.src.filter(function(filepath) {
var src = f.src.filter(function(filepath: string) {
// Warn on and remove invalid source files (if nonull was set).
if (!grunt.file.exists(filepath)) {
grunt.log.warn('Source file "' + filepath + '" not found.');