Skip to content

Commit f439a9e

Browse files
bitflowerdaffl
authored andcommitted
fix(typescript): finally should be optional (#1350)
1 parent 61b1056 commit f439a9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/feathers/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ declare namespace createApplication {
133133
before: Partial<HookMap> | Hook | Hook[];
134134
after: Partial<HookMap> | Hook | Hook[];
135135
error: Partial<HookMap> | Hook | Hook[];
136-
finally: Partial<HookMap> | Hook | Hook[];
136+
finally?: Partial<HookMap> | Hook | Hook[];
137137
}
138138

139139
// todo: figure out what to do: These methods don't actually need to be

0 commit comments

Comments
 (0)