UNPKG
smc-hub
Version:
basepath (1.8.0)
latest (1.10.1)
1.10.1
1.10.0
1.9.0
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.0
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.4
1.4.3
1.4.2
1.4.1
1.4.0
1.3.3
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.1
1.1.0
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
CoCalc: Backend webserver component
github.com/sagemathinc/cocalc
sagemathinc/cocalc
smc-hub
/
dist
/
servers
/
http.d.ts
10 lines
(9 loc)
•
269 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
/// <reference types="node" />
import
{
Application
}
from
"express"
;
interface
Options
{
cert
?:
string
;
key
?:
string
;
app
:
Application
; }
export
default
function
init
(
{ cert, key, app }:
Options
):
import
(
"http"
).
Server
|
import
(
"https"
).
Server
;
export
{};