Skip to content

Commit

Permalink
Export isVersionMetadata
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniFoldi committed Apr 7, 2024
1 parent f14879c commit c77c240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/instrumentation/env.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const isServiceBinding = (item?: unknown): item is Fetcher => {
return !!binding.connect || !!binding.fetch || binding.queue || binding.scheduled
}

const isVersionMetadata = (item?: unknown): item is WorkerVersionMetadata => {
export const isVersionMetadata = (item?: unknown): item is WorkerVersionMetadata => {
return !!(item as WorkerVersionMetadata).id && !!(item as WorkerVersionMetadata).tag
}

Expand Down

0 comments on commit c77c240

Please sign in to comment.