Skip to content

Commit 5c45d76

Browse files
committed
fix: AOT compliant
1 parent 950368f commit 5c45d76

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-hover-opacity",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"scripts": {
55
"build": "gulp build",
66
"build:watch": "gulp",

src/helpers/string.helpers.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
function isString(value: any) {
1+
export function isString(value: any) {
22
return typeof value === 'string';
33
}
44

5-
function camelCaseToDash(str: string) {
5+
export function camelCaseToDash(str: string) {
66
return str.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();
77
}
88

src/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import { CommonModule } from '@angular/common';
44
import { NgxHoverOpacityComponent } from './components/ngx-hover-opacity.component';
55
import { SlugifyObjectKeysPipe } from './pipes/slugify-object-keys.pipe';
66

7+
export { SlugifyObjectKeysPipe } from './pipes/slugify-object-keys.pipe';
8+
export { NgxHoverOpacityComponent } from './components/ngx-hover-opacity.component';
9+
710
@NgModule({
811
imports: [CommonModule],
912
declarations: [NgxHoverOpacityComponent, SlugifyObjectKeysPipe],

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-hover-opacity",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"repository": {
55
"type": "git",
66
"url": "https://github.com/maxime1992/ngx-hover-opacity"

0 commit comments

Comments
 (0)