PeerTube/packages/types-generator
Chocobozzz d8f846c69d
Add 'main' field to peertube types
2023-11-13 10:30:39 +01:00
..
src Migrate server to ESM 2023-08-11 15:02:33 +02:00
tests Migrate server to ESM 2023-08-11 15:02:33 +02:00
README.md Migrate server to ESM 2023-08-11 15:02:33 +02:00
generate-package.ts Add 'main' field to peertube types 2023-11-13 10:30:39 +01:00
package.json Migrate server to ESM 2023-08-11 15:02:33 +02:00
tsconfig.dist.json server/server -> server/core 2023-10-04 15:13:25 +02:00
tsconfig.json Migrate server to ESM 2023-08-11 15:02:33 +02:00
tsconfig.types.json server/server -> server/core 2023-10-04 15:13:25 +02:00

README.md

PeerTube typings

These Typescript types are mainly used to write PeerTube plugins.

Installation

Npm:

npm install --save-dev @peertube/peertube-types

Yarn:

yarn add --dev @peertube/peertube-types

Usage

See contribute-plugins Typescript section of the doc.