We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b3d507c commit 0b66e30Copy full SHA for 0b66e30
packages/shared/src/stroke.ts
@@ -1,9 +1,18 @@
1
-export type TecackDataset = [TargetChar, TargetCharStrokeLength, Array<TecackStroke>];
+/**
2
+ * The TecackDataset.
3
+ *
4
+ * @example ["字", 6, [..]]
5
+ */
6
+export type TecackDataset = [TargetChar, TargetCharStrokeLength, TecackStrokes];
7
8
export type TargetChar = string;
9
10
export type TargetCharStrokeLength = number;
11
12
+/** Stroke information for any single character. */
13
+export type TecackStrokes = Array<TecackStroke>;
14
+
15
+/** Information on a single stroke of any single character. */
16
export type TecackStroke = Array<Position>;
17
18
export type Position = [X, Y];
0 commit comments