pull/31/head
Samuel Lippert 2022-08-12 09:47:15 -05:00
parent cbcd8fb3da
commit e412336577
No known key found for this signature in database
GPG Key ID: 3762857AF8948B2C
2 changed files with 6 additions and 2 deletions

View File

@ -55,6 +55,7 @@ module.exports = defineConfig({
'@typescript-eslint/no-empty-interface': 'off', '@typescript-eslint/no-empty-interface': 'off',
'@typescript-eslint/no-inferrable-types': 'off', '@typescript-eslint/no-inferrable-types': 'off',
'@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }], '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }],
}, },
}) })

View File

@ -1,5 +1,8 @@
import type { Context, Handler } from 'https://raw.githubusercontent.com/honojs/hono/v2.0.6/deno_dist/mod.ts' import Toucan from 'https://cdn.skypack.dev/toucan-js@2.6.1'
import Toucan from "https://cdn.skypack.dev/toucan-js@2.6.1" import type {
Context,
Handler,
} from 'https://raw.githubusercontent.com/honojs/hono/v2.0.6/deno_dist/mod.ts'
declare module 'https://raw.githubusercontent.com/honojs/hono/v2.0.6/deno_dist/mod.ts' { declare module 'https://raw.githubusercontent.com/honojs/hono/v2.0.6/deno_dist/mod.ts' {
interface ContextVariableMap { interface ContextVariableMap {