npm.io
0.3.12 • Published 2 years ago

@types/ngreact

Licence
MIT
Version
0.3.12
Deps
2
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

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.