Skip to content

Commit 3f4c79b

Browse files
committed
docs: update JSDoc return tag to @return and fix description in registry.ts
(cherry picked from commit c150c08)
1 parent 93d3527 commit 3f4c79b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/angular_devkit/core/src/json/schema

packages/angular_devkit/core/src/json/schema/registry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export class CoreSchemaRegistry implements SchemaRegistry {
224224
* See: https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.appendix.B.2
225225
*
226226
* @param schema The schema or URI to flatten.
227-
* @returns An Observable of the flattened schema object.
227+
* @return A Promise that resolves to the flattened schema object.
228228
* @private since 11.2 without replacement.
229229
*/
230230
async ɵflatten(schema: JsonObject): Promise<JsonObject> {

0 commit comments

Comments
 (0)