mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 16:49:18 -05:00
10 lines
211 B
TypeScript
10 lines
211 B
TypeScript
|
/** jsdoc for foo */
|
||
|
export function foo(a: string, b: string) {
|
||
|
console.log(a, b);
|
||
|
}
|
||
|
|
||
|
// no jsdoc for bar
|
||
|
export async function bar(promise: Promise<void>): Promise<void> {
|
||
|
return promise.then(() => {});
|
||
|
}
|