mirror of
https://github.com/MrUnknownDE/UnknownBot.git
synced 2026-04-19 05:03:44 +02:00
start nodejs bot
This commit is contained in:
30
node_modules/filenamify/index.d.ts
generated
vendored
Normal file
30
node_modules/filenamify/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
export interface Options {
|
||||
/**
|
||||
* String to use as replacement for reserved filename characters.
|
||||
*
|
||||
* Cannot contain: `<` `>` `:` `"` `/` `\` `|` `?` `*`
|
||||
*
|
||||
* @default '!'
|
||||
*/
|
||||
readonly replacement?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Accepts a filename and returns a valid filename.
|
||||
*
|
||||
* @param input - A string to convert to a valid filename.
|
||||
*/
|
||||
export interface Filenamify {
|
||||
(input: string, options?: Options): string;
|
||||
|
||||
/**
|
||||
* Accepts a path and returns the path with a valid filename.
|
||||
*
|
||||
* @param input - A string to convert to a valid path with a filename.
|
||||
*/
|
||||
path(input: string, options?: Options): string;
|
||||
}
|
||||
|
||||
declare const filenamify: Filenamify;
|
||||
|
||||
export default filenamify;
|
||||
Reference in New Issue
Block a user