Merge "Fix some typescript compile errors"
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -63,7 +63,7 @@ export class GrPluginActionContext {
|
||||
window.location.reload();
|
||||
}
|
||||
|
||||
textfield() {
|
||||
textfield(): HTMLElement {
|
||||
return document.createElement('paper-input');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user