diff --git a/README.md b/README.md index 3e33b79..0bfd489 100644 --- a/README.md +++ b/README.md @@ -49,10 +49,8 @@ Run with: export function suite(meta: ImportMeta, define: (test: DefineTest) => void): void /** Describe a test */ -export interface Describe { - /** Define a test */ - (name: string, run: ()=> void | Promise): void -} +export type Describe = + (name: string, run: () => void | Promise): void /** Define a test suite */ export interface DefineTest extends Describe {