mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 14:42:16 +03:00
Change withFeatureCheck() return value to also include PromiseLike<T> as an anticipation
This commit is contained in:
2
src/main/ua-parser.d.ts
vendored
2
src/main/ua-parser.d.ts
vendored
@@ -8,7 +8,7 @@ declare namespace UAParser {
|
||||
is(val: string): boolean;
|
||||
toString(): string;
|
||||
withClientHints(): PromiseLike<T> | T;
|
||||
withFeatureCheck(): T;
|
||||
withFeatureCheck(): PromiseLike<T> | T;
|
||||
}
|
||||
|
||||
interface IBrowser extends IData<IBrowser> {
|
||||
|
||||
Reference in New Issue
Block a user