diff options
Diffstat (limited to 'source/libs/post-form.ts')
-rw-r--r-- | source/libs/post-form.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libs/post-form.ts b/source/libs/post-form.ts index ad8f5851..ccee33f4 100644 --- a/source/libs/post-form.ts +++ b/source/libs/post-form.ts @@ -6,7 +6,7 @@ export default async function postForm(form: HTMLFormElement): Promise<Response> const contentFetch = typeof window.content === 'object' ? window.content.fetch : window.fetch; const response = await contentFetch(form.action, { - // `as` required until https://github.com/microsoft/TSJS-lib-generator/issues/741 + // TODO: drop `as` after https://github.com/microsoft/TSJS-lib-generator/issues/741 body: new URLSearchParams(new FormData(form) as URLSearchParams), method: 'POST', headers: { |