JSHint
-
bin/build.js (Diff revision 1) -
Review Request #13668 — Created March 25, 2024 and submitted
This introduces TypeScript type hints that cover the functions and
tagged template literals processed by this plugin. It also includes a
shim for Underscore that helps merge the definitions for Underscore's
_
object and the_
gettext alias.Consumers will want to reference the types in individual files or in a
global.d.ts
by including the line:/// <reference types="babel-plugin-django-gettext"/>
Made use of these new definitions in Djblets and Review Board.
Unit tests pass.
Summary | ID |
---|---|
ce8476998da0b15f991f1a89700bc6802c343942 |
Fixed missing semicolons.
Commits: |
|
|||||||
---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+198) |
Description: |
|
---|