Fix typing issues in the configforms JavaScript code.

Review Request #13216 — Created Aug. 14, 2023 and submitted

chipx86
Djblets
release-4.x
djblets

This updates the configforms typing code and unit tests to fix some
typing issues that were encountered. These consisted of missing imports,
undeclared member variables/attributes, model attributes that weren't
marked as optional, and undeclared prototype attributes.

There's also a fix to tsconfig.json, which was causing Backbone
types to fail to be looked up. We now use the same setting that we have
in Review Board.

There were also some legacy String.strip() calls (which Djblets injects)
that have been converted to native String.trim() calls.

Verified that no typing issues remained.

All unit tests pass.

Summary
Fix typing issues in the configforms JavaScript code.
maubin
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-4.x (bc2aca3)
Loading...