NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/is-mobile/index.d.ts
2023-09-14 14:47:11 +08:00

20 lines
426 B
TypeScript

interface HttpRequestHeadersInterfaceMock {
[id: string]: string | string[] | undefined
}
interface HttpRequestInterfaceMock {
headers: HttpRequestHeadersInterfaceMock,
[id: string]: any,
}
export interface IsMobileOptions
{
ua?: string | HttpRequestInterfaceMock
tablet?: boolean
featureDetect?: boolean
}
export declare function isMobile(opts?:IsMobileOptions): boolean;
export default isMobile;