Add common declarations for JS globals.

Review Request #13714 — Created April 8, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

This change adds a global.d.ts file for Review Board, which contains
definitions for globals that are added by our templates and the test
runner.

  • Ran js-tests.
  • Saw that my editor didn't spew warnings for these.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Add common declarations for JS globals.
This change adds a global.d.ts file for Review Board, which contains definitions for globals that are added by our templates and the test runner. Testing Done: - Ran js-tests. - Saw that my editor didn't spew warnings for these.
0d247c27a594a54d482c81975132d567bae74d01 David Trowbridge
reviewboard/static/rb/js/global.d.ts
reviewboard/static/rb/js/common/models/userSessionModel.ts
reviewboard/static/rb/js/common/models/tests/commChannelModelTests.ts
reviewboard/static/rb/js/common/models/tests/userSessionModelTests.ts
reviewboard/static/rb/js/common/views/tests/pageViewTests.ts
reviewboard/static/rb/js/reviews/models/unifiedBannerModel.ts
reviewboard/static/rb/js/reviews/views/reviewDialogView.ts
reviewboard/static/rb/js/reviews/views/reviewRequestActions.ts
reviewboard/static/rb/js/reviews/views/reviewRequestEditorView.ts
reviewboard/static/rb/js/reviews/views/reviewRequestFieldViews.ts
reviewboard/static/rb/js/reviews/views/unifiedBannerView.ts
reviewboard/static/rb/js/reviews/views/tests/commentDialogViewTests.ts
reviewboard/static/rb/js/reviews/views/tests/fileAttachmentThumbnailViewTests.ts
reviewboard/static/rb/js/reviews/views/tests/reviewDialogViewTests.ts
reviewboard/static/rb/js/reviews/views/tests/reviewRequestEditorViewTests.ts
reviewboard/static/rb/js/ui/models/tests/contentViewportTests.ts
reviewboard/static/rb/js/ui/views/tests/dateInlineEditorViewTests.ts
reviewboard/static/rb/js/ui/views/tests/dateTimeInlineEditorViewTests.ts
reviewboard/static/rb/js/ui/views/tests/inlineEditorViewTests.ts
Loading...