Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

updateCache

Generic types:TData

Updates cache for given files This function creates object and writes it to cache file

Presentation

function updateCache(id: string, cache: NgDocCachedData<TData>): void;

Returns

void

Parameters

NameTypeDescription
id
string

unique id for cache

cache
NgDocCachedData<TData>

cache object