diff --git a/run.sh b/run.sh index c7f88cd..ed65e21 100644 --- a/run.sh +++ b/run.sh @@ -20,4 +20,4 @@ set -v # if TypeDoc's output doesn't match what you expected. Here's one example # checking that the name from package.json is used in TypeDoc's output. -test $(jq '.name' docs/docs.json) = '"typedoc-repros"' +test $(jq '.children[0].signatures[0].comment.summary[0].text' docs/docs.json) = '"my-written-docs-here"' diff --git a/src/index.ts b/src/index.ts index c0a8215..54498ee 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,4 +1,6 @@ +const makeFn = () => () => {} + /** - * Some code reproducing a bug. + * my-written-docs-here */ -export const bug = 123; +export const myFn = makeFn()