5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 06:51:26 +08:00
wails/v2/internal/binding/binding_test/binding_test_import
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_nestedimport Fix binding generation special cases (#1902) 2022-10-01 15:49:51 +10:00
float_package fix: Prevent type parsing to interfere with package name in typescript generation (#1942) 2022-10-10 23:50:55 +11:00
int_package fix: Prevent type parsing to interfere with package name in typescript generation (#1942) 2022-10-10 23:50:55 +11:00
map_package fix: Prevent type parsing to interfere with package name in typescript generation (#1942) 2022-10-10 23:50:55 +11:00
uint_package fix: Prevent type parsing to interfere with package name in typescript generation (#1942) 2022-10-10 23:50:55 +11:00
binding_test_import.go Fix binding generation special cases (#1902) 2022-10-01 15:49:51 +10:00