installed pty
[VSoRC/.git] / node_modules / node-pty / src / utils.ts
diff --git a/node_modules/node-pty/src/utils.ts b/node_modules/node-pty/src/utils.ts
new file mode 100644 (file)
index 0000000..6306c8b
--- /dev/null
@@ -0,0 +1,9 @@
+/**
+ * Copyright (c) 2017, Daniel Imms (MIT License).
+ * Copyright (c) 2018, Microsoft Corporation (MIT License).
+ */
+
+export function assign(target: any, ...sources: any[]): any {
+  sources.forEach(source => Object.keys(source).forEach(key => target[key] = source[key]));
+  return target;
+}