mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-11-15 14:42:16 +03:00
BREAKING CHANGE: AR/VR devices moved to new device type: xr
This commit is contained in:
3
src/main/ua-parser.d.ts
vendored
3
src/main/ua-parser.d.ts
vendored
@@ -23,7 +23,7 @@ declare namespace UAParser {
|
||||
}
|
||||
|
||||
interface IDevice extends IData<IDevice> {
|
||||
type?: 'mobile' | 'tablet' | 'console' | 'smarttv' | 'wearable';
|
||||
type?: 'mobile' | 'tablet' | 'console' | 'smarttv' | 'wearable' | 'xr' | 'embedded';
|
||||
vendor?: string;
|
||||
model?: string;
|
||||
}
|
||||
@@ -76,6 +76,7 @@ declare namespace UAParser {
|
||||
SMARTTV: 'smarttv';
|
||||
TABLET: 'tablet';
|
||||
WEARABLE: 'wearable';
|
||||
XR: 'xr';
|
||||
EMBEDDED: 'embedded';
|
||||
};
|
||||
static readonly ENGINE: {
|
||||
|
||||
Reference in New Issue
Block a user