We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9006bbf + 2b0ab73 commit b32f77bCopy full SHA for b32f77b
src/http-utils.ts
@@ -1,5 +1,6 @@
1
import fetch from 'node-fetch';
2
3
+// eslint-disable-next-line @typescript-eslint/ban-types
4
export function put(url: string, payload: object): Promise<unknown> {
5
return fetch(url, {
6
method: 'PUT',
src/logger.ts
@@ -1,7 +1,9 @@
export function print(message: string, ...params: (string | number | object)[]): void {
console.log(message, ...params);
}
7
export function error(message: string, ...params: (string | number | object)[]): void {
8
console.error(message, params);
9
0 commit comments