Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/jet-brains-integration/src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface Options extends BaseOptions {
prefix?: string;
/** Adds a suffix to tag references */
suffix?: string;
/** Automatically adds reference to yor package.json */
/** Automatically adds reference to your package.json */
packageJson?: boolean;
/** Used to create a link within the component info bubble */
referenceTemplate?: (name: string, tag?: string) => Reference;
Expand Down
2 changes: 1 addition & 1 deletion packages/jet-brains-integration/src/web-types-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export function getTagList(
component.tagName || toKebabCase(component.name)
}${options.suffix}`,
description: getComponentDetailsTemplate(component, options),
["doc-url"]: reference?.url || "",
...(reference?.url && { "doc-url": reference.url }),
attributes: getComponentAttributes(component, options.typesSrc),
slots: component.slots?.map((slot) => {
return {
Expand Down