fix(User): narrow create dm channel result (#1795)

This commit is contained in:
Michael H
2026-09-07 09:16:58 +01:00
committed by GitHub
parent dbde4eed95
commit 50752c0cba
4 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
import type { Permissions, Snowflake } from '../../globals.ts';
import type {
APIChannel,
APIConnection,
APIDMChannel,
APIGuildMember,
APIUser,
APIApplicationRoleConnection,
@@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody {
/**
* @see {@link https://discord.com/developers/docs/resources/user#create-dm}
*/
export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel;
export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel;
/**
* @see {@link https://discord.com/developers/docs/resources/user#get-user-connections}
+2 -2
View File
@@ -1,7 +1,7 @@
import type { Permissions, Snowflake } from '../../globals.ts';
import type {
APIChannel,
APIConnection,
APIDMChannel,
APIGuildMember,
APIUser,
APIApplicationRoleConnection,
@@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody {
/**
* @see {@link https://discord.com/developers/docs/resources/user#create-dm}
*/
export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel;
export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel;
/**
* @see {@link https://discord.com/developers/docs/resources/user#get-user-connections}
+2 -2
View File
@@ -1,7 +1,7 @@
import type { Permissions, Snowflake } from '../../globals';
import type {
APIChannel,
APIConnection,
APIDMChannel,
APIGuildMember,
APIUser,
APIApplicationRoleConnection,
@@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody {
/**
* @see {@link https://discord.com/developers/docs/resources/user#create-dm}
*/
export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel;
export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel;
/**
* @see {@link https://discord.com/developers/docs/resources/user#get-user-connections}
+2 -2
View File
@@ -1,7 +1,7 @@
import type { Permissions, Snowflake } from '../../globals';
import type {
APIChannel,
APIConnection,
APIDMChannel,
APIGuildMember,
APIUser,
APIApplicationRoleConnection,
@@ -107,7 +107,7 @@ export interface RESTPostAPICurrentUserCreateDMChannelJSONBody {
/**
* @see {@link https://discord.com/developers/docs/resources/user#create-dm}
*/
export type RESTPostAPICurrentUserCreateDMChannelResult = APIChannel;
export type RESTPostAPICurrentUserCreateDMChannelResult = APIDMChannel;
/**
* @see {@link https://discord.com/developers/docs/resources/user#get-user-connections}