Skip to content

Commit

Permalink
(fix): Add exports of component to module
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Nov 22, 2017
1 parent 626c0bd commit c4dd622
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 581 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ manifest.mf
build.xml
npm-debug.log
node_modules/
package-lock.json

#################
## Compiled
Expand Down
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ karma.conf.js
copy.js
tsconfig.json
tslint.json
package-lock.json
!*.metadata.json
*.ngfactory.ts
*.ngsummary.json
!bundles/*.js
.*

Expand Down
1 change: 1 addition & 0 deletions demo/e2e/tsconfig.e2e.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../out-tsc/e2e",
"baseUrl": "./",
"module": "commonjs",
"target": "es5",
"types": [
Expand Down
1 change: 1 addition & 0 deletions demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@angular/platform-browser": "^4.0.0",
"@angular/platform-browser-dynamic": "^4.0.0",
"@angular/router": "^4.0.0",
"ngx-type-ahead": "^1.0.0",
"core-js": "^2.4.1",
"rxjs": "^5.1.0",
"zone.js": "^0.8.4"
Expand Down
4 changes: 2 additions & 2 deletions demo/src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { Component, OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { DataService } from './data.service';
import { ICountry } from './countries';
import { Observable } from "rxjs";
import { TypeaheadSettings } from './typeahead/typeahead.interface';
import { Observable } from 'rxjs';
import { TypeaheadSettings } from 'ngx-type-ahead';

@Component({
selector: 'app-root',
Expand Down
6 changes: 3 additions & 3 deletions demo/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@ import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';

import { AppComponent } from './app.component';
import { TypeaheadComponent } from './typeahead/typeahead.component';
import { ReactiveFormsModule } from '@angular/forms';
import { DataService } from './data.service';
import { TypeaheadModule } from '../../../index';

@NgModule({
declarations: [
AppComponent,
TypeaheadComponent
AppComponent
],
imports: [
BrowserModule,
TypeaheadModule,
ReactiveFormsModule
],
providers: [DataService],
Expand Down
Loading

0 comments on commit c4dd622

Please sign in to comment.