Prism API
Home
GitHub
Preparing search index...
types
PluginProto
Interface PluginProto<Id>
interface
PluginProto
<
Id
extends
string
=
string
>
{
alias
?:
string
|
readonly
string
[]
;
effect
?:
(
Prism
:
Prism
&
{
plugins
:
Record
<
KebabToCamelCase
<
Id
>
,
{}
>
}
,
)
=>
()
=>
void
;
grammar
?:
undefined
;
id
:
Id
;
optional
?:
string
|
readonly
string
[]
;
plugin
?:
(
Prism
:
Prism
&
{
plugins
:
Record
<
KebabToCamelCase
<
Id
>
,
undefined
>
}
,
)
=>
PluginType
<
KebabToCamelCase
<
Id
>
>
&
{}
;
require
?:
ComponentProto
|
readonly
ComponentProto
[]
;
}
Type Parameters
Id
extends
string
=
string
Hierarchy (
View Summary
)
ComponentProtoBase
<
Id
>
PluginProto
Index
Properties
alias?
effect?
grammar?
id
optional?
plugin?
require?
Properties
Optional
alias
alias
?:
string
|
readonly
string
[]
Optional
effect
effect
?:
(
Prism
:
Prism
&
{
plugins
:
Record
<
KebabToCamelCase
<
Id
>
,
{}
>
}
,
)
=>
()
=>
void
Optional
grammar
grammar
?:
undefined
id
id
:
Id
Optional
optional
optional
?:
string
|
readonly
string
[]
Optional
plugin
plugin
?:
(
Prism
:
Prism
&
{
plugins
:
Record
<
KebabToCamelCase
<
Id
>
,
undefined
>
}
,
)
=>
PluginType
<
KebabToCamelCase
<
Id
>
>
&
{}
Optional
require
require
?:
ComponentProto
|
readonly
ComponentProto
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
alias
effect
grammar
id
optional
plugin
require
Home
GitHub
Prism API
Loading...