Typescript noAny fixes, start of a long journey

This commit is contained in:
Torkel Ödegaard
2019-03-11 20:44:14 +01:00
parent 90cacf717c
commit 25b1bec250
4 changed files with 10 additions and 5 deletions

View File

@@ -10,13 +10,13 @@ coreModule.directive('jsonTree', [
startExpanded: '@',
rootName: '@',
},
link: (scope, elem) => {
link: (scope: any, elem) => {
const jsonExp = new JsonExplorer(scope.object, 3, {
animateOpen: true,
});
const html = jsonExp.render(true);
elem.html(html);
elem.replaceAll(html);
},
};
},