🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

@ms-cloudpack/common-types-browser

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ms-cloudpack/common-types-browser

Types for Cloudpack browser globals.

latest
npmnpm
Version
0.6.5
Version published
Weekly downloads
10
42.86%
Maintainers
3
Weekly downloads
 
Created
Source

@ms-cloudpack/common-types-browser

This package provides Cloudpack types that are specific to the browser environment. There are two ways to use this package.

Import types directly

import type { PageSessionContext } from '@ms-cloudpack/common-types-browser';

This is useful for server code, since it does not define the window.__cloudpack global.

Configure tsconfig.json to include the globals

This makes window.__cloudpack and window.__pageEvents available to your code. (You can combine this with importing individual types as needed.)

{
  "compilerOptions": {
    "types": ["@ms-cloudpack/common-types-browser/global"]
  }
}

FAQs

Package last updated on 10 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts