Skip to content

apiを関数に変更 - #66

Open
yuzuki-aritomo wants to merge 3 commits into
mainfrom
yuzuki/apiClient
Open

apiを関数に変更#66
yuzuki-aritomo wants to merge 3 commits into
mainfrom
yuzuki/apiClient

Conversation

@yuzuki-aritomo

Copy link
Copy Markdown
Owner

APIの呼び出しを関数に変更

@vercel

vercel Bot commented Jul 4, 2022

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
train-front ✅ Ready (Inspect) Visit Preview Oct 22, 2022 at 0:05AM (UTC)

@taisei1989 taisei1989 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Comment thread src/api/getStation.ts
error?: string;
};

export const getStation = async (searchStationName: string) => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

返り値の型だけ定義したほうがよいかも!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants