Skip to content

Commit

Permalink
chore: publish export testing (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
danewalters authored Jul 12, 2024
1 parent f81e13d commit dbd157b
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
7 changes: 5 additions & 2 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"name": "@byzanteam/jet-queue-plugin-js",
"version": "0.2.0",
"exports": "./mod.ts",
"version": "0.2.1",
"exports": {
".": "./mod.ts",
"./testing": "./testing.ts"
},
"compilerOptions": {
"strict": true,
"useUnknownInCatchVariables": true,
Expand Down
6 changes: 5 additions & 1 deletion src/testing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ export function clearJobs() {
jobs = [];
}

export function getJobs() {
export function getJobs(): [
string,
QueueJob<Record<string, unknown>>,
maybeOptions,
][] {
return jobs;
}

Expand Down

0 comments on commit dbd157b

Please sign in to comment.