@effected/markdown 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/MarkdownNode.js +8 -9
- package/index.d.ts +8 -9
- package/package.json +1 -1
package/MarkdownNode.js
CHANGED
|
@@ -501,15 +501,14 @@ var TableCell = class extends Schema.Class("TableCell")({
|
|
|
501
501
|
* content — the cells in a {@link TableRow}. A one-member union, kept because
|
|
502
502
|
* mdast names the category.
|
|
503
503
|
*
|
|
504
|
-
* A REAL `Schema.Union`, not a bare suspended class reference
|
|
505
|
-
*
|
|
506
|
-
*
|
|
507
|
-
*
|
|
508
|
-
*
|
|
509
|
-
*
|
|
510
|
-
*
|
|
511
|
-
*
|
|
512
|
-
* "simplify" them back to the member class.
|
|
504
|
+
* A REAL `Schema.Union`, not a bare suspended class reference. `make` passes
|
|
505
|
+
* an already-constructed class instance through a nested class-typed field
|
|
506
|
+
* by reference regardless of whether the field is a plain class type or —
|
|
507
|
+
* as here — wrapped in a `Schema.Union`, so the wrapper buys no
|
|
508
|
+
* construction-cost advantage over the bare member class. It is kept
|
|
509
|
+
* because mdast names the category: the `children` fields of `TableRow`,
|
|
510
|
+
* `Table` and `List` point at these category unions to mirror mdast's
|
|
511
|
+
* content-model vocabulary, not for a performance reason.
|
|
513
512
|
*
|
|
514
513
|
* @public
|
|
515
514
|
*/
|
package/index.d.ts
CHANGED
|
@@ -543,15 +543,14 @@ export declare class TableCell extends TableCell_base {}
|
|
|
543
543
|
* content — the cells in a {@link TableRow}. A one-member union, kept because
|
|
544
544
|
* mdast names the category.
|
|
545
545
|
*
|
|
546
|
-
* A REAL `Schema.Union`, not a bare suspended class reference
|
|
547
|
-
*
|
|
548
|
-
*
|
|
549
|
-
*
|
|
550
|
-
*
|
|
551
|
-
*
|
|
552
|
-
*
|
|
553
|
-
*
|
|
554
|
-
* "simplify" them back to the member class.
|
|
546
|
+
* A REAL `Schema.Union`, not a bare suspended class reference. `make` passes
|
|
547
|
+
* an already-constructed class instance through a nested class-typed field
|
|
548
|
+
* by reference regardless of whether the field is a plain class type or —
|
|
549
|
+
* as here — wrapped in a `Schema.Union`, so the wrapper buys no
|
|
550
|
+
* construction-cost advantage over the bare member class. It is kept
|
|
551
|
+
* because mdast names the category: the `children` fields of `TableRow`,
|
|
552
|
+
* `Table` and `List` point at these category unions to mirror mdast's
|
|
553
|
+
* content-model vocabulary, not for a performance reason.
|
|
555
554
|
*
|
|
556
555
|
* @public
|
|
557
556
|
*/
|