octokit-plugin-create-pull-request 中 octokit.createPullRequest() 返回值的数据类型是什么?

What's the datatype of the value returned by octokit.createPullRequest() in octokit-plugin-create-pull-request?

我想从 react-native 应用程序发出拉取请求。我正在使用来自 here 的 octokit-plugin-create-pull-request 库。他们的文档中有一个函数 octokit.createPullRequest() 。我现在需要知道它 returns 值的数据类型。它是一个数组还是一个对象?还是另一种数据类型?

它 returns 一个拉取请求对象,具有您在示例响应中看到的属性 https://docs.github.com/en/rest/reference/pulls#create-a-pull-request