DefinitelyTyped/ngreact/index.d.ts
Andy 8841dfc744 Use index.d.ts only (not foo/foo.d.ts) (#12834)
* Use index.d.ts only (not foo/foo.d.ts)

* Convert more packages

* Remove unnecessary references
2016-11-21 12:58:06 -08:00

15 lines
557 B
TypeScript

// Type definitions for ngReact v0.3.0
// Project: https://github.com/ngReact/ngReact
// Definitions by: Vicky Lai <https://github.com/velveret>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="angular"/>
/// <reference types="react"/>
declare module "ngreact" {
type ReactDirective = (reactComponentName: string | React.ComponentClass<any>,
propNames?: string[],
conf?: Object,
injectableProps?: Object) => angular.IDirective;
}