<commit_before>// Type definitions for react-swipeable 4.0
// Project: https://www.npmjs.com/package/react-swipeable
// Definitions by: <NAME> <https://github.com/GiedriusGrabauskas>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

declare module 'react-swipeable' {
    import * as React from 'react';

    type onSwipingCallback = (event: React.TouchEvent<HTMLElement>, deltaX: number, deltaY: number, absX: number, absY: number, velocity: number) => void;
    type OnSwipedCallback = (event: React.TouchEvent<HTMLElement>, deltaX: number, deltaY: number, isFlick: boolean, velocity: number) => void;
    type OnSwipedDirectionCallback = (event: React.TouchEvent<HTMLElement>, delta: number, isFlick: boolean) => void;
    type OnSwipingDirectionCallback = (event: React.TouchEvent<HTMLElement>, delta: number) => void;
    type OnTapCallback = (event: React.TouchEvent<HTMLElement>) => void;

    interface Props extends React.ClassAttributes<ReactSwipeable>, React.HTMLAttributes<HTMLElement> {
        onSwiped?: OnSwipedCallback;
        onSwiping?: onSwipingCallback;
        onSwipingUp?: OnSwipingDirectionCallback;
        onSwipingRight?: OnSwipingDirectionCallback;
        onSwipingDown?: OnSwipingDirectionCallback;
        onSwipingLeft?: OnSwipingDirectionCallback;
        onSwipedUp?: OnSwipedDirectionCallback;
        onSwipedRight?: OnSwipedDirectionCallback;
        onSwipedDown?: OnSwipedDirectionCallback;
        onSwipedLeft?: OnSwipedDirectionCallback;
        onTap?: OnTapCallback;
        flickThreshold?: number;
        delta?: number;
        preventDefaultTouchmoveEvent?: boolean;
        stopPropagation?: boolean;
        nodeName?: string;
        trackMouse?: boolean;
        children?: React.ReactNode;
    }

    class ReactSwipeable extends React.Component<Props, void> {}
    namespace ReactSwipeable {}

    export = ReactSwipeable;
}<commit_msg>fix single module declaration<commit_after>// Type definitions for react-swipeable 4.0
// Project: https://www.npmjs.com/package/react-swipeable
// Definitions by: <NAME> <https://github.com/GiedriusGrabauskas>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2

import * as React from 'react';

type onSwipingCallback = (event: React.TouchEvent<HTMLElement>, deltaX: number, deltaY: number, absX: number, absY: number, velocity: number) => void;
type OnSwipedCallback = (event: React.TouchEvent<HTMLElement>, deltaX: number, deltaY: number, isFlick: boolean, velocity: number) => void;
type OnSwipedDirectionCallback = (event: React.TouchEvent<HTMLElement>, delta: number, isFlick: boolean) => void;
type OnSwipingDirectionCallback = (event: React.TouchEvent<HTMLElement>, delta: number) => void;
type OnTapCallback = (event: React.TouchEvent<HTMLElement>) => void;

interface Props extends React.ClassAttributes<ReactSwipeable>, React.HTMLAttributes<HTMLElement> {
    onSwiped?: OnSwipedCallback;
    onSwiping?: onSwipingCallback;
    onSwipingUp?: OnSwipingDirectionCallback;
    onSwipingRight?: OnSwipingDirectionCallback;
    onSwipingDown?: OnSwipingDirectionCallback;
    onSwipingLeft?: OnSwipingDirectionCallback;
    onSwipedUp?: OnSwipedDirectionCallback;
    onSwipedRight?: OnSwipedDirectionCallback;
    onSwipedDown?: OnSwipedDirectionCallback;
    onSwipedLeft?: OnSwipedDirectionCallback;
    onTap?: OnTapCallback;
    flickThreshold?: number;
    delta?: number;
    preventDefaultTouchmoveEvent?: boolean;
    stopPropagation?: boolean;
    nodeName?: string;
    trackMouse?: boolean;
    children?: React.ReactNode;
}

declare class ReactSwipeable extends React.Component<Props, void> {}
declare namespace ReactSwipeable {}

export = ReactSwipeable;
{'fraction_non_alphanumeric': 0.1051930758988016, 'fraction_numerical': 0.0021304926764314247, 'mean_word_length': 4.887147335423197, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 33, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6793742', 'n_tokens_mistral': 1139, 'n_tokens_neox': 1144, 'n_words': 250}