<commit_before>declare const container: HTMLElement;

// -- h337.HeatmapConfiguration --

{
    const config: h337.HeatmapConfiguration = { container };
    config; // $ExpectType HeatmapConfiguration<"value", "x", "y">
}

{
    const config: h337.HeatmapConfiguration = {
        container,
        xField: 'x',
        yField: 'y',
        valueField: 'value',
    };
}

{
    // $ExpectError
    const config: h337.HeatmapConfiguration = {
        container,
        valueField: 'foo',
    };
}

{
    const config: h337.HeatmapConfiguration<'foo'> = {
        container,
        valueField: 'foo',
    };
    config; // $ExpectType HeatmapConfiguration<"foo", "x", "y">
}

// -- h337.create --
<commit_msg>heatmap.js: Make compatible with ts3.0 (#27393)<commit_after>declare const container: HTMLElement;

// -- h337.HeatmapConfiguration --

{
    const config: h337.HeatmapConfiguration = { container };
    config; // $ExpectType HeatmapConfiguration<"value", "x", "y">
}

{
    const config: h337.HeatmapConfiguration = {
        container,
        xField: 'x',
        yField: 'y',
        valueField: 'value',
    };
}

{
    // $ExpectError
    const config: h337.HeatmapConfiguration = { container, valueField: 'foo' };
}

{
    const config: h337.HeatmapConfiguration<'foo'> = {
        container,
        valueField: 'foo',
    };
    config; // $ExpectType HeatmapConfiguration<"foo", "x", "y">
}

// -- h337.create --

{'fraction_non_alphanumeric': 0.15561758548499652, 'fraction_numerical': 0.030006978367062107, 'mean_word_length': 2.585, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '5269719', 'n_tokens_mistral': 497, 'n_tokens_neox': 458, 'n_words': 91}