Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4230)

Unified Diff: chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js

Issue 2861713004: Print Preview: Fix compile errors in settings/ directory (Closed)
Patch Set: Address comments and fix remaining lint errors Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
diff --git a/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js b/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
index a6d8824c572f603ed00630445a3b2336129666cf..4e51aaa8fdf04c3ad28257844e6eb8505a1767af 100644
--- a/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
+++ b/chrome/browser/resources/print_preview/data/ticket_items/ticket_item.js
@@ -1,6 +1,10 @@
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+/**
+ * @typedef {Object|number|boolean|string}
+ */
+print_preview.ValueType;
cr.define('print_preview.ticket_items', function() {
'use strict';
@@ -100,7 +104,7 @@ cr.define('print_preview.ticket_items', function() {
throw Error('Abstract method not overridden');
},
- /** @return {!Object} The value of the ticket item. */
+ /** @return {print_preview.ValueType} The value of the ticket item. */
getValue: function() {
if (this.isCapabilityAvailable()) {
if (this.value_ == null) {

Powered by Google App Engine
This is Rietveld 408576698