Skip to content

Commit

Permalink
docs: add TSDoc for aliyun-fc3 adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
rwv committed Nov 7, 2024
1 parent 8be85c1 commit b93defa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/adapter/aliyun-fc3/handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ const parseEvent = (event: AliyunFCEventRaw): AliyunFCEvent => {
return JSON.parse(event.toString('utf-8'))
}

Check warning on line 8 in src/adapter/aliyun-fc3/handler.ts

View check run for this annotation

Codecov / codecov/patch

src/adapter/aliyun-fc3/handler.ts#L7-L8

Added lines #L7 - L8 were not covered by tests

/**
* Accepts events from Aliyun FC3 and return Aliyun FC3 responses
*/
export const handle = <E extends Env = Env, S extends Schema = {}, BasePath extends string = '/'>(
app: Hono<E, S, BasePath>
): AliyunFCHandler => {
Expand Down

0 comments on commit b93defa

Please sign in to comment.