Removed useless interface in split

This commit is contained in:
Lewis Diamond 2019-12-02 16:16:43 -05:00
parent 7ab8541cf6
commit a45a144854

View File

@ -2,10 +2,6 @@ import { Transform } from "stream";
import { StringDecoder } from "string_decoder"; import { StringDecoder } from "string_decoder";
import { WithEncoding } from "./baseDefinitions"; import { WithEncoding } from "./baseDefinitions";
interface SplitParams {
separator?: string | RegExp;
options?: WithEncoding;
}
export function split( export function split(
separator: string | RegExp = "\n", separator: string | RegExp = "\n",
options: WithEncoding = { encoding: "utf8" }, options: WithEncoding = { encoding: "utf8" },