brash-kite-78002
08/12/2021, 11:42 AMsteep-toddler-94095
08/12/2021, 5:12 PMPromise<boolean>
to a boolean
? The field should be Input<boolean>
if it accepts Promises, Outputs, etc. The equality operator is able to be used with Promises, but it won't necessarily give you what you want. For example, new Promise(()={}) == <true or false>
will both give you false
brash-kite-78002
08/13/2021, 4:08 PM// prometheusCrdsExistence: Promise<boolean>;
skipCRDRendering: <boolean><unknown>cluster.crdsInitModule?.prometheusCrdsExistence.then(
result => { return result }
);