Skip to content

Commit

Permalink
refactor(resources): fix eslint warning (#5383)
Browse files Browse the repository at this point in the history
  • Loading branch information
chancancode authored Feb 6, 2025
1 parent 41beed7 commit 4001f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/opentelemetry-resources/src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const isPromiseLike = <R>(val: unknown): val is PromiseLike<R> => {
return (
val !== null &&
typeof val === 'object' &&
typeof (val as PromiseLike<R>).then === 'function'
typeof (val as Partial<PromiseLike<R>>).then === 'function'
);
};

Expand Down

0 comments on commit 4001f62

Please sign in to comment.