@cordy/electro-generator 1.1.3 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -111,7 +111,7 @@ export {};
|
|
|
111
111
|
type _SvcApi<T> = T extends { api(): infer R } ? NonNullable<R> : never;
|
|
112
112
|
type _TaskPayload<T> = T extends { start(payload?: infer P): any } ? P : void;
|
|
113
113
|
type _EventPayload<T> = T extends { payload(): infer P } ? P : unknown;
|
|
114
|
-
type _WinApi<T> = T extends
|
|
114
|
+
type _WinApi<T> = T extends { __apiType?: infer A } ? NonNullable<A> : void;
|
|
115
115
|
`;
|
|
116
116
|
/**
|
|
117
117
|
* Generate ViewMap entries for all defined views.
|