Skip to content

Commit 6f30453

Browse files
fix type on components templates
1 parent 3d09dad commit 6f30453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/registry/views/partials/components-templates.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export default function componentsTemplates(vm: VM): string {
1111
}: {
1212
type: string;
1313
version: string;
14-
externals: Array<{ global: string; url: string }>;
14+
externals: Array<{ global: string | string[]; url: string }>;
1515
}) => {
1616
const externalLinks = externals.map(externalLink).join(', ');
1717
const externalsLabel = externalLinks ? `(Externals: ${externalLinks})` : '';

0 commit comments

Comments
 (0)