Removed useless interface in split
This commit is contained in:
parent
7ab8541cf6
commit
a45a144854
@ -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" },
|
||||||
|
Loading…
Reference in New Issue
Block a user