commit
This commit is contained in:
parent
be4fd23bcf
commit
0bd53741af
728 changed files with 86573 additions and 0 deletions
15
node_modules/telegraf/typings/util.d.ts
generated
vendored
Normal file
15
node_modules/telegraf/typings/util.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
/// <reference types="node" />
|
||||
import { FmtString } from './format';
|
||||
export declare const env: NodeJS.ProcessEnv;
|
||||
export declare type Expand<T> = T extends object ? T extends infer O ? {
|
||||
[K in keyof O]: O[K];
|
||||
} : never : T;
|
||||
declare type MaybeExtra<Extra> = (Extra & {
|
||||
caption?: string;
|
||||
}) | undefined;
|
||||
export declare function fmtCaption<Extra extends {
|
||||
caption?: string | FmtString;
|
||||
} & Record<string, unknown>>(extra?: Extra): MaybeExtra<Extra>;
|
||||
export declare function deprecate(method: string, ignorable: string | undefined, use: string | undefined, see?: string): void;
|
||||
export {};
|
||||
//# sourceMappingURL=util.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue