description:"Promises returned by functions must be handled appropriately.",
descriptionDetails:"Use `no-unused-expressions` in addition to this rule to reveal even more floating promises.",
optionsDescription:(_a=["\n A list of 'string' names of any additional classes that should also be handled as Promises.\n "],_a.raw=["\n A list of \\'string\\' names of any additional classes that should also be handled as Promises.\n "],Lint.Utils.dedent(_a)),
options:{
type:"list",
listType:{
type:"array",
items:{type:"string"},
},
},
optionExamples:[true,[true,"JQueryPromise"]],
rationale:"Unhandled Promises can cause unexpected behavior, such as resolving at unexpected times.",
type:"functionality",
typescriptOnly:true,
requiresTypeInfo:true,
};
/* tslint:enable:object-literal-sort-keys */
Rule.FAILURE_STRING="Promises must be handled appropriately";