humhei
humhei
I think namespace should be rearranged by some specific condition For example , the `export =namespace` systax Conside below codes input ```typescript export = React; export as namespace React; declare...
React.React is painess for single file generating. But for multiple linked files it is annoying @MangelMaxime @ctaggart
Thanks For example: https://github.com/fable-compiler/ts2fable-exports/blob/742bcaeb5f1bd5a64d5c8d419d25cd4051a4fc37/ReactXP.fs#L250 Other packages invoke React.Component a lot  `React.React.Component` is **valid** `React.Component` is **invalid** But how about react-native https://github.com/fable-compiler/ts2fable-exports/blob/742bcaeb5f1bd5a64d5c8d419d25cd4051a4fc37/ReactXP.fs#L3348 `ReactNative.ComponentProvider` ```typescript export type ComponentProvider = () =>...
So what's the Benchmark? React.React.Type React.Type ReactNative.Type ReactNative.ReactNative.Type I think the `export namespace` is the main point ```typescript export = React; export as namespace React; declare namespace React { type...
I am also not clear how to solve this special case 😕 ```fsharp type [] [] TriggerOperation = | [] CreateLowerCase | [] UpdateLowerCase | [] DeleteLowerCase | [] ReplaceLowerCase...
Try put `a.d.ts` and `b.d.ts` into same folder `foldName` then try `ts2fable (fullPath of a.d.ts) ab.fs -e foldName` The fsFiles in the same directory(including nested directories) of `a.d.ts` whose fullpath...
After deleting U2,U3,U4 case Below code also doesn't work ```fsharp open Fable.Core type NodeExports = abstract readFile: path:string * ?option:string -> string abstract readFile: path:string * ?option:int -> int let...
My idealy workflow is - run Watch test (This will both run watch CLI and watch Test targets asynchronously) - add test to fsfile - run PushForComprasion target ```fsharp "PushForComparision"
> Should we consider export as namespace L; as a module declaration ? if not exists `export as namespace L` , https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/leaflet/index.d.ts#L13 ```typescript export class Class { static extend(props: any):...
There is another version of [React.fs](https://github.com/fable-compiler/ts2fable-exports/blob/master/React.fs) which is fully generated by ts2fable. I believe you can get more info by comparing these two versions