1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Fix type conflict

This commit is contained in:
Chocobozzz 2021-12-24 10:40:51 +01:00
parent d17c7b4e8c
commit c7cdac4409
No known key found for this signature in database
GPG key ID: 583A612D890159BE
6 changed files with 24 additions and 24 deletions

View file

@ -1,15 +1,15 @@
import { PluginClientScope } from './client/plugin-client-scope.type'
export type PluginTranslationPaths = {
export type PluginTranslationPathsJSON = {
[ locale: string ]: string
}
export type ClientScript = {
export type ClientScriptJSON = {
script: string
scopes: PluginClientScope[]
}
export type PluginPackageJson = {
export type PluginPackageJSON = {
name: string
version: string
description: string
@ -23,7 +23,7 @@ export type PluginPackageJson = {
staticDirs: { [ name: string ]: string }
css: string[]
clientScripts: ClientScript[]
clientScripts: ClientScriptJSON[]
translations: PluginTranslationPaths
translations: PluginTranslationPathsJSON
}