Skip to content

Commit

Permalink
fix(types): export missed type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
geo committed Feb 22, 2018
1 parent 128a938 commit 8335cf9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
17 changes: 14 additions & 3 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {

import { Tree } from './src/tree';

import { NodeMenuItemAction } from './src/menu/menu.events';
import { NodeMenuItemAction, NodeMenuEvent } from './src/menu/menu.events';
import { NodeMenuItem } from './src/menu/node-menu.component';

import {
Expand All @@ -22,10 +22,15 @@ import {
NodeExpandedEvent,
NodeCollapsedEvent,
MenuItemSelectedEvent,
NodeDestructiveEvent
NodeDestructiveEvent,
NodeUncheckedEvent,
NodeCheckedEvent,
NodeIndeterminedEvent,
NodeUnselectedEvent
} from './src/tree.events';

import { TreeComponent } from './src/tree.component';
import { TreeController } from './src/tree-controller';
import { TreeModule } from './src/tree.module';

export {
Expand All @@ -44,10 +49,16 @@ export {
NodeExpandedEvent,
NodeCollapsedEvent,
NodeDestructiveEvent,
NodeMenuEvent,
NodeUncheckedEvent,
NodeCheckedEvent,
NodeIndeterminedEvent,
NodeUnselectedEvent,
TreeComponent,
TreeModule,
NodeMenuItemAction,
NodeMenuItem,
ChildrenLoadingFunction,
MenuItemSelectedEvent
MenuItemSelectedEvent,
TreeController
};
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@
"scripts": {
"compile": "ngc -p tsconfig-aot.json && node umd-bundler.js",
"clean": "rimraf coverage build dist dist-demo bundles factories .publish",
"pre:publish":
"npm run clean && npm run test && npm run lint && npm run compile && mkdir -p dist && cp -R src/styles.css README.md media dist",
"pre:publish": "npm run clean && npm run test && npm run lint && npm run compile && mkdir -p dist && cp -R src/styles.css README.md media dist",
"post:publish": "npm run build:demo && gh-pages -d dist-demo",
"start": "ng serve",
"build:demo": "ng build",
Expand Down

0 comments on commit 8335cf9

Please sign in to comment.