Skip to content
Myr

refactor(context): remove lint errors (#3769)

Before adoption: this commit came in with the history the project adopted, so no landing records it.

* refactor(context): remove lint errors * remove build errros

authored by Yusuke Wada · committed by GitHub · parent bfd839a · Browse files · 1 file+5 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+5 added−3 removed

  • other:+5 added−3 removed

1 file+5 added−3 removed

modified:src/context.ts+5 added-3 removed
750 unmodified lines
751 }752 this.#preparedHeaders = {}753 }754 this.#preparedHeaders['content-type'] = TEXT_PLAIN755 if (typeof arg === 'number') {756 // @ts-expect-error `Response` due to missing some types-only keys757 return this.#newResponse(text, arg, headers)758 }759 // @ts-expect-error `Response` due to missing some types-only keys756 return typeof arg === 'number'757 ? this.#newResponse(text, arg, headers)758 : this.#newResponse(text, arg)760 return this.#newResponse(text, arg)761 }762763 /**764 * `.json()` can render JSON as `Content-Type:application/json`.
89 unmodified lines