mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
This reverts commit 38c335d8fb.
This commit is contained in:
@@ -69,10 +69,6 @@ export function trackEmissions<T>(observable: Observable<T>): T[] {
|
||||
case "boolean":
|
||||
emissions.push(value);
|
||||
break;
|
||||
case "symbol":
|
||||
// Cheating types to make symbols work at all
|
||||
emissions.push(value.toString() as T);
|
||||
break;
|
||||
default: {
|
||||
emissions.push(clone(value));
|
||||
}
|
||||
@@ -89,7 +85,7 @@ function clone(value: any): any {
|
||||
}
|
||||
}
|
||||
|
||||
export async function awaitAsync(ms = 1) {
|
||||
export async function awaitAsync(ms = 0) {
|
||||
if (ms < 1) {
|
||||
await Promise.resolve();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user