File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ import fastifyAutoloadCjsImport = require('..')
77const fastifyAutoloadCjs = require ( '..' )
88
99const app : FastifyInstance = fastify ( )
10- app . register ( fastifyAutoloadNamed )
11- app . register ( fastifyAutoloadDefault )
12- app . register ( fastifyAutoloadCjs )
13- app . register ( fastifyAutoloadCjsImport . default )
14- app . register ( fastifyAutoloadCjsImport . fastifyAutoload )
15- app . register ( fastifyAutoloadStar . default )
16- app . register ( fastifyAutoloadStar . fastifyAutoload )
10+ app . register ( fastifyAutoloadNamed , { dir : 'test' } )
11+ app . register ( fastifyAutoloadDefault , { dir : 'test' } )
12+ app . register ( fastifyAutoloadCjs , { dir : 'test' } )
13+ app . register ( fastifyAutoloadCjsImport . default , { dir : 'test' } )
14+ app . register ( fastifyAutoloadCjsImport . fastifyAutoload , { dir : 'test' } )
15+ app . register ( fastifyAutoloadStar . default , { dir : 'test' } )
16+ app . register ( fastifyAutoloadStar . fastifyAutoload , { dir : 'test' } )
1717
1818expectType < FastifyPluginCallback < AutoloadPluginOptions > > ( fastifyAutoloadNamed )
1919expectType < FastifyPluginCallback < AutoloadPluginOptions > > ( fastifyAutoloadDefault )
You can’t perform that action at this time.
0 commit comments