{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/91202058","pull_request_review_id":11712001,"id":91202058,"diff_hunk":"@@ -1,78 +1,401 @@\n-// Type definitions for D3JS d3-chord module v1.0.2\n+// Type definitions for D3JS d3-chord module 1.0\n // Project: https://github.com/d3/d3-chord/\n // Definitions by: Tom Wanzek <https://github.com/tomwanzek>, Alex Ford <https://github.com/gustavderdrache>, Boris Yankov <https://github.com/borisyankov>\n // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n \n+// Last module patch version validated against: 1.0.3\n+\n // ---------------------------------------------------------------------\n // Chord\n // ---------------------------------------------------------------------\n \n+/**\n+ * A chord subgroup serving as source or target of a chord between two nodes i an j (where i may be equal to j).\n+ */\n export interface ChordSubgroup {\n+    /**\n+     * Start angle of the chord subgroup in radians\n+     */\n     startAngle: number;\n+\n+    /***\n+     * End angle of the chord subgroup in radians\n+     */\n     endAngle: number;\n+\n+    /**\n+     * The flow value in matrix[i][j] from node i to node j\n+     */\n     value: number;\n+\n+    /**\n+     * The node index i\n+     */\n     index: number;\n+\n+    /**\n+     * The node index j\n+     */\n     subindex: number;\n }\n \n+/**\n+ * A chord represents the combined bidirectional flow between two nodes i and j (where i may be equal to j)\n+ */\n export interface Chord {\n+    /**\n+     * Chord subgroup constituting the sodurce of Chord\n+     */\n     source: ChordSubgroup;\n+    /**\n+     * Chord subgroup constituting the Target of Chord\n+     */\n     target: ChordSubgroup;\n }\n \n+/**\n+ * A chord group for a given node i representing the combined outflow for node i,\n+ * corresponding to the elements matrix[i][0 … n - 1].\n+ */\n export interface ChordGroup {\n+    /**\n+     * The start angle of the chord group in radians\n+     */\n     startAngle: number;\n+\n+    /**\n+     * The end angle of the chord group in radians\n+     */\n     endAngle: number;\n+\n+    /**\n+     * The total outgoing flow value for node i\n+     */\n     value: number;\n+\n+    /**\n+     * The node index i\n+     */\n     index: number;\n }\n \n+/**\n+ * An array of chords, where each chord represents the combined bidirectional flow between two nodes i and j (where i may be equal to j).\n+ * The chords are based on a (n x n) matrix of flows between nodes.\n+ *\n+ * The chords are typically passed to d3.ribbon to display the network relationships.\n+ * The returned array includes only chord objects for which the value matrix[i][j] or matrix[j][i] is non-zero.\n+ * Furthermore, the returned array only contains unique chords: a given chord ij represents the bidirectional flow from i to j and from j to i,\n+ * and does not contain a duplicate chord ji; i and j are chosen such that the chord’s source always represents the larger of matrix[i][j] and matrix[j][i].\n+ * In other words, chord.source.index equals chord.target.subindex, chord.source.subindex equals chord.target.index,\n+ * chord.source.value is greater than or equal to chord.target.value, and chord.source.value is always greater than zero.\n+ */\n export interface Chords extends Array<Chord> {\n-    groups: Array<ChordGroup>;\n+    /**\n+     * An array of length n, where each group represents the combined outflow for node i,\n+     * corresponding to the elements matrix[i][0 … n - 1]\n+     */\n+    groups: ChordGroup[];\n }\n \n+/**\n+ * A D3 chord diagram Layout to visualize relationships or network flow with an aesthetically-pleasing circular layout.\n+ *\n+ * The relationships are represented as a square matrix of size n×n, where the matrix represents the directed flow amongst a network (a complete digraph) of n nodes.\n+ */\n export interface ChordLayout {\n+    /**\n+     * Computes the chord layout for the specified square matrix of size n×n, where the matrix represents the directed flow amongst a network (a complete digraph) of n nodes.\n+     *\n+     * @param matrix An (n x n) matrix representing the directed flow amongst a network (a complete digraph) of n nodes.The given matrix must be an array of length n,\n+     * where each element matrix[i] is an array of n numbers, where each matrix[i][j] represents the flow from the ith node in the network to the jth node.\n+     * Each number matrix[i][j] must be nonnegative, though it can be zero if there is no flow from node i to node j.\n+     */\n     (matrix: number[][]): Chords;\n+\n+    /**\n+     * Returns the current pad angle in radians, which defaults to zero.\n+     */\n     padAngle(): number;\n+    /**\n+     * Sets the pad angle between adjacent groups to the specified number in radians and returns this chord layout.\n+     *\n+     * The default is zero.\n+     *\n+     * @param angle Pad angle between adjecent groups in radians.\n+     */\n     padAngle(angle: number): this;\n+\n+    /**\n+     * Returns the current group comparator, which defaults to null.\n+     */\n     sortGroups(): ((a: number, b: number) => number) | null;\n+    /**\n+     * Removes the current group comparator and returns this chord layout.\n+     *\n+     * @param compare Use null to remove the current comparator function, if any.\n+     */\n     sortGroups(compare: null): this;\n+    /**\n+     * Sets the group comparator to the specified function and returns this chord layout.\n+     *\n+     * If the group comparator is non-null, it is used to sort the groups by their total outflow. See also d3.ascending and d3.descending.\n+     *\n+     * @param compare A comparator function, e.g. d3.ascending or d3.descending.\n+     */\n     sortGroups(compare: (a: number, b: number) => number): this;\n+\n+    /**\n+     * Returns the current subgroup comparator, which defaults to null.\n+     */\n     sortSubgroups(): ((a: number, b: number) => number) | null;\n+    /**\n+     * Removes the current subgroup comparator and returns this chord layout.\n+     *\n+     * @param compare Use null to remove the current comparator function, if any.\n+     */\n     sortSubgroups(compare: null): this;\n+    /**\n+     * Sets the subgroup comparator to the specified function and returns this chord layout.\n+     *\n+     * If the subgroup comparator is non-null, it is used to sort the subgroups corresponding to matrix[i][0 … n - 1]\n+     * for a given group i by their total outflow. See also d3.ascending and d3.descending.\n+     *\n+     * @param compare A comparator function, e.g. d3.ascending or d3.descending.\n+     */\n     sortSubgroups(compare: (a: number, b: number) => number): this;\n+\n+    /**\n+     * Returns the current chord comparator, which defaults to null.\n+     */\n     sortChords(): ((a: number, b: number) => number) | null;\n+    /**\n+     * Removes the current chord comparator and returns this chord layout.\n+     *\n+     * @param compare Use null to remove the current comparator function, if any.\n+     */\n     sortChords(compare: null): this;\n+    /**\n+     * Sets the chord comparator to the specified function and returns this chord layout.\n+     *\n+     * If the chord comparator is non-null, it is used to sort the chords by their combined flow; this only affects the z-order of the chords.\n+     * See also d3.ascending and d3.descending.\n+     *\n+     * @param compare A comparator function, e.g. d3.ascending or d3.descending.\n+     */\n     sortChords(compare: (a: number, b: number) => number): this;\n }\n \n+/**\n+ * Constructs a new chord diagram layout with the default settings.\n+ */\n export function chord(): ChordLayout;\n \n // ---------------------------------------------------------------------\n // Ribbon\n // ---------------------------------------------------------------------\n \n+/**\n+ * A minimal interface to support the default accessors used by RibbonGenerator for properties of\n+ * source and target objects of a Ribbon.\n+ *\n+ * (Corresponds to ChordSubgroup)\n+ */\n+export interface RibbonSubgroup {\n+    /**\n+     * Start angle of the ribbon subgroup in radians\n+     */\n+    startAngle: number;\n+    /**\n+     * End angle of the ribbon subgroup in radians\n+     */\n+    endAngle: number;\n+    /**\n+     * Radius of the ribbon subgroup\n+     */\n+    radius: number;\n+}\n+\n+/**\n+ * A minimal interface to support the default source and target accessors used by RibbonGenerator.\n+ * (Corresponds to Chord)\n+ */\n+export interface Ribbon {\n+    /**\n+     * Ribbon subgroup constituting the source of the Ribbon\n+     */\n+    source: RibbonSubgroup;\n+    /**\n+     * Ribbon subgroup constituting the target of the Ribbon\n+     */\n+    target: RibbonSubgroup;\n+}\n+\n+/**\n+ *\n+ * A ribbon generator to suport rendering of chords in a chord diagram.\n+ *\n+ * The first generic corresponds to the type of the \"this\" context within which the ribbon generator and its accessor functions will be invoked.\n+ *\n+ * The second generic corresponds to the datum type representing a chord for which the ribbon is to be generated. The default type is Ribbon.\n+ *\n+ * The third generic corresponds to the datum type of the chord subgroup, i.e. source or target of the cord. The default type is RibbonSubgroup.\n+ */\n+export interface RibbonGenerator<This, RibbonDatum, RibbonSubgroupDatum> {\n+    /**\n+     * Generates a ribbon for the given arguments.\n+     *\n+     * IMPORTANT: If the ribbon generator has been configured with a rendering context,\n+     * then the ribbon is rendered to this context as a sequence of path method calls and this function returns void.\n+     *\n+     * The \"this\" context within which this function is invoked, will be the context within which the accessor methods of the generator are invoked.\n+     * All arguments passed into this function, will be passed to the accessor functions of the generator.\n+     *\n+     * @param d The datum representing the chord for which the ribbon is to be generated.\n+     */\n+    (this: This, d: RibbonDatum, ...args: any[]): void;\n+    /**\n+     * Generates a ribbon for the given arguments.\n+     *\n+     * IMPORTANT: If the rendering context of the ribbon generator is null,\n+     * then the ribbon is returned as a path data string.\n+     *\n+     * The \"this\" context within which this function is invoked, will be the context within which the accessor methods of the generator are invoked.\n+     * All arguments passed into this function, will be passed to the accessor functions of the generator.\n+     *\n+     * @param d The datum representing the chord for which the ribbon is to be generated.\n+     */\n+    (this: This, d: RibbonDatum, ...args: any[]): string | null;\n \n-export interface RibbonGenerator<This, ChordDatum, ChordSubgroupDatum> {\n-    (this: This, d: ChordDatum, ...args: any[]): string | undefined;\n-    source(): (this: This, d: ChordDatum, ...args: any[]) => ChordSubgroupDatum;\n-    source(source: (this: This, d: ChordDatum, ...args: any[]) => ChordSubgroupDatum): this;\n-    target(): (this: This, d: ChordDatum, ...args: any[]) => ChordSubgroupDatum;\n-    target(target: (this: This, d: ChordDatum, ...args: any[]) => ChordSubgroupDatum): this;\n-    radius(): (this: This, d: ChordSubgroupDatum, ...args: any[]) => number;\n+    /**\n+     * Returns the current source accessor, which defaults to a function returning the \"source\" property of the first argument passed into the accessor.\n+     */\n+    source(): (this: This, d: RibbonDatum, ...args: any[]) => RibbonSubgroupDatum;\n+    /**\n+     * Sets the source accessor to the specified function and returns this ribbon generator.\n+     *\n+     * @param source An accessor function returning the source datum of the chord. The accessor function is invoked in the same \"this\" context as the generator was invoked in and\n+     * receives the same arguments that were passed into the ribbon generator.\n+     */\n+    source(source: (this: This, d: RibbonDatum, ...args: any[]) => RibbonSubgroupDatum): this;\n+\n+    /**\n+     * Returns the current target accessor, which defaults to a function returning the \"target\" property of the first argument passed into the accessor.\n+     */\n+    target(): (this: This, d: RibbonDatum, ...args: any[]) => RibbonSubgroupDatum;\n+    /**\n+     * Sets the target accessor to the specified function and returns this ribbon generator.\n+     *\n+     * @param target An accessor function returning the target datum of the chord. The accessor function is invoked in the same \"this\" context as the generator was invoked in and\n+     * receives the same arguments that were passed into the ribbon generator.\n+     */\n+    target(target: (this: This, d: RibbonDatum, ...args: any[]) => RibbonSubgroupDatum): this;\n+\n+    /**\n+     * Returns the current radius accessor, which defaults to a function returning the \"radius\" property (assumed to be a number) of the source or\n+     * target object returned by the source or target accessor, respectively.\n+     */\n+    radius(): (this: This, d: RibbonSubgroupDatum, ...args: any[]) => number;\n+    /**\n+     * Sets the radius to a fixed number and returns this ribbon generator.\n+     *\n+     * @param radius A fixed numeric value for the radius.\n+     */\n     radius(radius: number): this;\n-    radius(radius: (this: This, d: ChordSubgroupDatum, ...args: any[]) => number): this;\n-    startAngle(): (this: This, d: ChordSubgroupDatum, ...args: any[]) => number;\n+    /**\n+     * Sets the radius accessor to the specified function and returns this ribbon generator.\n+     *\n+     * @param radius An accessor function which is invoked for the source and target of the chord. The accessor function is invoked in the same \"this\" context as the generator was invoked in and\n+     * receives as the first argument the source or target object returned by the respective source or target accessor function of the generator. It is also passed any additional arguments that were passed\n+     * into the generator, with the exception of the first element representing the chord datum itself. The function returns the radius value.\n+     */\n+    radius(radius: (this: This, d: RibbonSubgroupDatum, ...args: any[]) => number): this;\n+\n+    /**\n+     * Returns the current start angle accessor, which defaults to a function returning the \"startAngle\" property (assumed to be a number in radians) of the source or\n+     * target object returned by the source or target accessor, respectively.\n+     */\n+    startAngle(): (this: This, d: RibbonSubgroupDatum, ...args: any[]) => number;\n+    /**\n+     * Sets the start angle to a fixed number in radians and returns this ribbon generator.\n+     *\n+     * @param angle A fixed numeric value for the start angle in radians.\n+     */\n     startAngle(angle: number): this;\n-    startAngle(angle: (this: This, d: ChordSubgroupDatum, ...args: any[]) => number): this;\n-    endAngle(): (this: This, d: ChordSubgroupDatum, ...args: any[]) => number;\n+    /**\n+     * Sets the start angle accessor to the specified function and returns this ribbon generator.\n+     *\n+     * @param angle An accessor function which is invoked for the source and target of the chord. The accessor function is invoked in the same \"this\" context as the generator was invoked in and\n+     * receives as the first argument the source or target object returned by the respective source or target accessor function of the generator. It is also passed any additional arguments that were passed\n+     * into the generator, with the exception of the first element representing the chord datum itself. The function returns the start angle in radians.\n+     */\n+    startAngle(angle: (this: This, d: RibbonSubgroupDatum, ...args: any[]) => number): this;\n+\n+    /**\n+     * Returns the current end angle accessor, which defaults to a function returning the \"endAngle\" property (assumed to be a number in radians) of the source or\n+     * target object returned by the source or target accessor, respectively.\n+     */\n+    endAngle(): (this: This, d: RibbonSubgroupDatum, ...args: any[]) => number;\n+    /**\n+     * Sets the end angle to a fixed number in radians and returns this ribbon generator.\n+     *\n+     * @param angle A fixed numeric value for the end angle in radians.\n+     */\n     endAngle(angle: number): this;\n-    endAngle(angle: (this: This, d: ChordSubgroupDatum, ...args: any[]) => number): this;\n+    /**\n+     * Sets the end angle accessor to the specified function and returns this ribbon generator.\n+     *\n+     * @param angle An accessor function which is invoked for the source and target of the chord. The accessor function is invoked in the same \"this\" context as the generator was invoked in and\n+     * receives as the first argument the source or target object returned by the respective source or target accessor function of the generator. It is also passed any additional arguments that were passed\n+     * into the generator, with the exception of the first element representing the chord datum itself. The function returns the end angle in radians.\n+     */\n+    endAngle(angle: (this: This, d: RibbonSubgroupDatum, ...args: any[]) => number): this;\n+\n+    /**\n+     * Returns the current rendering context, which defaults to null.\n+     */\n     context(): CanvasRenderingContext2D | null;\n+    /**\n+     * Sets the rendering context and returns this ribbon generator.\n+     *\n+     * If the context is not null, then the generated ribbon is rendered to this context as a sequence of path method calls.\n+     *\n+     * @param context The rendering context.\n+     */\n     context(context: CanvasRenderingContext2D): this;\n+    /**\n+     * Sets the rendering context to null and returns this ribbon generator.\n+     *\n+     * A path data string representing the generated ribbon will be returned when the generator is invoked with data. See also d3-path.\n+     *\n+     * @param context null, to remove rendering context.\n+     */\n     context(context: null): this;\n }\n \n-export function ribbon(): RibbonGenerator<any, Chord, ChordSubgroup>;\n+/**\n+ * Creates a new ribbon generator with the default settings.\n+ */\n+export function ribbon(): RibbonGenerator<any, Ribbon, RibbonSubgroup>;\n+/**\n+ * Creates a new ribbon generator with the default settings.\n+ *\n+ * Accessor functions must be configured for the ribbon generator, should the datum types differ from the defaults.\n+ *\n+ * The first generic corresponds to the datum type representing a chord for which the ribbon is to be generated. The default type is Chord.\n+ *\n+ * The second generic corresponds to the datum type of the chord subgroup, i.e. source or target of the cord. The default type is ChordSubgroup.\n+ */\n export function ribbon<Datum, SubgroupDatum>(): RibbonGenerator<any, Datum, SubgroupDatum>;","path":"d3-chord/index.d.ts","position":404,"original_position":404,"commit_id":"2477e238a5951578050adee562a539c91ab5e8e7","original_commit_id":"33818870dff7db126ff2e92ce508f1bd65c7e2ae","user":{"login":"gustavderdrache","id":194893,"avatar_url":"https://avatars.githubusercontent.com/u/194893?v=3","gravatar_id":"","url":"https://api.github.com/users/gustavderdrache","html_url":"https://github.com/gustavderdrache","followers_url":"https://api.github.com/users/gustavderdrache/followers","following_url":"https://api.github.com/users/gustavderdrache/following{/other_user}","gists_url":"https://api.github.com/users/gustavderdrache/gists{/gist_id}","starred_url":"https://api.github.com/users/gustavderdrache/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gustavderdrache/subscriptions","organizations_url":"https://api.github.com/users/gustavderdrache/orgs","repos_url":"https://api.github.com/users/gustavderdrache/repos","events_url":"https://api.github.com/users/gustavderdrache/events{/privacy}","received_events_url":"https://api.github.com/users/gustavderdrache/received_events","type":"User","site_admin":false},"body":"D'oh, I keep forgetting about canvases. I guess `any` works better than... `void | {}`, I think it would be?","created_at":"2016-12-07T00:10:38Z","updated_at":"2016-12-07T00:10:38Z","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12923#discussion_r91202058","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/91202058"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12923#discussion_r91202058"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923"}}},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923","id":95355486,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12923","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12923.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12923.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12923","number":12923,"state":"open","locked":false,"title":"[types-2.0] D3 Batch 2 with strictNullChecks, JSDoc and Fixes","user":{"login":"tomwanzek","id":16323903,"avatar_url":"https://avatars.githubusercontent.com/u/16323903?v=3","gravatar_id":"","url":"https://api.github.com/users/tomwanzek","html_url":"https://github.com/tomwanzek","followers_url":"https://api.github.com/users/tomwanzek/followers","following_url":"https://api.github.com/users/tomwanzek/following{/other_user}","gists_url":"https://api.github.com/users/tomwanzek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomwanzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomwanzek/subscriptions","organizations_url":"https://api.github.com/users/tomwanzek/orgs","repos_url":"https://api.github.com/users/tomwanzek/repos","events_url":"https://api.github.com/users/tomwanzek/events{/privacy}","received_events_url":"https://api.github.com/users/tomwanzek/received_events","type":"User","site_admin":false},"body":"Please fill in this template.\r\n\r\n- [x] Prefer to make your PR against the `types-2.0` branch.\r\n- [x] Test the change in your own code.\r\n- [x] Follow the advice from the [readme](https://github.com/DefinitelyTyped/DefinitelyTyped#make-a-pull-request).\r\n- [x] Avoid [common mistakes](https://github.com/DefinitelyTyped/DefinitelyTyped#common-mistakes).\r\n- [x] Run `npm run lint -- package-name` if a `tslint.json` is present.\r\n\r\nIf adding a new definition:\r\n- [ ] The package does not provide its own types, and you can not add them.\r\n- [ ] If this is for an NPM package, match the name. If not, do not conflict with the name of an NPM package.\r\n- [ ] Run `tsc` without errors.\r\n- [ ] Include the required [files](https://github.com/DefinitelyTyped/DefinitelyTyped#create-a-new-package) and header. Base these on the README, *not* on an existing project.\r\n\r\nIf changing an existing definition:\r\n- [x] Provide a URL to documentation or source code which provides context for the suggested changes: <<url here>>\r\n- [x] Increase the version number in the header if appropriate.\r\n\r\nRelated to issues: #11365 and #11366 \r\n\r\nChanges by Module included in this batch:\r\n* **(d3-path) [Chore]** Added complete JSDoc comments\r\n* **(d3-path) [Enhancement]** Validated and activated for use with `strictNullChecks`\r\n* **(d3-chord) [BREAKING FIX]** Added additional interfaces `Ribbon` and `RibbonSubgroup` to reflect the interfaces actually assumed by default by `RibbonGenerator`. While the API documentation refers to passing in a Chord object when invoking the `RibbonGenerator` by default, this actually means the default radius accessor returns undefined, which is then coerced to `NaN`. To avoid this \"silent\" fail, `Ribbon` and `RibbonSubgroup` are now used as the datum types returned by the default `ribbon()` factory without explicit generics. This is a purposely accepted breaking change, as it means that passing in a Chord object will now fail. The correct way, will be to use the generics of the `ribbon<...>()` factory to cast the datum type to work with Chord. This should serve as a mental cue to  ensure the accessors are customized accordingly. E.g. by setting a constant radius.\r\n* **(d3-chord) [Chore]**: Added JSDoc comments\r\n* **(d3-chord) [Enhancement]:** Validated, updated and activated for use with `strictNullChecks`. Note,in particular the updated signatures for invoking the `RibbonGenerator`. These are now overloaded with one returning `void` (canvas context), and the other returning `string | null`, where the rendering context is `null`. Note that the API suggests a string is returned in this case, however, it may actually return `null` as well as per source code. It is at the developers discretion to ensure return value expectations correspond to rendering context.\r\n* **(d3-chord) [Chore]** Updated tests and bumped patch version number to indicate which version was last fully reviewed.","created_at":"2016-11-26T00:13:43Z","updated_at":"2016-12-07T00:10:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cd439a627c973f41a015d3c4f87b059f1d23b373","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12923/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/2477e238a5951578050adee562a539c91ab5e8e7","head":{"label":"tomwanzek:d3-strict-and-jsdoc","ref":"d3-strict-and-jsdoc","sha":"2477e238a5951578050adee562a539c91ab5e8e7","user":{"login":"tomwanzek","id":16323903,"avatar_url":"https://avatars.githubusercontent.com/u/16323903?v=3","gravatar_id":"","url":"https://api.github.com/users/tomwanzek","html_url":"https://github.com/tomwanzek","followers_url":"https://api.github.com/users/tomwanzek/followers","following_url":"https://api.github.com/users/tomwanzek/following{/other_user}","gists_url":"https://api.github.com/users/tomwanzek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomwanzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomwanzek/subscriptions","organizations_url":"https://api.github.com/users/tomwanzek/orgs","repos_url":"https://api.github.com/users/tomwanzek/repos","events_url":"https://api.github.com/users/tomwanzek/events{/privacy}","received_events_url":"https://api.github.com/users/tomwanzek/received_events","type":"User","site_admin":false},"repo":{"id":63460929,"name":"DefinitelyTyped","full_name":"tomwanzek/DefinitelyTyped","owner":{"login":"tomwanzek","id":16323903,"avatar_url":"https://avatars.githubusercontent.com/u/16323903?v=3","gravatar_id":"","url":"https://api.github.com/users/tomwanzek","html_url":"https://github.com/tomwanzek","followers_url":"https://api.github.com/users/tomwanzek/followers","following_url":"https://api.github.com/users/tomwanzek/following{/other_user}","gists_url":"https://api.github.com/users/tomwanzek/gists{/gist_id}","starred_url":"https://api.github.com/users/tomwanzek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomwanzek/subscriptions","organizations_url":"https://api.github.com/users/tomwanzek/orgs","repos_url":"https://api.github.com/users/tomwanzek/repos","events_url":"https://api.github.com/users/tomwanzek/events{/privacy}","received_events_url":"https://api.github.com/users/tomwanzek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tomwanzek/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped","forks_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/tomwanzek/DefinitelyTyped/deployments","created_at":"2016-07-16T02:07:41Z","updated_at":"2016-07-16T02:07:48Z","pushed_at":"2016-12-06T21:26:41Z","git_url":"git://github.com/tomwanzek/DefinitelyTyped.git","ssh_url":"git@github.com:tomwanzek/DefinitelyTyped.git","clone_url":"https://github.com/tomwanzek/DefinitelyTyped.git","svn_url":"https://github.com/tomwanzek/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":151923,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DefinitelyTyped:types-2.0","ref":"types-2.0","sha":"e7ee7e506074440f8c60e75271528a5c2b4cb415","user":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"DefinitelyTyped/DefinitelyTyped","owner":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","forks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/deployments","created_at":"2012-10-05T16:39:45Z","updated_at":"2016-12-07T00:03:34Z","pushed_at":"2016-12-06T23:47:36Z","git_url":"git://github.com/DefinitelyTyped/DefinitelyTyped.git","ssh_url":"git@github.com:DefinitelyTyped/DefinitelyTyped.git","clone_url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","svn_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":255024,"stargazers_count":9109,"watchers_count":9109,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7253,"mirror_url":null,"open_issues_count":1194,"forks":7253,"open_issues":1194,"watchers":9109,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/12923"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12923"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/12923/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/12923/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/2477e238a5951578050adee562a539c91ab5e8e7"}}}}
{"actor":{"display_login":"gustavderdrache"}}