Skip to content

Commit 23b33fa

Browse files
committed
Export library model also
1 parent 2061ce7 commit 23b33fa

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

projects/ngx-diff2html/src/lib/ngx-diff2html.module.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@ import { NgxDiff2htmlComponent } from './ngx-diff2html.component';
44

55

66
@NgModule({
7-
declarations: [NgxDiff2htmlComponent],
7+
declarations: [
8+
NgxDiff2htmlComponent
9+
],
810
imports: [
911
],
10-
exports: [NgxDiff2htmlComponent]
12+
exports: [
13+
NgxDiff2htmlComponent
14+
]
1115
})
1216
export class NgxDiff2htmlModule { }

projects/ngx-diff2html/src/public-api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
export * from './lib/ngx-diff2html.service';
66
export * from './lib/ngx-diff2html.component';
77
export * from './lib/ngx-diff2html.module';
8+
export * from './lib/ngx-diff2html.model';

0 commit comments

Comments
 (0)