chore(): fix Input types

This commit is contained in:
Tim Lancina
2016-01-13 23:52:10 -06:00
parent 7f19ba5396
commit c475a6490b
5 changed files with 22 additions and 18 deletions

View File

@ -213,7 +213,7 @@ export class Content {
* @param {TODO} tolerance TODO
* @returns {Promise} Returns a promise when done
*/
scrollTo(x, y, duration, tolerance) {
scrollTo(x: number, y: number, duration: number, tolerance?: number): Promise<any> {
if (this._scrollTo) {
this._scrollTo.dispose();
}