tipoArquivo
This commit is contained in:
parent
e87d0a0239
commit
eae585645d
5 changed files with 51 additions and 5 deletions
10
dist/extensoes.d.ts
vendored
10
dist/extensoes.d.ts
vendored
|
|
@ -1,5 +1,13 @@
|
|||
type tiposArquivo = "imagem" | "documento" | "vídeo" | "outros";
|
||||
export declare const extensoes: {
|
||||
ext: string;
|
||||
tipo: "imagem" | "documento" | "vídeo";
|
||||
tipo: tiposArquivo;
|
||||
mime: string;
|
||||
}[];
|
||||
/**
|
||||
* Função que retorna o tipo do arquivo
|
||||
* @param nomeArquivo
|
||||
* @returns
|
||||
*/
|
||||
export declare const tipoArquivo: (nomeArquivo: string | null | undefined) => tiposArquivo;
|
||||
export {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue