Skip to content

Commit c677f84

Browse files
eseligerchristopherthielen
authored andcommitted
Allow void in RedirectToResult (#82)
1 parent 13d3177 commit c677f84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/state/interface.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export interface _ViewDeclaration {
8686
* - TargetState: a target state, parameters, and options
8787
* - object: an object with a state name and parameters
8888
*/
89-
export type RedirectToResult = string | TargetState | { state?: string, params?: RawParams };
89+
export type RedirectToResult = string | TargetState | { state?: string, params?: RawParams } | void;
9090

9191
/**
9292
* The StateDeclaration object is used to define a state or nested state.

0 commit comments

Comments
 (0)