mirror of
https://github.com/mattermost/mattermost-mobile.git
synced 2026-11-05 02:18:56 +00:00
5 lines
196 B
TypeScript
5 lines
196 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
export type FirstArgument<T> = T extends (...args: infer P) => any ? P[0] : never;
|