moment: Fix for noImplicitAny errors.

Signed-off-by: Ben Jackman <ben@jackman.biz>