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;
@customElement('gr-change-list-item')
class GrChangeListItem extends ChangeTableMixin(
export class GrChangeListItem extends ChangeTableMixin(
GestureEventListeners(LegacyElementMixin(PolymerElement))
) {
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 {GrButton} from '../../shared/gr-button/gr-button';
import {hasOwnProperty} from '../../../utils/common-util';
import {GrOverlayStops} from '../../shared/gr-overlay/gr-overlay';
export interface GrDownloadDialog {
$: {
@@ -96,7 +97,7 @@ export class GrDownloadDialog extends GestureEventListeners(
}
}
getFocusStops() {
getFocusStops(): GrOverlayStops {
return {
start: this.$.downloadCommands.$.downloadTabs,
end: this.$.closeButton,

View File

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