Socket
Book a DemoInstallSign in
Socket

@mirohq/websdk-types

Package Overview
Dependencies
Maintainers
14
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mirohq/websdk-types

Provides typing for the Miro WebSDK v2.

2.16.1
latest
npmnpm
Version published
Weekly downloads
4.8K
-29.7%
Maintainers
14
Weekly downloads
 
Created
Source

Miro WebSDK v2 typings file

Provides typing for the Miro WebSDK v2.

Usage

Install the package

Using npm

npm install @mirohq/websdk-types

Using yarn

yarn add @mirohq/websdk-types

Using pnpm

pnpm add @mirohq/websdk-types

If you are working on a TypeScript project

Include the types file inside your tsconfig.json file like this:

{
  "compilerOptions": {
+   "typeRoots": [
+     "./node_modules/@types",
+     "./node_modules/@mirohq"
+   ]
  }
}

If you are working on a JavaScript project

This step does not add types to your project, but it improves your autocompletion experience. This typically works with all modern editors & IDEs. If you encounter an issue, check the documentation for your editor.

  • Create the jsconfig.json file at the root of your project.

  • Add the following

{
	"compilerOptions": {
		"typeRoots": ["./node_modules/@types", "./node_modules/@mirohq"]
	}
}
  • You should be able to get autocompletion working inside your JavaScript project.

Keywords

miro

FAQs

Package last updated on 20 Sep 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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.