Skip to content

Commit

Permalink
chore: Add @Suppress {constantProperty} to shaka externs. (#8062) (#8063
Browse files Browse the repository at this point in the history
)

Add `@suppress {constantProperty}` to shaka externs.

Cherry-picked from v4.13.x, where the original PR was sent by mistake.

---------

Co-authored-by: Dan Barkhorn <danielbarkhorn@gmail.com>
  • Loading branch information
joeyparrish and danielbarkhorn authored Feb 11, 2025
1 parent a30f1da commit f9b347b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/generateExterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -860,9 +860,9 @@ function main(args) {
'/**\n' +
' * @fileoverview Generated externs. DO NOT EDIT!\n' +
' * @externs\n' +
' * @suppress {duplicate} To prevent compiler errors with the\n' +
' * namespace being declared both here and by goog.provide in the\n' +
' * library.\n' +
' * @suppress {constantProperty, duplicate} To prevent compiler\n' +
' * errors with the namespace being declared both here and by\n' +
' * goog.provide in the library.\n' +
' */\n\n' +
namespaceDeclarations.join('') + '\n' + externs);
}
Expand Down

0 comments on commit f9b347b

Please sign in to comment.