Skip to content

Commit

Permalink
Code review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza K committed Jan 29, 2020
1 parent 7279243 commit 47b7bef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import {
EuiText,
} from '@elastic/eui';

import { AppMountParameters, CoreStart } from '<%= relRoot %>/../src/core/public';
import { CoreStart } from '<%= relRoot %>/../src/core/public';
import { NavigationPublicPluginStart } from '<%= relRoot %>/../src/plugins/navigation/public';

import { PLUGIN_ID, PLUGIN_NAME } from '../../common';
Expand Down Expand Up @@ -103,13 +103,13 @@ export const <%= upperCamelCaseName %>App = ({ basename, notifications, http, na
<p>
<FormattedMessage
id="<%= camelCase(name) %>.content"
defaultMessage="Look through the generated code and checkout the plugin developmment documentation."
defaultMessage="Look through the generated code and checkout the plugin development documentation."
/>
</p>
<EuiHorizontalRule/>
<p>
<FormattedMessage
id="banana.timestampText"
id="<%= camelCase(name) %>.timestampText"
defaultMessage="Last timestamp: {time}"
values={{ time: timestamp ? timestamp : 'Unknown' }}
/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { i18n } from '@kbn/i18n';
import { CoreSetup, CoreStart, Plugin } from '<%= relRoot %>/src/core/public';
import { AppMountParameters, CoreSetup, CoreStart, Plugin } from '<%= relRoot %>/src/core/public';
import { <%= upperCamelCaseName %>PublicPluginSetup, <%= upperCamelCaseName %>PublicPluginStart, AppPluginDependencies } from './types';
import { PLUGIN_NAME } from '../common';

Expand All @@ -11,7 +11,7 @@ export class <%= upperCamelCaseName %>PublicPlugin
core.application.register({
id: '<%= camelCase(name) %>',
title: PLUGIN_NAME,
async mount(params) {
async mount(params: AppMountParameters) {
// Load application bundle
const { renderApp } = await import('./application');
// Get start services as specified in kibana.json
Expand Down

0 comments on commit 47b7bef

Please sign in to comment.