Skip to content

Commit

Permalink
Removing ts-ignore (#124)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolzhabayev authored Oct 28, 2022
1 parent 708d9b5 commit 1ec3c33
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/create-plugin/templates/app/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { AppConfig } from './components/AppConfig';
export const plugin = new AppPlugin<{}>().setRootPage(App).addConfigPage({
title: 'Configuration',
icon: 'cog',
// @ts-ignore - Would expect a Class component, however works absolutely fine with a functional one
// Implementation: https://github.com/grafana/grafana/blob/fd44c01675e54973370969dfb9e78f173aff7910/public/app/features/plugins/PluginPage.tsx#L157
body: AppConfig,
id: 'configuration',
});

0 comments on commit 1ec3c33

Please sign in to comment.