@types/ngreact
TypeScript icon, indicating that this package has built-in type declarations

0.3.12 • Public • Published

Installation

npm install --save @types/ngreact

Summary

This package contains type definitions for ngreact (https://github.com/ngReact/ngReact).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ngreact.

index.d.ts

/// <reference types="angular"/>
/// <reference types="react"/>

declare module "ngreact" {
    type ReactDirective = (
        reactComponentName: string | React.ComponentClass<any>,
        propNames?: string[],
        conf?: Object,
        injectableProps?: Object,
    ) => angular.IDirective;
}

Additional Details

Credits

These definitions were written by Vicky Lai.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ngreact

Weekly Downloads

164

Version

0.3.12

License

MIT

Unpacked Size

3.29 kB

Total Files

5

Last publish

Collaborators

  • types