@types/parsimmon
Advanced tools
Comparing version 1.10.0 to 1.10.1
@@ -9,4 +9,5 @@ // Type definitions for Parsimmon 1.10 | ||
// Jonathan Frere <https://github.com/MrJohz> | ||
// Isaac Huang <https://github.com/caasi> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
// TypeScript Version: 3.0 | ||
@@ -256,2 +257,4 @@ /** | ||
type UnParser<T> = T extends Parser<infer U> ? U : never; | ||
/** | ||
@@ -393,3 +396,3 @@ * Alias of `Parsimmon(fn)` for backwards compatibility. | ||
function seq<T>(...parsers: Array<Parser<T>>): Parser<T[]>; | ||
function seq(...parsers: Array<Parser<any>>): Parser<any[]>; | ||
function seq<T extends any[]>(...parsers: T): Parser<UnParser<T>>; | ||
@@ -419,2 +422,8 @@ /** | ||
cb: (a1: T, a2: U, a3: V, a4: W, a5: X, a6: Y, a7: Z, a8: A) => B): Parser<B>; | ||
function seqMap<T, U, V, W, X, Y, Z, A, B, C>( | ||
p1: Parser<T>, p2: Parser<U>, p3: Parser<V>, p4: Parser<W>, p5: Parser<X>, p6: Parser<Y>, p7: Parser<Z>, p8: Parser<A>, p9: Parser<B>, | ||
cb: (a1: T, a2: U, a3: V, a4: W, a5: X, a6: Y, a7: Z, a8: A, a9: B) => C): Parser<C>; | ||
function seqMap<T, U, V, W, X, Y, Z, A, B, C, D>( | ||
p1: Parser<T>, p2: Parser<U>, p3: Parser<V>, p4: Parser<W>, p5: Parser<X>, p6: Parser<Y>, p7: Parser<Z>, p8: Parser<A>, p9: Parser<B>, p10: Parser<C>, | ||
cb: (a1: T, a2: U, a3: V, a4: W, a5: X, a6: Y, a7: Z, a8: A, a9: B, a10: C) => D): Parser<D>; | ||
@@ -421,0 +430,0 @@ function seqObj<T, Key extends keyof T = keyof T>(...args: Array<[Key, Parser<T[Key]>] | Parser<any>>): Parser<{ [K in Key]: T[K] }>; |
{ | ||
"name": "@types/parsimmon", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"description": "TypeScript definitions for Parsimmon", | ||
@@ -36,13 +36,20 @@ "license": "MIT", | ||
"githubUsername": "MrJohz" | ||
}, | ||
{ | ||
"name": "Isaac Huang", | ||
"url": "https://github.com/caasi", | ||
"githubUsername": "caasi" | ||
} | ||
], | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/parsimmon" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "ba134b826496b3008820f60d348849fb0b2a8415bd346e81013b1fa47951fd41", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "d053ce58001551680a7a2adc56aeee6b2c4e2aced9b0f9f1c048e645177f9288", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -8,6 +8,6 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parsimmon | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parsimmon. | ||
Additional Details | ||
* Last updated: Tue, 26 Jun 2018 01:10:51 GMT | ||
### Additional Details | ||
* Last updated: Wed, 22 Jan 2020 17:57:39 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, Mizunashi Mana <https://github.com/mizunashi-mana>, Boris Cherny <https://github.com/bcherny>, Benny van Reeven <https://github.com/bvanreeven>, Leonard Thieu <https://github.com/leonard-thieu>, Jonathan Frere <https://github.com/MrJohz>. | ||
These definitions were written by Bart van der Schoor (https://github.com/Bartvds), Mizunashi Mana (https://github.com/mizunashi-mana), Boris Cherny (https://github.com/bcherny), Benny van Reeven (https://github.com/bvanreeven), Leonard Thieu (https://github.com/leonard-thieu), Jonathan Frere (https://github.com/MrJohz), and Isaac Huang (https://github.com/caasi). |
Sorry, the diff of this file is not supported yet
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
24769
543