Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps-dev): bumping dev deps and resolving type -> interface conversions #708

Merged
merged 1 commit into from
Dec 9, 2022

Conversation

erunion
Copy link
Member

@erunion erunion commented Dec 8, 2022

No description provided.

@@ -10,14 +10,16 @@ import fetch, { cleanHeaders, handleRes } from '../../lib/fetch';
import * as promptHandler from '../../lib/prompts';
import promptTerminal from '../../lib/promptWrapper';

export type VersionCreateOptions = { fork?: string } & VersionBaseOptions;
export interface Options extends CommonOptions {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renamed this and VersionBaseOptions so they're consistent with our other commands.

@erunion erunion marked this pull request as ready for review December 8, 2022 23:54
@erunion erunion requested a review from kanadgupta December 8, 2022 23:55
@@ -45,8 +45,6 @@ export default async function promptTerminal<T extends string = string>(
// eslint-disable-next-line no-param-reassign
questions = questions.map(question => ({ onRender, ...question }));
} else {
// @ts-expect-error onRender is not a documented type,
// but it definitely is a thing: https://github.com/terkelg/prompts#onrender
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

holy shit they finally fixed this? 😭

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah i bumped @types/prompts and the expect-error started throwing

@erunion erunion merged commit 971316a into main Dec 9, 2022
@erunion erunion deleted the chore/update-deps branch December 9, 2022 00:02
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.

2 participants