UNPKG

barrelsby

Version:

Automatic TypeScript barrels for your entire code base

6 lines (4 loc) 157 B
export type QuoteCharacter = '"' | "'"; export function getQuoteCharacter(isSingleQuotes: boolean): QuoteCharacter { return isSingleQuotes ? "'" : '"'; }