Closed alexincore closed 1 year ago
Interface FetchOptions is missing a signal parameter of type AbortSignal, which is used to provide a timeout for the fetch request https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout
FetchOptions
signal
interface FetchOptions { method?: string headers?: { [name: string]: string } /** * @deprecated use headers instead */ headersObject?: { [name: string]: string } body?: Uint8Array | string credentials?: string cache?: string redirect?: string referrer?: string integrity?: string }
Is AbortSignal / cancellation implemented in Figma?
AbortSignal
AbortSignal is not supported in the plugin sandbox, so the typings are correct here.
Interface
FetchOptions
is missing asignal
parameter of type AbortSignal, which is used to provide a timeout for the fetch request https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/timeout