define(['ojs/ojasyncvalidator-daterestriction'], function(AsyncDateRestrictionValidator) {
// Application should call API on AsyncDateRestrictionValidator
})
Typescript Import Format
//This class is exported directly as module. To import it import AsyncDateRestrictionValidator= require("ojs/ojasyncvalidator-daterestriction");
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 AsyncDateRestrictionValidator that ensures the value provided is
not in a disabled entry of dayMetaData.