Skip to content

Commit

Permalink
fix(release): programmatic API types should not be any (#27647)
Browse files Browse the repository at this point in the history
(cherry picked from commit 13170da)
  • Loading branch information
JamesHenry authored and FrozenPandaz committed Aug 28, 2024
1 parent 9d13a7a commit af7142a
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions packages/nx/src/command-line/release/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,27 @@ const defaultClient = new ReleaseClient({});
/**
* @public
*/
export const releaseChangelog =
defaultClient.releaseChangelog.bind(defaultClient);
export const releaseChangelog = defaultClient.releaseChangelog.bind(
defaultClient
) as typeof defaultClient.releaseChangelog;

/**
* @public
*/
export const releasePublish = defaultClient.releasePublish.bind(defaultClient);
export const releasePublish = defaultClient.releasePublish.bind(
defaultClient
) as typeof defaultClient.releasePublish;

/**
* @public
*/
export const releaseVersion = defaultClient.releaseVersion.bind(defaultClient);
export const releaseVersion = defaultClient.releaseVersion.bind(
defaultClient
) as typeof defaultClient.releaseVersion;

/**
* @public
*/
export const release = defaultClient.release.bind(defaultClient);
export const release = defaultClient.release.bind(
defaultClient
) as typeof defaultClient.release;

0 comments on commit af7142a

Please sign in to comment.