@types/split2
Advanced tools
Comparing version 3.2.0 to 3.2.1
@@ -22,3 +22,3 @@ // Type definitions for split2 3.2 | ||
interface Options extends TransformOptions { | ||
maxLength?: number; | ||
maxLength?: number | undefined; | ||
} | ||
@@ -25,0 +25,0 @@ type Matcher = string | RegExp; |
{ | ||
"name": "@types/split2", | ||
"version": "3.2.0", | ||
"version": "3.2.1", | ||
"description": "TypeScript definitions for split2", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/split2", | ||
"license": "MIT", | ||
@@ -24,4 +25,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "b9903f6226b2d1df78a1c9d640e0d97d5fdf48593cc899bd116b91ba43f31388", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "b09a25174c3b0c6b9d006601ae94f9c261c10acd475d36ef0e06c8017bd91c6a", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,36 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/split2. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/split2/index.d.ts) | ||
````ts | ||
// Type definitions for split2 3.2 | ||
// Project: https://github.com/mcollina/split2 | ||
// Definitions by: TANAKA Koichi <https://github.com/mugeso> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/// <reference types="node" /> | ||
import { Transform, TransformOptions } from "stream"; | ||
declare function split(matcher: split.Matcher, Mapper: split.Mapper, options?: split.Options): Transform; | ||
declare function split(mapper: split.Mapper, options?: split.Options): Transform; | ||
// tslint:disable-next-line unified-signatures | ||
declare function split(matcher: split.Matcher, options?: split.Options): Transform; | ||
declare function split(options?: split.Options): Transform; | ||
declare namespace split { | ||
interface Mapper { | ||
(line: string): any; | ||
} | ||
interface Options extends TransformOptions { | ||
maxLength?: number | undefined; | ||
} | ||
type Matcher = string | RegExp; | ||
} | ||
export = split; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 04 May 2021 20:01:25 GMT | ||
* Last updated: Tue, 06 Jul 2021 16:35:11 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +45,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4432
0
48