UNPKG
servertap-js
Version:
latest (0.0.1-dev)
0.0.1
0.0.1-dev
A TypeScript library for working with the ServerTap API
servertap-js
/
dist
/
base.d.ts
8 lines
(7 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
import
{
Config
}
from
'./types'
;
export
declare
abstract
class
Base
{
private
apiKey;
private
baseUrl;
constructor
(
config
:
Config
);
protected
request<T>(
endpoint
:
string
,
options
?:
RequestInit
,
contentType
?:
string
):
Promise
<T>; }