Skip to content

feat: bump ui kit #392

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

Merged
merged 3 commits into from
May 14, 2020
Merged

feat: bump ui kit #392

merged 3 commits into from
May 14, 2020

Conversation

marcelltoth
Copy link
Contributor

Brings the new TableOfContents features from ui-kit.

Copy link

@mallachari mallachari left a comment

Choose a reason for hiding this comment

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

Looks good!

@@ -1,7 +1,8 @@
import { IHttpConfig, IHttpOperationConfig } from '@stoplight/prism-http';
import * as PrismClient from '@stoplight/prism-http/dist/client';
import { Dictionary, IHttpOperation, IHttpRequest } from '@stoplight/types';
import axios, { CancelTokenSource } from 'axios';
import type { CancelTokenSource } from 'axios';

Choose a reason for hiding this comment

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

This import type is interesting - I didn't see that before. Might be useful.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is actually a workaround, should not be normally needed. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html

The reason I had to split that import is to make sure we avoid TS generating an __importStar invocation. This is what I was stuck on yesterday for like 4 hours: microsoft/TypeScript#38540

@marcelltoth marcelltoth merged commit 14dc6b3 into beta May 14, 2020
@marcelltoth marcelltoth deleted the feat/bump-ui-kit branch May 14, 2020 09:49
@stoplight-bot
Copy link
Collaborator

🎉 This PR is included in version 6.0.0-beta.45 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

4 participants