Skip to content

Commit

Permalink
Update src/plugins/usage_collection/README.mdx
Browse files Browse the repository at this point in the history
Co-authored-by: Alejandro Fernández Haro <[email protected]>
  • Loading branch information
Bamieh and afharo authored Apr 14, 2021
1 parent 333f0cd commit 1163f59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/usage_collection/README.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ To create a usage counter for your plugin, use the API `usageCollection.createUs

```ts
// server/plugin.ts
import type { Plugin, CoreStart } from '../../../core/public';
import type { Plugin, CoreStart } from '../../../core/server';
import type { UsageCollectionSetup, UsageCounter } from '../../../plugins/usage_collection/server';

export class MyPlugin implements Plugin {
Expand Down

0 comments on commit 1163f59

Please sign in to comment.