Skip to content

Commit 4632a63

Browse files
committed
types
1 parent b259023 commit 4632a63

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

quickstart/src/functions/hello.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
interface Input {
1+
type Input = {
22
name: string;
3-
}
3+
};
44

5-
interface Output {
5+
type Output = {
66
message: string;
7-
}
7+
};
88

99
export async function hello(input: Input): Promise<Output> {
1010
return { message: `Hello, ${input.name}!` };

0 commit comments

Comments
 (0)