From 1313854f9d5d28ba598319deafd2ea7a00dee4b7 Mon Sep 17 00:00:00 2001 From: Justin Coyne Date: Fri, 1 May 2015 08:17:48 -0500 Subject: [PATCH] Add Attribute annotation to angular2.d.ts Without this addition the TS compiler issues this error: ``` error TS2305: Module '"angular2/angular2"' has no exported member 'Attribute'. ``` when you attempt to `import {Attribute} from 'angular2/angular2';` --- typings/angular2/angular2.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/angular2/angular2.d.ts b/typings/angular2/angular2.d.ts index dff25bc..2b60875 100644 --- a/typings/angular2/angular2.d.ts +++ b/typings/angular2/angular2.d.ts @@ -39,4 +39,5 @@ declare module "angular2/angular2" { }); function For(); function If(); + function Attribute(attributeName: string); }