New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ms-cloudpack/common-types-browser

Package Overview
Dependencies
Maintainers
0
Versions
8
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.

  • 0.5.3
  • npm
  • Socket score

Version published
Weekly downloads
799
decreased by-12.96%
Maintainers
0
Weekly downloads
 
Created
Source

@ms-cloudpack/common-types-browser

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

Directly: You can import types directly from this package

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

This is useful for server code. However, if you are writing code that runs in the browser, you should consider the second option.

Configure tsconfig.json to have @ms-cloudpack/common-types by default

{
  "extends": "@ms-cloudpack/scripts/tsconfig.browser.json",
  "include": ["./src"],
  "compilerOptions": {
    "types": ["@ms-cloudpack/common-types-browser"],
    "customConditions": ["browser"]
  }
}

This will make the types from this package available by default in your browser code.

FAQs

Package last updated on 10 Dec 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc