Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Commit 196f8a2

Browse files
committed
Small fixes in interfaces
1 parent 7cdc82c commit 196f8a2

File tree

5 files changed

+9
-6
lines changed

5 files changed

+9
-6
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,9 @@ At the end do not forget to add this effects to your app.
260260

261261
## Changes
262262

263+
### v3.0.2
264+
* small fixes with interfaces
265+
263266
### v3.0.1
264267
* change the way of injecting NodeService provider
265268
* save in store: tree root nodes list, tree configuration and selected node

config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rign/angular2-tree",
3-
"version": "3.0.0",
3+
"version": "3.0.2",
44
"license": "MIT",
55
"angular-cli": {},
66
"scripts": {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@rign/angular2-tree",
3-
"version": "3.0.1",
3+
"version": "3.0.2",
44
"license": "MIT",
55
"angular-cli": {},
66
"scripts": {

src/store/ITreeState.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ export interface ITreeActionPayload {
2929
id?: string | null;
3030
node?: IOuterNode;
3131
nodes?: IOuterNode[];
32-
oldNode?: IOuterNode;
32+
oldNode?: any;
3333
source?: IOuterNode;
3434
target?: IOuterNode;
3535
sourceOfDroppedData?: string;

src/tree.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {treeReducer} from './store/treeReducer';
2020
import {TreeModelGeneratorService} from './service/treeModelGenerator.service';
2121
import {TreeActionsDispatcherService} from './store/treeActionsDispatcher.service';
2222
import {ParentsListComponent} from './parents-list/parents-list.component';
23-
import {NODE_SERVICE, NodeService} from './service/node.service';
23+
import {INodeService, NODE_SERVICE, NodeService} from './service/node.service';
2424

2525
@NgModule({
2626
imports: [
@@ -60,7 +60,7 @@ import {NODE_SERVICE, NodeService} from './service/node.service';
6060
})
6161
export class TreeModule {
6262

63-
public static forRoot(nodeService: Type<NodeService>): ModuleWithProviders {
63+
public static forRoot(nodeService: Type<INodeService>): ModuleWithProviders {
6464
return {
6565
ngModule: TreeModule,
6666
providers: [
@@ -75,7 +75,7 @@ export class TreeModule {
7575
}
7676
}
7777

78-
public static forFeature(nodeService: Type<NodeService>): ModuleWithProviders {
78+
public static forFeature(nodeService: Type<INodeService>): ModuleWithProviders {
7979
return {
8080
ngModule: TreeModule,
8181
providers: [

0 commit comments

Comments
 (0)