From 6084bc13bde229b05a94cf4fff3a4ad93fcacec4 Mon Sep 17 00:00:00 2001 From: Josemar Luedke Date: Thu, 16 Dec 2021 16:38:28 -0800 Subject: [PATCH] Add basic types for cacheKeyForTree --- packages/ember/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ember/src/index.ts b/packages/ember/src/index.ts index 7539322..129f63e 100644 --- a/packages/ember/src/index.ts +++ b/packages/ember/src/index.ts @@ -137,7 +137,7 @@ module.exports = { // Re-enables caching of this addon, due to opting out // of the caching implicitly by specifying treeFor* methods - cacheKeyForTree(treeType) { + cacheKeyForTree(treeType: string): string { switch (treeType) { case 'app': { const sources = (this.docfyConfig as DocfyConfig).sources