Merge "Fix some typescript compile errors"
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user