Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import merge from "utils-merge";
type Result = {a: string, b: number};
let result: Result;
result = merge<{a: string}, {b: number}, Result>({a: ''}, {b: 42});
const watchJsTask = () => {
var args = merge(watchify.args, { debug: true })
var bundler = watchify(browserify(kc.src.js + kc.files.jsApp.srcName, args)).transform(babelify.configure({presets: ["es2015"]}))
bundleJs(bundler)
bundler.on('update', function () {
bundleJs(bundler)
console.log('Bundeled JS Files')
})
}