Skip to content

Commit 613c4d4

Browse files
committed
Update createGist.ts
1 parent 0e1849e commit 613c4d4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/createGist.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import request from './structures/request';
2-
import { GistFile, GistOptions, GistResponse } from './types';
2+
import { GistFile, GistOptions, GistResponse, ReqRet } from './types';
33

44
export default async (
55
files: GistFile,
66
description: string,
77
token: string,
88
options?: GistOptions
9-
): Promise<GistResponse> => {
9+
): Promise<ReqRet<GistResponse>> => {
1010
return await request<GistResponse>(
1111
'https://api.github.com/gists',
1212
token,

0 commit comments

Comments
 (0)