@types/split2
Advanced tools
Comparing version 3.2.1 to 4.2.0
@@ -1,2 +0,2 @@ | ||
// Type definitions for split2 3.2 | ||
// Type definitions for split2 4.2 | ||
// Project: https://github.com/mcollina/split2 | ||
@@ -24,5 +24,5 @@ // Definitions by: TANAKA Koichi <https://github.com/mugeso> | ||
} | ||
type Matcher = string | RegExp; | ||
type Matcher = string | RegExp | { [Symbol.split](string: string, limit?: number): string[]; }; | ||
} | ||
export = split; |
{ | ||
"name": "@types/split2", | ||
"version": "3.2.1", | ||
"version": "4.2.0", | ||
"description": "TypeScript definitions for split2", | ||
@@ -25,4 +25,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/split2", | ||
}, | ||
"typesPublisherContentHash": "b09a25174c3b0c6b9d006601ae94f9c261c10acd475d36ef0e06c8017bd91c6a", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "143efeab63c4715c58b032a5b7f0c28221eea6f4f9dade60348f9bbe5c1628f1", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
````ts | ||
// Type definitions for split2 3.2 | ||
// Type definitions for split2 4.2 | ||
// Project: https://github.com/mcollina/split2 | ||
@@ -35,3 +35,3 @@ // Definitions by: TANAKA Koichi <https://github.com/mugeso> | ||
} | ||
type Matcher = string | RegExp; | ||
type Matcher = string | RegExp | { [Symbol.split](string: string, limit?: number): string[]; }; | ||
} | ||
@@ -44,3 +44,3 @@ | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 16:35:11 GMT | ||
* Last updated: Tue, 18 Apr 2023 23:02:45 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -47,0 +47,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
4560