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:
parent
d17c7b4e8c
commit
c7cdac4409
6 changed files with 24 additions and 24 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue