diff --git a/types/glue/glue-tests.ts b/types/glue/glue-tests.ts index 577434661a..dd400697e6 100644 --- a/types/glue/glue-tests.ts +++ b/types/glue/glue-tests.ts @@ -7,9 +7,9 @@ const manifest: Glue.Manifest = { }, register: { plugins: [ - "test-plugin", + "./test-plugin.js", { - plugin: "./test", + plugin: "./test.js", routes: { prefix: "test" } diff --git a/types/glue/index.d.ts b/types/glue/index.d.ts index 71c7714827..060d729d66 100644 --- a/types/glue/index.d.ts +++ b/types/glue/index.d.ts @@ -24,7 +24,7 @@ export interface Plugin { export interface Manifest { server: ServerOptions; register?: { - plugins: string[] | Plugin[] + plugins: string[] | Plugin[] | Array<(string|Plugin)> }; }