|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
439 bytes
|
| Line | |
|---|
| 1 | import type { Config, PluginCreator } from './types/config'
|
|---|
| 2 | type Plugin = {
|
|---|
| 3 | withOptions<T>(
|
|---|
| 4 | plugin: (options: T) => PluginCreator,
|
|---|
| 5 | config?: (options: T) => Partial<Config>
|
|---|
| 6 | ): { (options: T): { handler: PluginCreator; config?: Partial<Config> }; __isOptionsFunction: true }
|
|---|
| 7 | (plugin: PluginCreator, config?: Partial<Config>): { handler: PluginCreator; config?: Partial<Config> }
|
|---|
| 8 | }
|
|---|
| 9 |
|
|---|
| 10 | declare const plugin: Plugin
|
|---|
| 11 | export = plugin
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.