ember-changeset-validations icon indicating copy to clipboard operation
ember-changeset-validations copied to clipboard

Add utils index

Open basz opened this issue 1 year ago • 0 comments

Changes proposed in this pull request

This adds an index.js on the utils path so utils can be imported from that. This is done because @types/ember-changeset-validations has definitions for the provided utils at that import path

this works now with typescript

import { buildMessage } from 'ember-changeset-validations/utils';

where as the following did not

import buildMessage from 'ember-changeset-validations/utils/validation-errors';

basz avatar Nov 07 '22 11:11 basz