From 70d48717a42fd87a45f0fa45cb2a424afd481348 Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Tue, 17 Oct 2023 14:44:48 +0530 Subject: [PATCH] fix: module augmentation code --- providers/edge_provider.ts | 1 + providers/vinejs_provider.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/providers/edge_provider.ts b/providers/edge_provider.ts index d29f1d81..76ed6aec 100644 --- a/providers/edge_provider.ts +++ b/providers/edge_provider.ts @@ -7,6 +7,7 @@ * file that was distributed with this source code. */ +import '@adonisjs/http-server' import edge, { type Edge } from 'edge.js' import type { ApplicationService } from '../src/types.js' import { BriskRoute, HttpContext, type Route, type Router } from '../modules/http/main.js' diff --git a/providers/vinejs_provider.ts b/providers/vinejs_provider.ts index beee9ca2..b1e38e5a 100644 --- a/providers/vinejs_provider.ts +++ b/providers/vinejs_provider.ts @@ -7,6 +7,7 @@ * file that was distributed with this source code. */ +import '@adonisjs/http-server' import vine, { BaseLiteralType, Vine } from '@vinejs/vine' import type { Validation, FieldContext, FieldOptions } from '@vinejs/vine/types' import type { MultipartFile, FileValidationOptions } from '@adonisjs/bodyparser/types'