Option for using 'T[]' instead of 'ResizeArray<T>'
davedawkins opened this issue · 1 comments
davedawkins commented
I have a PR for this already.
The API I'm currently working with (Appwrite) has many declarations that use TS string []
, and these should be mapped to string array
(or string[]
) in FS
Eg
declare class Api {
account: {
names: string[];
};
}
export { Api };
Current output:
type [<AllowNullLiteral>] ApiAccount =
abstract names: ResizeArray<string> with get, set
Preferred output:
abstract names: string[] with get, set
davedawkins commented