Skip to content

Commit

Permalink
fix(public/prompts): forces transpiled prompts usage
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed May 1, 2019
1 parent 896874b commit c7b2697
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/@types/prompts-dist.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declare module 'prompts/dist' {
export { default } from 'prompts';
}
2 changes: 1 addition & 1 deletion src/public/prompts/select.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { TScript, IOfType } from '~/types';
import prompts from 'prompts';
import prompts from 'prompts/dist';
import expose, { TExposedOverload } from '~/utils/expose';

/**
Expand Down

0 comments on commit c7b2697

Please sign in to comment.