UNPKG

replace-quotes

Version:
9 lines (7 loc) 358 B
type match = string | [string, string] | [string, string, boolean]; type replace = string | [string, string]; declare const double: string; declare const single: string; declare const backtick: string; declare function replaceQuotes(...quotes: [...replace[], match]): (text: string) => string; export { backtick, replaceQuotes as default, double, single };