Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
set tryHarder(enable: boolean) {
if (enable) {
this.hints.set(DecodeHintType.TRY_HARDER, true);
} else {
this.hints.delete(DecodeHintType.TRY_HARDER);
}
// new instance with new hints.
this.scannerRestart();
}
get tryHarder(): boolean {
return this.hints.get(DecodeHintType.TRY_HARDER);
}