File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed
Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,10 @@ const typedSetting = {example: 'example'}
3030
3131const implicitlyTypedPlugin = ( settings ?: ExamplePluginSettings ) => { }
3232
33- const transformerPlugin = ( settings ?: ExamplePluginSettings ) => (
34- tree : Node ,
35- file : VFile
36- ) => ( {
37- type : 'random node'
38- } )
33+ const transformerPlugin =
34+ ( settings ?: ExamplePluginSettings ) => ( tree : Node , file : VFile ) => ( {
35+ type : 'random node'
36+ } )
3937
4038const pluginWithTwoSettings = (
4139 processor ?: Processor ,
Original file line number Diff line number Diff line change @@ -30,12 +30,10 @@ const typedSetting = {example: 'example'}
3030
3131const implicitlyTypedPlugin = ( settings ?: ExamplePluginSettings ) => { }
3232
33- const transformerPlugin = ( settings ?: ExamplePluginSettings ) => (
34- tree : Node ,
35- file : VFile
36- ) => ( {
37- type : 'random node'
38- } )
33+ const transformerPlugin =
34+ ( settings ?: ExamplePluginSettings ) => ( tree : Node , file : VFile ) => ( {
35+ type : 'random node'
36+ } )
3937
4038const pluginWithTwoSettings = (
4139 processor ?: Processor ,
You can’t perform that action at this time.
0 commit comments