Skip to content

Commit 0b77b3e

Browse files
0513fbc docs: set syntax highlighting of code examples MD code blocks (#59026)
1 parent 8be7487 commit 0b77b3e

File tree

5 files changed

+25
-25
lines changed

5 files changed

+25
-25
lines changed

BUILD_INFO

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Wed Dec 4 15:26:15 UTC 2024
2-
dc7d555e42839bb9554f77732b213f51d7b09a1c
1+
Wed Dec 4 16:35:13 UTC 2024
2+
0513fbc9fc8d32a4b40e7908cae594754741e587

fesm2022/compiler.mjs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v19.1.0-next.1+sha-dc7d555
2+
* @license Angular v19.1.0-next.1+sha-0513fbc
33
* (c) 2010-2024 Google LLC. https://angular.io/
44
* License: MIT
55
*/
@@ -3936,7 +3936,7 @@ function convertFromMaybeForwardRefExpression({ expression, forwardRef, }) {
39363936
/**
39373937
* Generate an expression that has the given `expr` wrapped in the following form:
39383938
*
3939-
* ```
3939+
* ```ts
39403940
* forwardRef(() => expr)
39413941
* ```
39423942
*/
@@ -11881,14 +11881,14 @@ const MAX_CHAIN_LENGTH = 256;
1188111881
*
1188211882
* For example, two `elementStart` operations in sequence:
1188311883
*
11884-
* ```typescript
11884+
* ```ts
1188511885
* elementStart(0, 'div');
1188611886
* elementStart(1, 'span');
1188711887
* ```
1188811888
*
1188911889
* Can be called as a chain instead:
1189011890
*
11891-
* ```typescript
11891+
* ```ts
1189211892
* elementStart(0, 'div')(1, 'span');
1189311893
* ```
1189411894
*/
@@ -20931,7 +20931,7 @@ const GOOG_GET_MSG = 'goog.getMsg';
2093120931
*
2093220932
* Generates:
2093320933
*
20934-
* ```typescript
20934+
* ```ts
2093520935
* const MSG_FOO = goog.getMsg(
2093620936
* // Message template.
2093720937
* 'Sent from {$interpolation} to {$startTagSpan}{$interpolation_1}{$closeTagSpan}.',
@@ -21375,7 +21375,7 @@ function addSubMessageParams(messageOp, subMessagePlaceholders) {
2137521375
/**
2137621376
* Generate statements that define a given translation message.
2137721377
*
21378-
* ```
21378+
* ```ts
2137921379
* var I18N_1;
2138021380
* if (typeof ngI18nClosureMode !== undefined && ngI18nClosureMode) {
2138121381
* var MSG_EXTERNAL_XXX = goog.getMsg(
@@ -21414,7 +21414,7 @@ function getTranslationDeclStmts(message, variable, closureVar, params, transfor
2141421414
* Create the expression that will be used to guard the closure mode block
2141521415
* It is equivalent to:
2141621416
*
21417-
* ```
21417+
* ```ts
2141821418
* typeof ngI18nClosureMode !== undefined && ngI18nClosureMode
2141921419
* ```
2142021420
*/
@@ -26520,7 +26520,7 @@ const queryAdvancePlaceholder = Symbol('queryAdvancePlaceholder');
2652026520
*
2652126521
* --> will turn into
2652226522
*
26523-
* ```
26523+
* ```ts
2652426524
* bla();
2652526525
* queryAdvance(2);
2652626526
* bla();
@@ -30883,7 +30883,7 @@ function publishFacade(global) {
3088330883
* @description
3088430884
* Entry point for all public APIs of the compiler package.
3088530885
*/
30886-
const VERSION = new Version('19.1.0-next.1+sha-dc7d555');
30886+
const VERSION = new Version('19.1.0-next.1+sha-0513fbc');
3088730887

3088830888
class CompilerConfig {
3088930889
defaultEncapsulation;
@@ -32538,7 +32538,7 @@ function internalCompileClassMetadata(metadata) {
3253832538
* loads dependencies from `@defer` blocks.
3253932539
*
3254032540
* Generates a call like this:
32541-
* ```
32541+
* ```ts
3254232542
* setClassMetadataAsync(type, () => [
3254332543
* import('./cmp-a').then(m => m.CmpA);
3254432544
* import('./cmp-b').then(m => m.CmpB);
@@ -32735,7 +32735,7 @@ const MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION = '18.0.0';
3273532735
function compileDeclareClassMetadata(metadata) {
3273632736
const definitionMap = new DefinitionMap();
3273732737
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$5));
32738-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
32738+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3273932739
definitionMap.set('ngImport', importExpr(Identifiers.core));
3274032740
definitionMap.set('type', metadata.type);
3274132741
definitionMap.set('decorators', metadata.decorators);
@@ -32753,7 +32753,7 @@ function compileComponentDeclareClassMetadata(metadata, dependencies) {
3275332753
callbackReturnDefinitionMap.set('ctorParameters', metadata.ctorParameters ?? literal(null));
3275432754
callbackReturnDefinitionMap.set('propDecorators', metadata.propDecorators ?? literal(null));
3275532755
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_DEFER_SUPPORT_VERSION));
32756-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
32756+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3275732757
definitionMap.set('ngImport', importExpr(Identifiers.core));
3275832758
definitionMap.set('type', metadata.type);
3275932759
definitionMap.set('resolveDeferredDeps', compileComponentMetadataAsyncResolver(dependencies));
@@ -32848,7 +32848,7 @@ function createDirectiveDefinitionMap(meta) {
3284832848
const definitionMap = new DefinitionMap();
3284932849
const minVersion = getMinimumVersionForPartialOutput(meta);
3285032850
definitionMap.set('minVersion', literal(minVersion));
32851-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
32851+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3285232852
// e.g. `type: MyDirective`
3285332853
definitionMap.set('type', meta.type.value);
3285432854
if (meta.isStandalone !== undefined) {
@@ -33267,7 +33267,7 @@ const MINIMUM_PARTIAL_LINKER_VERSION$4 = '12.0.0';
3326733267
function compileDeclareFactoryFunction(meta) {
3326833268
const definitionMap = new DefinitionMap();
3326933269
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$4));
33270-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
33270+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3327133271
definitionMap.set('ngImport', importExpr(Identifiers.core));
3327233272
definitionMap.set('type', meta.type.value);
3327333273
definitionMap.set('deps', compileDependencies(meta.deps));
@@ -33302,7 +33302,7 @@ function compileDeclareInjectableFromMetadata(meta) {
3330233302
function createInjectableDefinitionMap(meta) {
3330333303
const definitionMap = new DefinitionMap();
3330433304
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$3));
33305-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
33305+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3330633306
definitionMap.set('ngImport', importExpr(Identifiers.core));
3330733307
definitionMap.set('type', meta.type.value);
3330833308
// Only generate providedIn property if it has a non-null value
@@ -33353,7 +33353,7 @@ function compileDeclareInjectorFromMetadata(meta) {
3335333353
function createInjectorDefinitionMap(meta) {
3335433354
const definitionMap = new DefinitionMap();
3335533355
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$2));
33356-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
33356+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3335733357
definitionMap.set('ngImport', importExpr(Identifiers.core));
3335833358
definitionMap.set('type', meta.type.value);
3335933359
definitionMap.set('providers', meta.providers);
@@ -33386,7 +33386,7 @@ function createNgModuleDefinitionMap(meta) {
3338633386
throw new Error('Invalid path! Local compilation mode should not get into the partial compilation path');
3338733387
}
3338833388
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION$1));
33389-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
33389+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3339033390
definitionMap.set('ngImport', importExpr(Identifiers.core));
3339133391
definitionMap.set('type', meta.type.value);
3339233392
// We only generate the keys in the metadata if the arrays contain values.
@@ -33437,7 +33437,7 @@ function compileDeclarePipeFromMetadata(meta) {
3343733437
function createPipeDefinitionMap(meta) {
3343833438
const definitionMap = new DefinitionMap();
3343933439
definitionMap.set('minVersion', literal(MINIMUM_PARTIAL_LINKER_VERSION));
33440-
definitionMap.set('version', literal('19.1.0-next.1+sha-dc7d555'));
33440+
definitionMap.set('version', literal('19.1.0-next.1+sha-0513fbc'));
3344133441
definitionMap.set('ngImport', importExpr(Identifiers.core));
3344233442
// e.g. `type: MyPipe`
3344333443
definitionMap.set('type', meta.type.value);

fesm2022/compiler.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license Angular v19.1.0-next.1+sha-dc7d555
2+
* @license Angular v19.1.0-next.1+sha-0513fbc
33
* (c) 2010-2024 Google LLC. https://angular.io/
44
* License: MIT
55
*/
@@ -677,7 +677,7 @@ export declare type CompileClassMetadataFn = (metadata: R3ClassMetadata) => outp
677677
* loads dependencies from `@defer` blocks.
678678
*
679679
* Generates a call like this:
680-
* ```
680+
* ```ts
681681
* setClassMetadataAsync(type, () => [
682682
* import('./cmp-a').then(m => m.CmpA);
683683
* import('./cmp-b').then(m => m.CmpB);

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@angular/compiler",
3-
"version": "19.1.0-next.1+sha-dc7d555",
3+
"version": "19.1.0-next.1+sha-0513fbc",
44
"description": "Angular - the compiler library",
55
"author": "angular",
66
"license": "MIT",
@@ -11,7 +11,7 @@
1111
"tslib": "^2.3.0"
1212
},
1313
"peerDependencies": {
14-
"@angular/core": "19.1.0-next.1+sha-dc7d555"
14+
"@angular/core": "19.1.0-next.1+sha-0513fbc"
1515
},
1616
"peerDependenciesMeta": {
1717
"@angular/core": {

0 commit comments

Comments
 (0)