As `Module['saveUserDictFileToDB']` may be null, you need a check here before using it.