Hello there 
The whole point in using typescript is to catch bugs & errors before or at last during compilation. You should not ignore typescript errors.
You can not ignore every typescript error, but some can be ignored (e.g. strict type checking like in your example). Please post your exact error message here, so we can help you resolve the issue.