Skip to content

Commit

Permalink
Fix typescript syntax error (#1012)
Browse files Browse the repository at this point in the history
* Fix typescript syntax error

* changelog

* update date picker range snap

* Fix ts syntax error in EuiContextMenu
  • Loading branch information
chandlerprall authored Jul 13, 2018
1 parent d54c4cc commit d4fec84
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
- `EuiInMemoryTable` no longer resets to the first page on prop update when `items` remains the same ([#1008](https://github.com/elastic/eui/pull/1008))
- Fixed css selector for hiding responsive `EuiBreadcrumb`'s ([#1009](https://github.com/elastic/eui/pull/1009))
- Fixed responsive utility classes for IE ([#1009](https://github.com/elastic/eui/pull/1009))
- Fixed syntax errors in `keyCodes`'s and `EuiContextMenu`'s typescript definition ([#1012](https://github.com/elastic/eui/pull/1012))

## [`2.0.0`](https://github.com/elastic/eui/tree/v2.0.0)

Expand Down
1 change: 0 additions & 1 deletion src/components/context_menu/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ declare module '@elastic/eui' {
disabled?: boolean;
onClick?: () => void;
buttonRef?: RefCallback<HTMLButtonElement>;
hasPanel?: boolean;
toolTipContent?: ReactNode;
toolTipTitle?: ReactNode;
toolTipPosition?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ exports[`EuiDatePickerRange is rendered 1`] = `
<div
class="euiText euiText--small euiDatePickerRange__delimeter"
>
<span
<div
class="euiTextColor euiTextColor--subdued"
>
</span>
</div>
</div>
<span>
<span
Expand Down
4 changes: 2 additions & 2 deletions src/services/key_codes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ declare module '@elastic/eui' {
UP = 38,
LEFT = 37,
RIGHT = 39,
};
}
}
}

0 comments on commit d4fec84

Please sign in to comment.