Skip to content

Commit

Permalink
Add basic types for cacheKeyForTree
Browse files Browse the repository at this point in the history
  • Loading branch information
josemarluedke committed Dec 17, 2021
1 parent ae93647 commit 6084bc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ember/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6084bc1

Please sign in to comment.