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

invalidateCacheIfNeeded

Checks the version of the current package and invalidates the cache if necessary

Presentation

function invalidateCacheIfNeeded(coreFiles: string[] = []): boolean;

Returns

boolean

Parameters

NameTypeDescription
coreFiles
string[]

list of core files, if they were changed, the cache will be invalidated