Skip to content

Commit

Permalink
a36744e docs: move JSDoc before functions (#58087)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKushnir committed Oct 4, 2024
1 parent 6b0d1ed commit 8c24da2
Show file tree
Hide file tree
Showing 29 changed files with 47 additions and 47 deletions.
4 changes: 2 additions & 2 deletions BUILD_INFO
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Fri Oct 4 21:44:01 UTC 2024
0eb1c5c021bd49f94d289d993a5ab7fd19887e3f
Fri Oct 4 21:53:13 UTC 2024
a36744e4bb946cb10c10542e6b3700cd70633666
6 changes: 3 additions & 3 deletions fesm2022/core.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -17029,7 +17029,7 @@ function createRootComponent(componentView, rootComponentDef, rootDirectives, ho
function setRootNodeAttributes(hostRenderer, componentDef, hostRNode, rootSelectorOrNode) {
if (rootSelectorOrNode) {
// The placeholder will be replaced with the actual version at build time.
setUpAttributes(hostRenderer, hostRNode, ['ng-version', '19.0.0-next.8+sha-0eb1c5c']);
setUpAttributes(hostRenderer, hostRNode, ['ng-version', '19.0.0-next.8+sha-a36744e']);
}
else {
// If host element is created as a part of this function call (i.e. `rootSelectorOrNode`
Expand Down Expand Up @@ -31314,7 +31314,7 @@ class Version {
/**
* @publicApi
*/
const VERSION = new Version('19.0.0-next.8+sha-0eb1c5c');
const VERSION = new Version('19.0.0-next.8+sha-a36744e');

/*
* This file exists to support compilation of @angular/core in Ivy mode.
Expand Down
2 changes: 1 addition & 1 deletion fesm2022/core.mjs.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion fesm2022/primitives/event-dispatch.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion fesm2022/primitives/signals.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion fesm2022/rxjs-interop.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
8 changes: 4 additions & 4 deletions fesm2022/testing.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -175,10 +175,10 @@ class TestBedApplicationErrorHandler {
throw e;
}
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.8+sha-0eb1c5c", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.8+sha-0eb1c5c", ngImport: i0, type: TestBedApplicationErrorHandler }); }
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0-next.8+sha-a36744e", ngImport: i0, type: TestBedApplicationErrorHandler, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.0-next.8+sha-a36744e", ngImport: i0, type: TestBedApplicationErrorHandler }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.8+sha-0eb1c5c", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0-next.8+sha-a36744e", ngImport: i0, type: TestBedApplicationErrorHandler, decorators: [{
type: Injectable
}] });

Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@angular/core",
"version": "19.0.0-next.8+sha-0eb1c5c",
"version": "19.0.0-next.8+sha-a36744e",
"description": "Angular - the core framework",
"author": "angular",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion primitives/event-dispatch/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion primitives/signals/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion rxjs-interop/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
4 changes: 2 additions & 2 deletions schematics/bundles/checker-e68dd7ce.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -29246,7 +29246,7 @@ function publishFacade(global) {
* @description
* Entry point for all public APIs of the compiler package.
*/
new Version('19.0.0-next.8+sha-0eb1c5c');
new Version('19.0.0-next.8+sha-a36744e');

const _I18N_ATTR = 'i18n';
const _I18N_ATTR_PREFIX = 'i18n-';
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/compiler_host-9a4d0c2b.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/control-flow-migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/explicit-standalone-flag.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
4 changes: 2 additions & 2 deletions schematics/bundles/group_replacements-2abd53dc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -29368,7 +29368,7 @@ function publishFacade(global) {
* @description
* Entry point for all public APIs of the compiler package.
*/
new Version('19.0.0-next.8+sha-0eb1c5c');
new Version('19.0.0-next.8+sha-a36744e');

var _VisitorMode;
(function (_VisitorMode) {
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/imports-4ac08251.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/inject-migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/leading_space-d190b83b.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/nodes-0e7d45ca.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/pending-tasks.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
20 changes: 10 additions & 10 deletions schematics/bundles/program-921f9663.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -864,7 +864,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
function compileDeclareClassMetadata(metadata) {
const definitionMap = new checker.DefinitionMap();
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
definitionMap.set('type', metadata.type);
definitionMap.set('decorators', metadata.decorators);
Expand All @@ -882,7 +882,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? checker.literal(null));
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? checker.literal(null));
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
definitionMap.set('type', metadata.type);
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
Expand Down Expand Up @@ -977,7 +977,7 @@ function createDirectiveDefinitionMap(meta) {
const definitionMap = new checker.DefinitionMap();
const minVersion = getMinimumVersionForPartialOutput(meta);
definitionMap.set('minVersion', checker.literal(minVersion));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
// e.g. `type: MyDirective`
definitionMap.set('type', meta.type.value);
if (meta.isStandalone) {
Expand Down Expand Up @@ -1396,7 +1396,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
function compileDeclareFactoryFunction(meta) {
const definitionMap = new checker.DefinitionMap();
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
definitionMap.set('type', meta.type.value);
definitionMap.set('deps', compileDependencies(meta.deps));
Expand Down Expand Up @@ -1431,7 +1431,7 @@ function compileDeclareInjectableFromMetadata(meta) {
function createInjectableDefinitionMap(meta) {
const definitionMap = new checker.DefinitionMap();
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
definitionMap.set('type', meta.type.value);
// Only generate providedIn property if it has a non-null value
Expand Down Expand Up @@ -1482,7 +1482,7 @@ function compileDeclareInjectorFromMetadata(meta) {
function createInjectorDefinitionMap(meta) {
const definitionMap = new checker.DefinitionMap();
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
definitionMap.set('type', meta.type.value);
definitionMap.set('providers', meta.providers);
Expand Down Expand Up @@ -1515,7 +1515,7 @@ function createNgModuleDefinitionMap(meta) {
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
}
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
definitionMap.set('type', meta.type.value);
// We only generate the keys in the metadata if the arrays contain values.
Expand Down Expand Up @@ -1566,7 +1566,7 @@ function compileDeclarePipeFromMetadata(meta) {
function createPipeDefinitionMap(meta) {
const definitionMap = new checker.DefinitionMap();
definitionMap.set('minVersion', checker.literal(MINIMUM_PARTIAL_LINKER_VERSION));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-0eb1c5c'));
definitionMap.set('version', checker.literal('19.0.0-next.8+sha-a36744e'));
definitionMap.set('ngImport', checker.importExpr(checker.Identifiers.core));
// e.g. `type: MyPipe`
definitionMap.set('type', meta.type.value);
Expand Down Expand Up @@ -19271,7 +19271,7 @@ var semver = /*@__PURE__*/getDefaultExportFromCjs(semverExports);
* @param minVersion Minimum required version for the feature.
*/
function coreVersionSupportsFeature(coreVersion, minVersion) {
// A version of `19.0.0-next.8+sha-0eb1c5c` usually means that core is at head so it supports
// A version of `19.0.0-next.8+sha-a36744e` usually means that core is at head so it supports
// all features. Use string interpolation prevent the placeholder from being replaced
// with the current version during build time.
if (coreVersion === `0.0.0-${'PLACEHOLDER'}`) {
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/project_tsconfig_paths-e9ccccbf.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/route-lazy-loading.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/signal-input-migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
2 changes: 1 addition & 1 deletion schematics/bundles/signal-queries-migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down
4 changes: 2 additions & 2 deletions schematics/bundles/standalone-migration.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down Expand Up @@ -32,7 +32,7 @@ var ts__default = /*#__PURE__*/_interopDefaultLegacy(ts);
* @description
* Entry point for all public APIs of the compiler-cli package.
*/
new checker.Version('19.0.0-next.8+sha-0eb1c5c');
new checker.Version('19.0.0-next.8+sha-a36744e');

function createProgram({ rootNames, options, host, oldProgram, }) {
return new program.NgtscProgram(rootNames, options, host, oldProgram);
Expand Down
2 changes: 1 addition & 1 deletion testing/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* @license Angular v19.0.0-next.8+sha-0eb1c5c
* @license Angular v19.0.0-next.8+sha-a36744e
* (c) 2010-2024 Google LLC. https://angular.io/
* License: MIT
*/
Expand Down

0 comments on commit 8c24da2

Please sign in to comment.