summaryrefslogtreecommitdiff
path: root/tests/testdata/publish/deno_jsonc
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2024-02-21 08:35:25 -0500
committerGitHub <noreply@github.com>2024-02-21 08:35:25 -0500
commit9166d8a4e9b0f611b1e06c9e339b44f7c450d72e (patch)
tree1c4efed34b9c5bebc1f42fdaa8ad28dcca30896a /tests/testdata/publish/deno_jsonc
parent061ee9d38cdf8ff0ade2373c1e075f841c534c47 (diff)
feat(publish): type check on publish (#22506)
Supersedes #22501 and also fixes that issue.
Diffstat (limited to 'tests/testdata/publish/deno_jsonc')
-rw-r--r--tests/testdata/publish/deno_jsonc/mod.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/testdata/publish/deno_jsonc/mod.ts b/tests/testdata/publish/deno_jsonc/mod.ts
index 4bb6da255..6e8a61bae 100644
--- a/tests/testdata/publish/deno_jsonc/mod.ts
+++ b/tests/testdata/publish/deno_jsonc/mod.ts
@@ -1,5 +1,7 @@
import http from "@std/http";
export function foobar(): { fileServer(): void } {
- return http.fileServer;
+ return {
+ fileServer: http.fileServer,
+ };
}