Skip to content

Commit 7a48fbb

Browse files
danielroemxdvl
andauthored
fix: use narrower types
Co-authored-by: Max Duval <hi@mxdvl.com>
1 parent ebe6ee7 commit 7a48fbb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/utils/npm.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
* @param teamName - The team name
77
* @returns The scope:team string in @scope:team format
88
*/
9-
export function buildScopeTeam(orgName: string, teamName: string): string {
9+
export function buildScopeTeam(orgName: string, teamName: string): `@{string}:{string}` {
1010
return `@${orgName.replace(/^@/, '')}:${teamName}`
1111
}

0 commit comments

Comments
 (0)