diff options
author | 2023-10-05 16:06:19 +0200 | |
---|---|---|
committer | 2023-10-05 16:06:19 +0200 | |
commit | d173fcdfa3ad6f6aee721c8553f25f4db38fa302 (patch) | |
tree | 722cdaf93e090edcf83769ae763731008daf5fd3 /web/source/settings/admin/emoji/local | |
parent | updates markdown parsing to reduce allocations in the same way as the plain t... (diff) | |
download | gotosocial-d173fcdfa3ad6f6aee721c8553f25f4db38fa302.tar.xz |
[chore] Convert some settings / admin panel JS to TypeScript (#2247)
* initial conversion of STUFF to typescript
* more stuff
* update babel deps, include commonjs transform
* update bundler & eslint configuration
* eslint --fix
* upgrade deps
* update docs, build stuff, peripheral stuff
---------
Co-authored-by: f0x <f0x@cthu.lu>
Diffstat (limited to 'web/source/settings/admin/emoji/local')
5 files changed, 0 insertions, 10 deletions
diff --git a/web/source/settings/admin/emoji/local/detail.js b/web/source/settings/admin/emoji/local/detail.js index 6b583b0b9..daf7a2dac 100644 --- a/web/source/settings/admin/emoji/local/detail.js +++ b/web/source/settings/admin/emoji/local/detail.js @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -"use strict"; - const React = require("react"); const { useRoute, Link, Redirect } = require("wouter"); diff --git a/web/source/settings/admin/emoji/local/index.js b/web/source/settings/admin/emoji/local/index.js index 56695094c..008bd7a61 100644 --- a/web/source/settings/admin/emoji/local/index.js +++ b/web/source/settings/admin/emoji/local/index.js @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -"use strict"; - const React = require("react"); const { Switch, Route } = require("wouter"); diff --git a/web/source/settings/admin/emoji/local/new-emoji.js b/web/source/settings/admin/emoji/local/new-emoji.js index de796fe30..439d09e62 100644 --- a/web/source/settings/admin/emoji/local/new-emoji.js +++ b/web/source/settings/admin/emoji/local/new-emoji.js @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -"use strict"; - const React = require("react"); const query = require("../../../lib/query"); diff --git a/web/source/settings/admin/emoji/local/overview.js b/web/source/settings/admin/emoji/local/overview.js index e8d35ff54..38dc1feba 100644 --- a/web/source/settings/admin/emoji/local/overview.js +++ b/web/source/settings/admin/emoji/local/overview.js @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -"use strict"; - const React = require("react"); const { Link } = require("wouter"); const syncpipe = require("syncpipe"); diff --git a/web/source/settings/admin/emoji/local/use-shortcode.js b/web/source/settings/admin/emoji/local/use-shortcode.js index c9c27cdf2..7e1bae0ad 100644 --- a/web/source/settings/admin/emoji/local/use-shortcode.js +++ b/web/source/settings/admin/emoji/local/use-shortcode.js @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ -"use strict"; - const React = require("react"); const query = require("../../../lib/query"); |