Skip to content

Commit

Permalink
fix: correct import path
Browse files Browse the repository at this point in the history
  • Loading branch information
haan123 committed Feb 3, 2022
1 parent e993fdd commit ad5b68a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/validations/Validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { findIndex, isNumber } from '@vue-formily/util';
import { RuleSchema, Validator } from './types';
import Rule from './Rule';
import Objeto from '../Objeto';
import { isUndefined, throwFormilyError } from '@/utils';
import { isUndefined, throwFormilyError } from '../../utils';

type InternalValidationRuleSchema = Validator | RuleSchema;

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export type {
CollectionInstance,
CollectionItemInstance
} from './core/elements/instanceTypes';
export { Validator, RuleSchema, ValidationOptions, ValidationRuleSchema } from './core/validations/types';
export type { Validator, RuleSchema, ValidationOptions, ValidationRuleSchema } from './core/validations/types';
export type { EventHandler, EventOptions, EventElement } from './core/Evento';

export * from './core/validations';
Expand Down

0 comments on commit ad5b68a

Please sign in to comment.