Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

fix export 🐛 #1187

Merged
merged 1 commit into from
Nov 20, 2019
Merged

fix export 🐛 #1187

merged 1 commit into from
Nov 20, 2019

Conversation

michenly
Copy link
Contributor

@michenly michenly commented Nov 20, 2019

Description

Fix issue raised on discourse.
https://discourse.shopify.io/t/shopify-koa-metrics-metrics-has-no-call-signatures/5214/4

Type of change

  • Patch: Bug/ Documentation fix (non-breaking change which fixes an issue or adds documentation)
  • Minor: New feature (non-breaking change which adds functionality)
  • Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above

Copy link
Contributor

@sambostock sambostock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes the default export, but should we also continue exporting it by name, in case anyone has started depending on the named export?

@michenly
Copy link
Contributor Author

the name export wasn't actually working in the last version so I am not worry 😹 (ie import {metrics} from '@shopify/koa-metrics' doesnt work)

@michenly michenly merged commit 4ac87e5 into master Nov 20, 2019
@michenly michenly deleted the fix-koa-metric-export branch November 20, 2019 23:06
@michenly michenly temporarily deployed to production November 21, 2019 17:49 Inactive
@michenly michenly temporarily deployed to michenly-beta November 21, 2019 17:54 Inactive
@theodoretan theodoretan temporarily deployed to gem December 10, 2019 21:19 Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants