Skip to content

Commit

Permalink
feat(exposed): replaces trim w/ line -adds line
Browse files Browse the repository at this point in the history
  • Loading branch information
rafamel committed Apr 23, 2019
1 parent a92997e commit 7d3baab
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/exposed/index.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export { default as options } from './options';
export { default as trim } from './trim';
export { default as line } from './line';
10 changes: 10 additions & 0 deletions src/exposed/line.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import { oneLine } from 'common-tags';

export default line;

function line(str: string): string;
function line(literals: string[], ...placeholders: any[]): string;
function line(...args: any[]): string {
// @ts-ignore
return oneLine(...args);
}
7 changes: 0 additions & 7 deletions src/exposed/trim.ts

This file was deleted.

0 comments on commit 7d3baab

Please sign in to comment.