Skip to content

Commit 79bfaaf

Browse files
committed
lib: rename da.ts to d.ts
It now deals with both `@da` and `@dr`, so should be named accordingly, similar to r.ts.
1 parent c7a03a0 commit 79bfaaf

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed
File renamed without changes.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export { render, scot, rend } from './render'; //TODO expose encodeString() ?
66

77
// atom utils
88

9-
import { toUnix, fromUnix, fromSeconds, toSeconds } from './da';
9+
import { toUnix, fromUnix, fromSeconds, toSeconds } from './d';
1010
export const da = { toUnix, fromUnix };
1111
export const dr = { toSeconds, fromSeconds };
1212

src/parse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import { aura, dime, coin } from './types';
99

10-
import { parseDa, parseDr } from './da';
10+
import { parseDa, parseDr } from './d';
1111
import { parseValidP, regexP } from './p';
1212
import { parseValidQ } from './q';
1313
import { parseR, precision } from './r';

src/render.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import { aura, coin } from './types';
99

10-
import { renderDa, renderDr } from './da';
10+
import { renderDa, renderDr } from './d';
1111
import { renderP } from './p';
1212
import { renderQ } from './q';
1313
import { renderR } from './r';

0 commit comments

Comments
 (0)