<commit_before>// Type definitions for react-adal 0.4
// Project: https://github.com/salvoravida/react-adal#readme
// Definitions by: <NAME> <https://github.com/dkorolev1>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as React from 'react';

export type TokenCallback = (errorDesc: string | null, token: string | null, error: any) => void;

export type UserCallback = (errorDesc: string | null, user: UserInfo | null) => void;

export interface AdalConfig {<commit_msg>React-adal - source lib version update (#44780)<commit_after>// Type definitions for react-adal 0.5
// Project: https://github.com/salvoravida/react-adal
// Definitions by: <NAME> <https://github.com/dkorolev1>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8

import * as React from 'react';

export type TokenCallback = (errorDesc: string | null, token: string | null, error: any) => void;

export type UserCallback = (errorDesc: string | null, user: UserInfo | null) => void;

export interface AdalConfig {
{'fraction_non_alphanumeric': 0.13691026827012026, 'fraction_numerical': 0.013876040703052728, 'mean_word_length': 4.606217616580311, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, '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': '2823531', 'n_tokens_mistral': 340, 'n_tokens_neox': 328, 'n_words': 99}