Skip to content

Commit

Permalink
Correct TreeComponent.options typing to ITreeOptions to allow `an…
Browse files Browse the repository at this point in the history
…gularCompilerOptions.strictTemplates: true`
  • Loading branch information
Keith Gillette authored and tobiasengelhardt committed Jul 6, 2020
1 parent a04ea64 commit 62f0c02
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { Component, ContentChild, EventEmitter, HostListener, Input, OnChanges,
import { TreeModel } from '../models/tree.model';
import { TreeDraggedElement } from '../models/tree-dragged-element.model';
import { TreeOptions } from '../models/tree-options.model';
import { ITreeOptions } from '../defs/api';
import { TreeViewportComponent } from './tree-viewport.component';

import includes from 'lodash/includes';
Expand Down Expand Up @@ -52,7 +53,7 @@ export class TreeComponent implements OnChanges {
@Input() set nodes(nodes: any[]) {
};

@Input() set options(options: TreeOptions) {
@Input() set options(options: ITreeOptions) {
};

@Input() set focused(value: boolean) {
Expand Down

0 comments on commit 62f0c02

Please sign in to comment.