Skip to content

Commit

Permalink
Fix typescript errors
Browse files Browse the repository at this point in the history
Credit to Greg for the original fixes
  • Loading branch information
cee-chen committed Aug 17, 2021
1 parent 98542a6 commit d8733a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/color_picker/color_stops/color_stops.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
removeStop,
} from './utils';

import { EuiColorPickerProps } from '../';
import { EuiColorPickerProps } from '../color_picker';
import { getChromaColor } from '../utils';
import { EuiI18n } from '../../i18n';
import { EuiScreenReaderOnly } from '../../accessibility';
Expand Down
2 changes: 1 addition & 1 deletion src/components/markdown_editor/markdown_actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ class MarkdownActions {
* @param {string} pluginName
* @memberof MarkdownActions
*/
do(pluginName: string) {
do(pluginName: string): true | EuiMarkdownEditorUiPlugin {
const plugin = this.styles[pluginName];
if (isPluginWithImmediateFormatting(plugin)) {
this.applyStyle(plugin.formatting);
Expand Down

0 comments on commit d8733a7

Please sign in to comment.