@stackflow/react
Advanced tools
Comparing version 1.1.8 to 1.1.9
@@ -12,2 +12,3 @@ /// <reference types="react" /> | ||
declare type StackflowPluginsEntry<T extends BaseActivities> = StackflowReactPlugin<T> | StackflowPluginsEntry<T>[]; | ||
declare type NoInfer<T> = [T][T extends any ? 0 : never]; | ||
export declare type StackflowOptions<T extends BaseActivities> = { | ||
@@ -26,7 +27,7 @@ /** | ||
*/ | ||
initialActivity?: () => Extract<keyof T, string>; | ||
initialActivity?: () => Extract<keyof NoInfer<T>, string>; | ||
/** | ||
* Inject stackflow plugins | ||
*/ | ||
plugins?: Array<StackflowPluginsEntry<T>>; | ||
plugins?: Array<StackflowPluginsEntry<NoInfer<T>>>; | ||
}; | ||
@@ -33,0 +34,0 @@ export declare type StackflowOutput<T extends BaseActivities> = { |
{ | ||
"name": "@stackflow/react", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/daangn/stackflow.git", | ||
"directory": "integrations/react" | ||
}, | ||
"license": "MIT", | ||
@@ -5,0 +10,0 @@ "exports": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
161465
2461
0