Skip to content

Commit

Permalink
add Type to number, punctuation and currency + file/export mispelling
Browse files Browse the repository at this point in the history
  • Loading branch information
nclslbrn committed May 20, 2024
1 parent 57db8bc commit 357f6be
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/currency.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const currency = {
import { type Font } from "./type";

export default {
"¢": [
[
[0.725, 0.35],
Expand Down Expand Up @@ -85,6 +87,4 @@ const currency = {
[0.55, 0.5],
],
],
};

export default currency;
} as Font;
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type Vec, Line, Glyph, Font } from "./type";
import lowercase from "./lowercase/index";
import uppercase from "./uppercase/index";
import ponctuation from "./poncuation";
import ponctuation from "./punctuation";
import number from "./number";
import currency from "./currency";

Expand Down
8 changes: 4 additions & 4 deletions src/number.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const number = {
import { type Font } from "./type";

export default {
0: [
[
[0.15, 0.271],
Expand Down Expand Up @@ -110,6 +112,4 @@ const number = {
[0.15, 0.7],
],
],
};

export default number;
} as Font;
7 changes: 4 additions & 3 deletions src/poncuation.ts → src/punctuation.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
const ponctuation = {
import { type Font } from "./type";

export default {
".": [
[
[0.5, 0.675],
Expand Down Expand Up @@ -679,5 +681,4 @@ const ponctuation = {
[0.7, 0.3],
],
],
};
export default ponctuation;
} as Font;

0 comments on commit 357f6be

Please sign in to comment.