Clean up & few changes related to browser.type

This commit is contained in:
Faisal Salman
2024-06-06 21:52:16 +07:00
parent 0a46ac396a
commit 5190905df8
4 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ expectType<IBrowser>(browser);
expectType<string | undefined>(browser.name);
expectType<string | undefined>(browser.version);
expectType<string | undefined>(browser.major);
expectType<string | undefined>(browser.type);
expectType<'bot' | 'cli' | 'email' | 'inapp' | 'module' | undefined>(browser.type);
expectType<boolean>(browser.is(''));
expectType<string>(browser.toString());
expectType<IBrowser | PromiseLike<IBrowser>>(browser.withClientHints());