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
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/angular, @types/react
Credits
These definitions were written by Vicky Lai.