cloudflare / cloudflare/workerd

🐛 Bug Report — Runtime APIs

Open
#2,218 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

passing a function through doesn't pass the comments '/// comments here'
`function test(input: string) {
// this is a function
}`

`async run(fn: Function) {
return fn
}`

`console.log(run(test))`

so basically it will return the function but not the //comments

on node it shows the comments, is this by design?

seems like they get stripped out on workerd

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.