typescript - Prebrisati koa-body definiciju tipa


Kako mogu nadjačati definiciju tipa za koa-body? koa-body ima definiciju tipa ovako:

declare module "koa" {
    interface Request {
        body: any;
    }
    interface Context {
        body: any;
    }
}

Želim nadjačati u nešto poput ovoga (datoteka index.d.ts):

import { Files } from 'formidable'

interface IBody {
  files: Files
}

declare module "koa" {
  interface Request {
    body: IBody
  }

  interface Context {
    body: IBody
  }
}

Ali IntelliSense ne radi, još uvijek pokazuje da je ctx.request.body any. Što bih trebao učiniti?