You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
exportclassDataTransferimplementsIterable<[mimeType: string,item: DataTransferItem]>{/** * Retrieves the data transfer item for a given mime type. * * @param mimeType The mime type to get the data transfer item for, such as `text/plain` or `image/png`. * Mimes type look ups are case-insensitive. * * Special mime types: * - `text/uri-list` — A string with `toString()`ed Uris separated by `\r\n`. To specify a cursor position in the file, * set the Uri's fragment to `L3,5`, where 3 is the line number and 5 is the column number. */get(mimeType: string): DataTransferItem|undefined;/** * Sets a mime type to data transfer item mapping. * * @param mimeType The mime type to set the data for. Mimes types stored in lower case, with case-insensitive looks up. * @param value The data transfer item for the given mime type. */set(mimeType: string,value: DataTransferItem): void;/** * Allows iteration through the data transfer items. * * @param callbackfn Callback for iteration through the data transfer items. * @param thisArg The `this` context used when invoking the handler function. */forEach(callbackfn: (item: DataTransferItem,mimeType: string,dataTransfer: DataTransfer)=>void,thisArg?: any): void;/** * Get a new iterator with the `[mime, item]` pairs for each element in this data transfer. */[Symbol.iterator](): IterableIterator<[mimeType: string,item: DataTransferItem]>;}
I'm trying to create bindings to @types/vscode. The abstract member [Symbol_iterator]: unit -> IterableIterator<string * DataTransferItem> is not valid F# code.
Also Iterable isn't implemented, but I think that's more likely to be a Fable thing.
The text was updated successfully, but these errors were encountered:
Issue created from Glutinum Tool
Glutinum version - 0.11.0-preview
TypeScript
FSharp
Problem description
I'm trying to create bindings to
@types/vscode
. Theabstract member [Symbol_iterator]: unit -> IterableIterator<string * DataTransferItem>
is not valid F# code.Also
Iterable
isn't implemented, but I think that's more likely to be a Fable thing.The text was updated successfully, but these errors were encountered: