UNPKG

fin

Version:

Developer CLI for Fin. Fin is the easiest way to launch your own SaaS.

25 lines (22 loc) 409 B
enum Color { Red, Green, Blue } interface Nala { numbers?: number[] color: Color } /** * This is an example description for an example function. * * @param foo - Example describing string `foo`. * @returns Description of return value. */ export default async function Example( foo: string, bar: number = 5, nala?: Nala ): Promise<string> { return JSON.stringify({ foo, bar, nala }) }