UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

14 lines 705 B
export declare const PLAIN_TEXT = "text/plain"; export declare const TEXT_COMMA_SEPARATED_VALUES = "text/csv"; export declare const TEXT_TAB_SEPARATED_VALUES = "text/tab-separated-values"; export declare const APPLICATION_OCTET_STREAM = "application/octet-stream"; export declare function isRecognizedCodeFileName(fileName: string): boolean; /** * Given an initial Content Type and a file name, returns an appropriate Content * Type if the initial value is null or empty. Otherwise, the original Content * Type is returned. * @param type * @param fileName */ export declare function fixDefaultContentType(type: string | null, fileName: string): string; //# sourceMappingURL=ContentTypeUtils.d.ts.map