Skip to content

Commit

Permalink
fix: types
Browse files Browse the repository at this point in the history
  • Loading branch information
liximomo committed Sep 18, 2021
1 parent 3c7582e commit a5834d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/fixtures/typescript/src/apis/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
type resData = {
data: string;
};
export default (req, res) => {

export default (req: any, res: any) => {
const data: resData = { data: 'apis index success' };
return res.send(data);
};

0 comments on commit a5834d0

Please sign in to comment.