@orkestrel/guide 0.0.18 → 0.0.19
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/dist/src/core/index.cjs +3 -2
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +2 -1
- package/dist/src/core/index.d.ts +2 -1
- package/dist/src/core/index.js +3 -2
- package/dist/src/core/index.js.map +1 -1
- package/dist/src/server/index.cjs +3 -2
- package/dist/src/server/index.cjs.map +1 -1
- package/dist/src/server/index.js +3 -2
- package/dist/src/server/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -2068,7 +2068,8 @@ function extractBodyLines(lines) {
|
|
|
2068
2068
|
* and {@link locateComment} matches a caller's key against the whole map. A change to the head
|
|
2069
2069
|
* shape or to the member shape reaches every one of them at once.
|
|
2070
2070
|
*
|
|
2071
|
-
* An owner opens at a column-zero `export class` or `export interface`
|
|
2071
|
+
* An owner opens at a column-zero `export class`, `export abstract class`, or `export interface`
|
|
2072
|
+
* head and closes at the
|
|
2072
2073
|
* first column-zero `}`, so a member declared past that brace keys nothing. A column-zero `export` declaration carrying any other keyword closes the owner it follows,
|
|
2073
2074
|
* because a member belongs to the head enclosing it. Reading runs over {@link extractSourceLines}'s
|
|
2074
2075
|
* projection, so a head or
|
|
@@ -2087,7 +2088,7 @@ function collectKeys(lines) {
|
|
|
2087
2088
|
const keys = /* @__PURE__ */ new Map();
|
|
2088
2089
|
let owner;
|
|
2089
2090
|
for (const line of lines) {
|
|
2090
|
-
const head = /^export (?:async )?(function\*?|class|const|interface|type) (\w+)/.exec(line.code);
|
|
2091
|
+
const head = /^export (?:async )?(?:abstract )?(function\*?|class|const|interface|type) (\w+)/.exec(line.code);
|
|
2091
2092
|
const keyword = head?.[1]?.replace(/\*$/, "");
|
|
2092
2093
|
const name = head?.[2];
|
|
2093
2094
|
if ((0, _orkestrel_contract.isNonEmptyString)(keyword) && (0, _orkestrel_contract.isNonEmptyString)(name) && isExportKeyword(keyword)) {
|