mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 14:13:43 +01:00
Merge pull request #34344 from overleaf/copilot/convert-fetch-utils-to-es-modules
Convert @overleaf/fetch-utils to TypeScript ESM with Vitest, enable noImplicitAny, fix downstream regressions, and align buildscript generation GitOrigin-RevId: e060152f056cbae31da0650fb22471525835bd5e
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
const express = require('express')
|
||||
const { EventEmitter } = require('node:events')
|
||||
const http = require('node:http')
|
||||
const https = require('node:https')
|
||||
const { promisify } = require('node:util')
|
||||
import express from 'express'
|
||||
import { EventEmitter } from 'node:events'
|
||||
import http from 'node:http'
|
||||
import https from 'node:https'
|
||||
import { promisify } from 'node:util'
|
||||
|
||||
class TestServer {
|
||||
constructor() {
|
||||
@@ -135,4 +135,4 @@ class TestServer {
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = { TestServer }
|
||||
export { TestServer }
|
||||
|
||||
Reference in New Issue
Block a user