Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
robertherber committed Dec 26, 2023
1 parent ec6ce72 commit 1a40ce3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/createApp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ import type { RunBeforeServeFn } from './types'
const packageJson = readPackageJson()

export type Configure = {
readonly plugins: readonly (Plugin)[],
// eslint-disable-next-line @typescript-eslint/no-explicit-any
readonly plugins: readonly (Plugin<any, any, any>)[],
}

const logFilter = (log: string) => (log.includes('BEGIN PRIVATE KEY') || log.includes('BEGIN PUBLIC KEY') ? '<<KEY>>' : log)
Expand All @@ -33,7 +34,6 @@ export async function createTestApp<
>(plugin: Plugin<TConfig, TDefaultConfig, TResolvedConfig>) {
const resolved = plugin.configure(plugin.devConfig)
return createApp({
// @ts-expect-error test
plugins: [...plugin.dependencies, resolved],
})
}
Expand Down

0 comments on commit 1a40ce3

Please sign in to comment.