define(['ojs/ojasyncvalidator-required'], function(AsyncRequiredValidator) {
// Application should call API on AsyncRequiredValidator
})
Typescript Import Format
//This class is exported directly as module. To import it import AsyncRequiredValidator= require("ojs/ojasyncvalidator-required");
JET In Typescript
A detailed description of working with JET elements and classes in your typescript project can be found at:
JET Typescript Usage.
Final classes in JET
Classes in JET are generally final and do not support subclassing. At the moment, final is not enforced. However, this will likely change in an upcoming JET release.
Description
Constructs an AsyncRequiredValidator ensures that the value provided is not empty.