<commit_before>// Type definitions for serve-index v1.7.2
// Project: https://github.com/expressjs/serve-index
// Definitions by: <NAME> <https://github.com/tkrotoff>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

declare module 'serve-index' {
  import * as express from 'express';
  import * as fs from 'fs';

  namespace serveIndex {
    interface File {
      name: string;
      stat: fs.Stats;
    }

    interface Locals {
      directory: string;
      displayIcons: boolean;
      fileList: Array<File>;
      name: string;<commit_msg>Fix "Cannot find module 'express'" error<commit_after>// Type definitions for serve-index v1.7.2
// Project: https://github.com/expressjs/serve-index
// Definitions by: <NAME> <https://github.com/tkrotoff>
// Definitions: https://github.com/borisyankov/DefinitelyTyped

/// <reference path="../express/express.d.ts" />

declare module 'serve-index' {
  import * as express from 'express';
  import * as fs from 'fs';

  namespace serveIndex {
    interface File {
      name: string;
      stat: fs.Stats;
    }

    interface Locals {
      directory: string;
      displayIcons: boolean;
      fileList: Array<File>;
      name: string;
{'fraction_non_alphanumeric': 0.13261050875729774, 'fraction_numerical': 0.0050041701417848205, 'mean_word_length': 3.0133779264214047, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, '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': '2334411', 'n_tokens_mistral': 371, 'n_tokens_neox': 365, 'n_words': 97}