5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 00:59:34 +08:00
wails/v2/internal/binding
Valentin Trinqué 2a20049ea7
fix: Prevent type parsing to interfere with package name in typescript generation (#1942)
Before that fix:

The method...

```go
func (h *Handler) RespondToInteraction(interaction interactor.Interaction) {}
```

... would generate...

```ts
export function RespondToInteraction(arg1:number):Promise<Error>;
```

... because the `interaction` package starts with `int` and anything starting with `int` is interpreted as `number`.
2022-10-10 23:50:55 +11:00
..
binding_test fix: Prevent type parsing to interfere with package name in typescript generation (#1942) 2022-10-10 23:50:55 +11:00
binding.go fix: exemption typo 2022-10-01 19:03:20 +10:00
boundMethod.go Improved TS Generation (#1310) 2022-04-04 21:01:00 +10:00
db.go Add garble support (#1793) 2022-09-13 10:05:37 +10:00
generate_test.go Add garble support (#1793) 2022-09-13 10:05:37 +10:00
generate.go fix: Prevent type parsing to interfere with package name in typescript generation (#1942) 2022-10-10 23:50:55 +11:00
parameter.go Merge commit 'a213e8bcd1d8e4e5c764978879d875d2d55dd400' as 'v2' 2020-09-15 19:52:54 -05:00
reflect.go Fix binding generation special cases (#1902) 2022-10-01 15:49:51 +10:00