2.16.1 • Published 10 months ago

@mirohq/websdk-types v2.16.1

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

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.

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

  2. Add the following

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

10 months ago

2.14.4

1 year ago

2.16.0

10 months ago

2.15.1

1 year ago

2.14.3

1 year ago

2.14.2

1 year ago

2.14.1

1 year ago

2.14.0

1 year ago

2.13.2

1 year ago

2.13.1

1 year ago

2.13.0

1 year ago

2.12.0

2 years ago

2.11.0

2 years ago

2.10.0

2 years ago

2.9.9

2 years ago

2.9.2

2 years ago

2.9.1

2 years ago

2.9.4

2 years ago

2.9.3

2 years ago

2.9.6

2 years ago

2.9.5

2 years ago

2.9.8

2 years ago

2.9.7

2 years ago

2.9.10

2 years ago

2.9.11

2 years ago

2.9.0

2 years ago

2.8.0

2 years ago

2.7.0

2 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.6.0

3 years ago

2.3.1

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago