@angular/compiler-cli 18.0.2 → 18.0.4
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/bundles/{chunk-BOT54HZ5.js → chunk-4B53GUJY.js} +7 -4
- package/bundles/chunk-4B53GUJY.js.map +6 -0
- package/bundles/{chunk-HGUKV37D.js → chunk-6URKYGDE.js} +2 -2
- package/bundles/{chunk-RZ7P6VD7.js → chunk-BLUBTRCD.js} +6 -4
- package/bundles/{chunk-RZ7P6VD7.js.map → chunk-BLUBTRCD.js.map} +1 -1
- package/bundles/{chunk-EDA6DBVV.js → chunk-DSDKAUAS.js} +2 -2
- package/bundles/{chunk-LRVXZT7X.js → chunk-XPJBEUMY.js} +3 -3
- package/bundles/{chunk-46XI27YO.js → chunk-XSV3ZGZJ.js} +6 -4
- package/bundles/{chunk-46XI27YO.js.map → chunk-XSV3ZGZJ.js.map} +1 -1
- package/bundles/index.js +5 -5
- package/bundles/linker/babel/index.js +5 -5
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +2 -2
- package/bundles/private/migrations.js +2 -2
- package/bundles/private/tooling.js +3 -3
- package/bundles/src/bin/ng_xi18n.js +4 -4
- package/bundles/src/bin/ngc.js +4 -4
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/docs/src/entities.d.ts +1 -0
- package/bundles/chunk-BOT54HZ5.js.map +0 -6
- /package/bundles/{chunk-HGUKV37D.js.map → chunk-6URKYGDE.js.map} +0 -0
- /package/bundles/{chunk-EDA6DBVV.js.map → chunk-DSDKAUAS.js.map} +0 -0
- /package/bundles/{chunk-LRVXZT7X.js.map → chunk-XPJBEUMY.js.map} +0 -0
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
isHostDirectiveMetaForGlobalMode,
|
|
45
45
|
ivyTransformFactory,
|
|
46
46
|
tryParseInitializerApi
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-6URKYGDE.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsoluteModuleStrategy,
|
|
50
50
|
AliasStrategy,
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
toUnredirectedSourceFile,
|
|
95
95
|
translateExpression,
|
|
96
96
|
translateType
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-BLUBTRCD.js";
|
|
98
98
|
import {
|
|
99
99
|
ActivePerfRecorder,
|
|
100
100
|
DelegatingPerfRecorder,
|
|
@@ -274,17 +274,20 @@ var FunctionExtractor = class {
|
|
|
274
274
|
this.typeChecker = typeChecker;
|
|
275
275
|
}
|
|
276
276
|
extract() {
|
|
277
|
+
var _a;
|
|
277
278
|
const signature = this.typeChecker.getSignatureFromDeclaration(this.declaration);
|
|
278
279
|
const returnType = signature ? this.typeChecker.typeToString(this.typeChecker.getReturnTypeOfSignature(signature)) : "unknown";
|
|
280
|
+
const jsdocsTags = extractJsDocTags(this.declaration);
|
|
279
281
|
return {
|
|
280
282
|
params: extractAllParams(this.declaration.parameters, this.typeChecker),
|
|
281
283
|
name: this.name,
|
|
282
284
|
isNewType: ts3.isConstructSignatureDeclaration(this.declaration),
|
|
283
285
|
returnType,
|
|
286
|
+
returnDescription: (_a = jsdocsTags.find((tag) => tag.name === "returns")) == null ? void 0 : _a.comment,
|
|
284
287
|
entryType: EntryType.Function,
|
|
285
288
|
generics: extractGenerics(this.declaration),
|
|
286
289
|
description: extractJsDocDescription(this.declaration),
|
|
287
|
-
jsdocTags:
|
|
290
|
+
jsdocTags: jsdocsTags,
|
|
288
291
|
rawComment: extractRawJsDoc(this.declaration)
|
|
289
292
|
};
|
|
290
293
|
}
|
|
@@ -10803,4 +10806,4 @@ export {
|
|
|
10803
10806
|
* Use of this source code is governed by an MIT-style license that can be
|
|
10804
10807
|
* found in the LICENSE file at https://angular.io/license
|
|
10805
10808
|
*/
|
|
10806
|
-
//# sourceMappingURL=chunk-
|
|
10809
|
+
//# sourceMappingURL=chunk-4B53GUJY.js.map
|