What he wanted to do was to share the joy.

问题描述:

What he wanted to do was to share the joy.
这句话在 was to share这里对不对?
还是:
What he wanted to do was share the joy.
理由?

动词原形不能做宾语,或者你用What he wanted to do was sharing the joy.