Skip to content

Comments

Fix type-safety of getMetric#68

Open
astorije wants to merge 1 commit intomikejihbe:masterfrom
astorije:patch-1
Open

Fix type-safety of getMetric#68
astorije wants to merge 1 commit intomikejihbe:masterfrom
astorije:patch-1

Conversation

@astorije
Copy link

When passed a key that does not exist, getMetric can potentially return undefined: https://github.com/mikejihbe/metrics/blob/master/reporting/report.js#L34

When passed a key that does not exist, `getMetric` can potentially return `undefined`: https://github.com/mikejihbe/metrics/blob/master/reporting/report.js#L34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants