Skip to content

Conversation

@basz
Copy link

@basz basz commented Nov 7, 2022

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';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant