Skip to content

Commit c4dd622

Browse files
committed
(fix): Add exports of component to module
1 parent 626c0bd commit c4dd622

File tree

12 files changed

+28
-581
lines changed

12 files changed

+28
-581
lines changed

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ manifest.mf
77
build.xml
88
npm-debug.log
99
node_modules/
10-
package-lock.json
1110

1211
#################
1312
## Compiled

.npmignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,10 @@ karma.conf.js
2020
copy.js
2121
tsconfig.json
2222
tslint.json
23+
package-lock.json
2324
!*.metadata.json
25+
*.ngfactory.ts
26+
*.ngsummary.json
2427
!bundles/*.js
2528
.*
2629

demo/e2e/tsconfig.e2e.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"extends": "../tsconfig.json",
33
"compilerOptions": {
44
"outDir": "../out-tsc/e2e",
5+
"baseUrl": "./",
56
"module": "commonjs",
67
"target": "es5",
78
"types": [

demo/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@angular/platform-browser": "^4.0.0",
2222
"@angular/platform-browser-dynamic": "^4.0.0",
2323
"@angular/router": "^4.0.0",
24+
"ngx-type-ahead": "^1.0.0",
2425
"core-js": "^2.4.1",
2526
"rxjs": "^5.1.0",
2627
"zone.js": "^0.8.4"

demo/src/app/app.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Component, OnInit } from '@angular/core';
22
import { FormBuilder, FormGroup } from '@angular/forms';
33
import { DataService } from './data.service';
44
import { ICountry } from './countries';
5-
import { Observable } from "rxjs";
6-
import { TypeaheadSettings } from './typeahead/typeahead.interface';
5+
import { Observable } from 'rxjs';
6+
import { TypeaheadSettings } from 'ngx-type-ahead';
77

88
@Component({
99
selector: 'app-root',

demo/src/app/app.module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@ import { BrowserModule } from '@angular/platform-browser';
22
import { NgModule } from '@angular/core';
33

44
import { AppComponent } from './app.component';
5-
import { TypeaheadComponent } from './typeahead/typeahead.component';
65
import { ReactiveFormsModule } from '@angular/forms';
76
import { DataService } from './data.service';
7+
import { TypeaheadModule } from '../../../index';
88

99
@NgModule({
1010
declarations: [
11-
AppComponent,
12-
TypeaheadComponent
11+
AppComponent
1312
],
1413
imports: [
1514
BrowserModule,
15+
TypeaheadModule,
1616
ReactiveFormsModule
1717
],
1818
providers: [DataService],

0 commit comments

Comments
 (0)