Merge "Fix some typescript compile errors"

This commit is contained in:
Ben Rohlfs
2020-09-30 14:20:28 +00:00
committed by Gerrit Code Review
3 changed files with 4 additions and 3 deletions

View File

@@ -60,7 +60,7 @@ enum CHANGE_SIZE {
const PRIMARY_REVIEWERS_COUNT = 2; const PRIMARY_REVIEWERS_COUNT = 2;
@customElement('gr-change-list-item') @customElement('gr-change-list-item')
class GrChangeListItem extends ChangeTableMixin( export class GrChangeListItem extends ChangeTableMixin(
GestureEventListeners(LegacyElementMixin(PolymerElement)) GestureEventListeners(LegacyElementMixin(PolymerElement))
) { ) {
static get template() { static get template() {

View File

@@ -28,6 +28,7 @@ import {RevisionInfo} from '../../shared/revision-info/revision-info';
import {GrDownloadCommands} from '../../shared/gr-download-commands/gr-download-commands'; import {GrDownloadCommands} from '../../shared/gr-download-commands/gr-download-commands';
import {GrButton} from '../../shared/gr-button/gr-button'; import {GrButton} from '../../shared/gr-button/gr-button';
import {hasOwnProperty} from '../../../utils/common-util'; import {hasOwnProperty} from '../../../utils/common-util';
import {GrOverlayStops} from '../../shared/gr-overlay/gr-overlay';
export interface GrDownloadDialog { export interface GrDownloadDialog {
$: { $: {
@@ -96,7 +97,7 @@ export class GrDownloadDialog extends GestureEventListeners(
} }
} }
getFocusStops() { getFocusStops(): GrOverlayStops {
return { return {
start: this.$.downloadCommands.$.downloadTabs, start: this.$.downloadCommands.$.downloadTabs,
end: this.$.closeButton, end: this.$.closeButton,

View File

@@ -63,7 +63,7 @@ export class GrPluginActionContext {
window.location.reload(); window.location.reload();
} }
textfield() { textfield(): HTMLElement {
return document.createElement('paper-input'); return document.createElement('paper-input');
} }