From 7a7560d9ff79c6d26a1de6012d1f14d24e65fcff Mon Sep 17 00:00:00 2001 From: Lachlan Heywood Date: Sun, 4 Oct 2020 22:57:38 -0400 Subject: [PATCH] correct spelling --- addons/docs/src/frameworks/angular/compodoc.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/docs/src/frameworks/angular/compodoc.ts b/addons/docs/src/frameworks/angular/compodoc.ts index e0c47427d1f..3ae9850fb0f 100644 --- a/addons/docs/src/frameworks/angular/compodoc.ts +++ b/addons/docs/src/frameworks/angular/compodoc.ts @@ -25,7 +25,7 @@ export const setCompodocJson = (compodocJson: CompodocJson) => { }; // @ts-ignore -export const getCompdocJson = (): CompodocJson => window.__STORYBOOK_COMPODOC_JSON__; +export const getCompodocJson = (): CompodocJson => window.__STORYBOOK_COMPODOC_JSON__; export const checkValidComponentOrDirective = (component: Component | Directive) => { if (!component.name) { @@ -90,7 +90,7 @@ const getComponentData = (component: Component | Directive) => { return null; } checkValidComponentOrDirective(component); - const compodocJson = getCompdocJson(); + const compodocJson = getCompodocJson(); checkValidCompodocJson(compodocJson); const { name } = component; const metadata = findComponentByName(name, compodocJson);