Skip to content

Commit

Permalink
fix: 馃悰 change imports array to module
Browse files Browse the repository at this point in the history
  • Loading branch information
NetanelBasal committed Nov 28, 2022
1 parent c7503c5 commit 1ec93f0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/ngneat/error-tailor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ngneat/error-tailor",
"version": "3.0.1",
"version": "3.0.2",
"description": "Seamless form errors for Angular Applications",
"dependencies": {
"tslib": "2.3.1"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,23 @@
import { NgModule } from '@angular/core';
import { ControlErrorAnchorDirective } from './control-error-anchor.directive';
import { DefaultControlErrorComponent } from './control-error.component';
import { ControlErrorsDirective } from './control-error.directive';
import { FormActionDirective } from './form-action.directive';
import { ErrorTailorConfig, ErrorTailorConfigProvider, FORM_ERRORS } from './providers';

export const errorTailorImports = [
const _errorTailorImports = [
ControlErrorsDirective,
ControlErrorAnchorDirective,
DefaultControlErrorComponent,
FormActionDirective
];

@NgModule({
imports: [_errorTailorImports],
exports: [_errorTailorImports]
})
export class errorTailorImports {}

export function provideErrorTailorConfig(config: ErrorTailorConfig) {
return [
{
Expand Down

0 comments on commit 1ec93f0

Please sign in to comment.