(instance, opts, done)
| 15 | option2: false |
| 16 | } |
| 17 | const testPluginOpts: FastifyPluginCallback<TestOptions> = function (instance, opts, done) { |
| 18 | expect(opts).type.toBe<TestOptions>() |
| 19 | } |
| 20 | const testPluginOptsAsync: FastifyPluginAsync<TestOptions> = async function (instance, opts) { |
| 21 | expect(opts).type.toBe<TestOptions>() |
| 22 | } |
nothing calls this directly
no outgoing calls
no test coverage detected