3333 * element.
3434 */
3535interface IronAjaxElement extends Polymer . Element {
36- hostAttributes : object | null ;
3736
3837 /**
3938 * The URL target of the request.
@@ -211,34 +210,35 @@ interface IronAjaxElement extends Polymer.Element {
211210 bubbles : boolean | null | undefined ;
212211
213212 /**
214- * Changes the [`completes`](iron-request#property-completes) promise chain
213+ * Changes the [`completes`](iron-request#property-completes) promise chain
215214 * from `generateRequest` to reject with an object
216215 * containing the original request, as well an error message.
217216 * If false (default), the promise rejects with an error message only.
218217 */
219218 rejectWithRequest : boolean | null | undefined ;
220219 _boundHandleResponse : Function | null | undefined ;
220+ hostAttributes : object | null ;
221221
222222 /**
223223 * The query string that should be appended to the `url`, serialized from
224224 * the current value of `params`.
225225 */
226- queryString : object | null ;
226+ readonly queryString : string ;
227227
228228 /**
229229 * The `url` with query string (if `params` are specified), suitable for
230230 * providing to an `iron-request` instance.
231231 */
232- requestUrl : object | null ;
232+ readonly requestUrl : string ;
233233
234234 /**
235235 * An object that maps header names to header values, first applying the
236236 * the value of `Content-Type` and then overlaying the headers specified
237237 * in the `headers` property.
238238 */
239- requestHeaders : object | null ;
240- created ( ) : any ;
241- _onProgressChanged ( event : any ) : any ;
239+ readonly requestHeaders : object | null ;
240+ created ( ) : void ;
241+ _onProgressChanged ( event : any ) : void ;
242242
243243 /**
244244 * Request options suitable for generating an `iron-request` instance based
@@ -250,10 +250,10 @@ interface IronAjaxElement extends Polymer.Element {
250250 * Performs an AJAX request to the specified URL.
251251 */
252252 generateRequest ( ) : IronRequestElement ;
253- _handleResponse ( request : any ) : any ;
254- _handleError ( request : any , error : any ) : any ;
255- _discardRequest ( request : any ) : any ;
256- _requestOptionsChanged ( ) : any ;
253+ _handleResponse ( request : any ) : void ;
254+ _handleError ( request : any , error : any ) : void ;
255+ _discardRequest ( request : any ) : void ;
256+ _requestOptionsChanged ( ) : void ;
257257}
258258
259259interface HTMLElementTagNameMap {
0 commit comments