Skip to content

Commit

Permalink
Add hyphen after param name in jsdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
dwyfrequency committed Jun 29, 2022
1 parent 2fa1ba8 commit 0d0bd61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/analytics/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export function setAnalyticsCollectionEnabled(
* With gtag's "set" command, the values passed persist on the current page and are passed with
* all subsequent events.
* @public
* @param customParams Any custom params the user may pass to gtag.js.
* @param customParams - Any custom params the user may pass to gtag.js.
*/
export function setDefaultEventParameters(customParams: CustomParams): void {
// Check if reference to existing gtag function on window object exists
Expand Down Expand Up @@ -744,7 +744,7 @@ export type CustomEventName<T> = T extends EventNameString ? never : T;
* Use the {@link ConsentSettings} to specify individual consent type values. By default consent
* types are set to "granted".
* @public
* @param consentSettings Maps the applicable end user consent state for gtag.js.
* @param consentSettings - Maps the applicable end user consent state for gtag.js.
*/
export function setConsent(consentSettings: ConsentSettings): void {
// Check if reference to existing gtag function on window object exists
Expand Down

0 comments on commit 0d0bd61

Please sign in to comment.