File size: 819 Bytes
63858e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import * as d3 from 'd3'
import {BaseType, Selection} from "d3";

declare module 'd3-selection' {
    export interface Selection<
        GElement extends BaseType,
        Datum,
        PElement extends BaseType,
        PDatum> 
        {
            toggleClass: (name:string) => Selection<GElement, Datum, PElement, PDatum>
            clear: () => Selection<GElement, Datum, PElement, PDatum>
            show: () => Selection<GElement, Datum, PElement, PDatum>
            hide: () => Selection<GElement, Datum, PElement, PDatum>
            toggle: () => Selection<GElement, Datum, PElement, PDatum>
            after: (tagName:string) => Selection<GElement, Datum, PElement, PDatum>
            before: (tagName:string) => Selection<GElement, Datum, PElement, PDatum>
        }

    export const NoType: any;
}