chore(): fix some Slides type errors

This commit is contained in:
Tim Lancina
2016-01-12 16:58:57 -06:00
parent 00b0f4de56
commit fdbd0f5f67
3 changed files with 54 additions and 25 deletions

View File

@ -60,7 +60,7 @@ function _baseExtend(dst, objs, deep) {
return dst;
}
export function debounce(func: any, wait: number, immediate: boolean) {
export function debounce(func: any, wait: number, immediate = false) {
var timeout, args, context, timestamp: number, result;
return function() {
context = this;