UNPKG

@types/fbjs

Version:
28 lines (26 loc) 1.04 kB
/** * Usage note: * This module makes a best effort to export the same data we would internally. * At Facebook we use a server-generated module that does the parsing and * exports the data for the client to use. We can't rely on a server-side * implementation in open source so instead we make use of an open source * library to do the heavy lifting and then make some adjustments as necessary. * It's likely there will be some differences. Some we can smooth over. * Others are going to be harder. */ declare namespace uaData { const browserArchitecture: string; const browserFullVersion: string; const browserMinorVersion: string; const browserName: string; const browserVersion: string; const deviceName: string; const engineName: string; const engineVersion: string; const platformArchitecture: string; const platformName: string; const platformVersion: string; const platformFullVersion: string; } // eslint-disable-next-line @definitelytyped/export-just-namespace export = uaData;