Skip to content

Commit fb8840f

Browse files
kissadam21Adam Kiss
andauthored
Fix typo in registerOnDeactivate method in lifecycle.d.ts (#1059)
Co-authored-by: Adam Kiss <[email protected]>
1 parent 1d8b40c commit fb8840f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/lifecycle.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ declare module 'rclnodejs' {
247247
* Register a callback function to be invoked during the deactivate() action.
248248
* @param cb - The callback function to invoke.
249249
*/
250-
registerOnDectivate(cb: TransitionCallback): void;
250+
registerOnDeactivate(cb: TransitionCallback): void;
251251

252252
/**
253253
* Register a callback function to be invoked during the cleanup() action.

0 commit comments

Comments
 (0)