From 8a3ad716da1ac3d299ec9a71bd9c14ccb1e3ccd5 Mon Sep 17 00:00:00 2001 From: emehmet Date: Mon, 17 Apr 2023 18:31:24 +0300 Subject: [PATCH] isolatedModules issue --- types/index.ts | 7 +++++-- types/mestgps_mongo_interface.ts | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/types/index.ts b/types/index.ts index de1c6eb..55ce4cb 100644 --- a/types/index.ts +++ b/types/index.ts @@ -1,3 +1,6 @@ -export * as GraphqlServerTypes from "./graphql_server_types.ts"; +import * as GraphqlServerTypes from "./graphql_server_types.ts"; + + export * as MestgpsMongoInterface from "./mestgps_mongo_interface.ts"; -export * as ServerTypes from "./server_types.ts"; \ No newline at end of file +export * as ServerTypes from "./server_types.ts"; + diff --git a/types/mestgps_mongo_interface.ts b/types/mestgps_mongo_interface.ts index 0e6a268..b3755bb 100644 --- a/types/mestgps_mongo_interface.ts +++ b/types/mestgps_mongo_interface.ts @@ -1,4 +1,4 @@ -import { ObjectId } from "https://deno.land/x/mongo@v0.31.2/mod.ts"; +import { ObjectId } from "npm:mongodb"; import { Gps_Accuracy } from "./graphql_server_types.ts";