Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
public loadApiJsonFile(apiJsonFilename: string): void {
const apiPackage: IApiPackage = ApiJsonFile.loadFromFile(apiJsonFilename);
const docItem: DocItem = new DocItem(apiPackage, apiPackage.name, this, undefined);
this.docPackagesByName.set(apiPackage.name, docItem);
this.docPackages.push(docItem);
}