From 0622fda0b682734381819c6add64062da5fef641 Mon Sep 17 00:00:00 2001 From: VILIC VANE Date: Mon, 2 Mar 2015 17:29:31 +0800 Subject: [PATCH] add explicit references --- gsap/TweenLite.d.ts | 3 +++ gsap/gsap-tests.ts | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gsap/TweenLite.d.ts b/gsap/TweenLite.d.ts index fb0e4d61a..ef535e189 100644 --- a/gsap/TweenLite.d.ts +++ b/gsap/TweenLite.d.ts @@ -3,6 +3,9 @@ // Definitions by: VILIC VANE // Definitions: https://github.com/borisyankov/DefinitelyTyped +/// +/// + declare class TweenLite { constructor(target: any, duration: number, vars: any); diff --git a/gsap/gsap-tests.ts b/gsap/gsap-tests.ts index 7d941d431..e1740127b 100644 --- a/gsap/gsap-tests.ts +++ b/gsap/gsap-tests.ts @@ -1,4 +1,6 @@ -var tween = TweenLite +/// + +var tween = TweenLite .to(document.getElementById('some-div'), 1, { width: '200px', height: '200px'