mirror of
https://github.com/zulip/zulip.git
synced 2025-10-24 16:43:57 +00:00
admin: Convert module to TypeScript.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
committed by
Tim Abbott
parent
ff99302dfe
commit
0048dfabd0
@@ -540,10 +540,10 @@ If you're adding a non-checkbox field, you'll need to specify the type
|
||||
of the field via the `data-setting-widget-type` attribute in the HTML
|
||||
template.
|
||||
|
||||
Then add the new form control in `web/src/admin.js`.
|
||||
Then add the new form control in `web/src/admin.ts`.
|
||||
|
||||
```diff
|
||||
// web/src/admin.js
|
||||
// web/src/admin.ts
|
||||
|
||||
export function build_page() {
|
||||
const options = {
|
||||
|
||||
Reference in New Issue
Block a user