UNPKG

@ng-doc/builder

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>

11 lines (10 loc) 547 B
import { NgDocPlaygroundProperties } from '@ng-doc/core'; import { ObjectLiteralExpression } from 'ts-morph'; import { NgDocPlaygroundMetadata } from '../../interfaces'; /** * Collects all the information about a playground that is needed to render and build it. * @param id - The id of the playground * @param playground - The playground object * @param additionalProps */ export declare function buildPlaygroundMetadata(id: string, playground: ObjectLiteralExpression, additionalProps?: NgDocPlaygroundProperties): NgDocPlaygroundMetadata;