@maverick-js/compiler
Advanced tools
Comparing version 0.18.0 to 0.18.1
@@ -470,6 +470,9 @@ import { TS_NODE, resolvePath, resolveConfigPaths, resolveCorePkgName, camelToKebabCase } from './chunks/chunk-BIOVNH5X.js'; | ||
let internal, deprecated, bubbles, composed, cancellable; | ||
const domEvent = type.serialized.startsWith("DOMEvent") ? type.serialized : declaration && ts4.isInterfaceDeclaration(declaration) ? ((_c = (_b = (_a = declaration.heritageClauses) == null ? void 0 : _a[0]) == null ? void 0 : _b.types.find( | ||
type.serialized.startsWith("DOMEvent") ? type.serialized : declaration && ts4.isInterfaceDeclaration(declaration) ? ((_c = (_b = (_a = declaration.heritageClauses) == null ? void 0 : _a[0]) == null ? void 0 : _b.types.find( | ||
(type2) => ts4.isExpressionWithTypeArguments(type2) && ts4.isIdentifier(type2.expression) && type2.expression.escapedText.startsWith("DOMEvent") | ||
)) == null ? void 0 : _c.getText()) ?? "unknown" : "unknown"; | ||
const detail = ((_d = domEvent.match(/DOMEvent<(.*)>/)) == null ? void 0 : _d[1]) ?? domEvent; | ||
const detailType = signature.type ? checker.getPropertyOfType(checker.getTypeAtLocation(signature.type), "detail") : null, detail = detailType && ((_d = detailType.declarations) == null ? void 0 : _d[0]) ? serializeType( | ||
checker, | ||
checker.getTypeOfSymbolAtLocation(detailType, detailType.declarations[0]) | ||
) : "unknown"; | ||
if (doctags) { | ||
@@ -476,0 +479,0 @@ if (hasDocTag(doctags, "internal")) |
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "0.18.0", | ||
"version": "0.18.1", | ||
"type": "module", | ||
@@ -8,0 +8,0 @@ "module": "./dist/index.js", |
Sorry, the diff of this file is not supported yet
243721
6702