diff options
| author | Fuwn <[email protected]> | 2023-11-19 04:50:51 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-11-19 04:50:51 +0000 |
| commit | 00d70e99f61b5254e363360260434bfc95c4e0c8 (patch) | |
| tree | beed9c12d87dce02ae976a70ba059814b41cf51a /src/routes/api/+page.svelte | |
| parent | deps: remove unused (diff) | |
| download | frontend-next-00d70e99f61b5254e363360260434bfc95c4e0c8.tar.xz frontend-next-00d70e99f61b5254e363360260434bfc95c4e0c8.zip | |
chore(typescript): add types
Diffstat (limited to 'src/routes/api/+page.svelte')
| -rw-r--r-- | src/routes/api/+page.svelte | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/routes/api/+page.svelte b/src/routes/api/+page.svelte index cf4e571..92d58c5 100644 --- a/src/routes/api/+page.svelte +++ b/src/routes/api/+page.svelte @@ -15,12 +15,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. Copyright (C) 2022-2022 Fuwn <[email protected]> SPDX-License-Identifier: GPL-3.0-only --> -<script> +<script lang="ts"> import { onMount } from "svelte"; import rst2html from "rst2html"; import { baseURL } from "$lib/api"; - let rst; + let rst: string; let complete = false; onMount(async () => { |