How to reproduce:
When I want to check the validity of a form using (Component.checkValidity()) and the form has a Custom component, I get this error. It works fine locally, so I think problem is with import const types_1 = require("../types");. You might also want to remove "skipLibCheck": true from the tsconfig.json file. Without this setup, you have a few more errors when building your app.
After review, we don't expect to resource a developer to investigate this in the near future but would be happy to review any contributions to resolve this behavior.
version: @formio/js": "5.0.0-rc.29" ... "5.0.0-rc.32", "@formio/angular": "^5.5.0-rc.11",
How to reproduce: When I want to check the validity of a form using (Component.checkValidity()) and the form has a Custom component, I get this error. It works fine locally, so I think problem is with import const types_1 = require("../types");. You might also want to remove "skipLibCheck": true from the tsconfig.json file. Without this setup, you have a few more errors when building your app.
Custom component. ->
In app before submit formio form i check if form is valid
if (this.formio.formio.checkValidity()) {...}