Skip to content

Commit

Permalink
Remove "as any"
Browse files Browse the repository at this point in the history
  • Loading branch information
fand committed Dec 7, 2017
1 parent 870d6ec commit 9bcc7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function react2angular<Props>(

return {
bindings: fromPairs(names.map(_ => [_, '<'])),
controller: ['$element', ...(injectNames as any), class extends NgComponent<Props> {
controller: ['$element', ...injectNames, class extends NgComponent<Props> {
injectedProps: any[];
constructor(private $element: IAugmentedJQuery, ...injectedProps: any[]) {
super()
Expand Down

0 comments on commit 9bcc7c5

Please sign in to comment.