Skip to content

Commit 4ea1c75

Browse files
committed
update patch
1 parent 5ba3422 commit 4ea1c75

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
diff --git a/node_modules/@stencil/core/compiler/stencil.js b/node_modules/@stencil/core/compiler/stencil.js
2-
index 0e7ea6f..6c8d609 100644
2+
index d4ea871..4faf84b 100644
33
--- a/node_modules/@stencil/core/compiler/stencil.js
44
+++ b/node_modules/@stencil/core/compiler/stencil.js
5-
@@ -276736,7 +276736,7 @@ const visitClassDeclaration = (config, diagnostics, typeChecker, program, classN
5+
@@ -276940,7 +276940,7 @@ const visitClassDeclaration = (config, diagnostics, typeChecker, program, classN
66
// We call the `handleClassFields` method which handles transforming any
77
// class fields, removing them from the class and adding statements to the
88
// class' constructor which instantiate them there instead.
@@ -11,7 +11,7 @@ index 0e7ea6f..6c8d609 100644
1111
validateMethods(diagnostics, classMembers);
1212
const currentDecorators = retrieveTsDecorators(classNode);
1313
return ts$1.factory.updateClassDeclaration(classNode, [
14-
@@ -276771,19 +276771,8 @@ const removeStencilMethodDecorators = (classMembers, diagnostics, importAliasMap
14+
@@ -276975,19 +276975,8 @@ const removeStencilMethodDecorators = (classMembers, diagnostics, importAliasMap
1515
return ts$1.factory.updateMethodDeclaration(member, [...(newDecorators !== null && newDecorators !== void 0 ? newDecorators : []), ...((_a = retrieveTsModifiers(member)) !== null && _a !== void 0 ? _a : [])], member.asteriskToken, member.name, member.questionToken, member.typeParameters, member.parameters, member.type, member.body);
1616
}
1717
else if (ts$1.isPropertyDeclaration(member)) {
@@ -33,7 +33,7 @@ index 0e7ea6f..6c8d609 100644
3333
}
3434
else {
3535
const err = buildError(diagnostics);
36-
@@ -276923,10 +276912,9 @@ const filterDecorators = (decorators, excludeList) => {
36+
@@ -277127,10 +277116,9 @@ const filterDecorators = (decorators, excludeList) => {
3737
* @param importAliasMap a map of Stencil decorator names to their import names
3838
* @returns a list of updated class elements which can be inserted into the class
3939
*/
@@ -45,7 +45,7 @@ index 0e7ea6f..6c8d609 100644
4545
for (const member of classMembers) {
4646
if (shouldInitializeInConstructor(member, importAliasMap) && ts$1.isPropertyDeclaration(member)) {
4747
const memberName = tsPropDeclNameAsString(member, typeChecker);
48-
@@ -276937,11 +276925,6 @@ function handleClassFields(classNode, classMembers, typeChecker, importAliasMap)
48+
@@ -277141,11 +277129,6 @@ function handleClassFields(classNode, classMembers, typeChecker, importAliasMap)
4949
// just 'undefined'
5050
(_a = member.initializer) !== null && _a !== void 0 ? _a : ts$1.factory.createIdentifier('undefined'))));
5151
}

0 commit comments

Comments
 (0)