@kismet.ts/shared / Exports / RemoteKismetAssetFetchOptions
Interface: RemoteKismetAssetFetchOptions
Table of contents
Properties
Properties
fetch
• fetch: (url: string) => Promise<IResponse>
Type declaration
▸ (url): Promise<IResponse>
A base implementation of a cross platfrom compatible fetch function. Use the current platform's fetch implementation for this value. TODO: remove when all platforms have same fetch / type exists for this
Parameters
| Name | Type |
|---|---|
url | string |
Returns
Promise<IResponse>
Defined in
type
• Optional type: "text" | "json"
The data type of the asset to retreive
Default
'json'
Defined in
version
• version: string
The version of the asset to fetch. If an incorrect asset version is provided, an error will be thrown