@ng-doc/app
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
21 lines (18 loc) • 577 B
TypeScript
import { Provider, InjectionToken } from '@angular/core';
import { Constructor } from '@ng-doc/core/types';
/**
*
* @param type
* @param control
* @param options
* @param playgroundId
* @param selector
* @param component
*/
declare function providePlaygroundDemo(playgroundId: string, component: Constructor<unknown>): Provider;
/**
* Returns the token for the given playground id.
* @param playgroundId
*/
declare function getPlaygroundDemoToken<T>(playgroundId: string): InjectionToken<T[]> | undefined;
export { getPlaygroundDemoToken, providePlaygroundDemo };