Skip to content

Commit

Permalink
Change Koa openSegment middleware declaration return type to match ex…
Browse files Browse the repository at this point in the history
…pected Koa.Middleware type (#525)

* Change openSegment middleware declaration return type

* fix lint error
  • Loading branch information
carolabadeer authored Aug 8, 2022
1 parent bf0f26e commit 95602ca
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sdk_contrib/koa/lib/koa_mw.d.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export function openSegment(defaultName: string): Function;
import { Middleware } from 'koa';

export function openSegment(defaultName: string): Middleware;

0 comments on commit 95602ca

Please sign in to comment.