Skip to content

Commit

Permalink
Remove unused T for removeAction in action-manager.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
dumganhar committed May 7, 2024
1 parent 23f3b2c commit cc960eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocos/tween/actions/action-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ export class ActionManager {
* @method removeAction
* @param {Action} action
*/
removeAction<T> (action: Action | null): void {
removeAction (action: Action | null): void {
// explicit null handling
if (action == null) return;
const target = action.getOriginalTarget()!;
Expand Down

0 comments on commit cc960eb

Please sign in to comment.