@@ -101,32 +101,32 @@ export function renderAttrsNoYield(
101101}
102102
103103export function * fallbackTmpl (
104- _shadowSlottedContent : any ,
105- _lightSlottedContent : any ,
106- _scopedSlottedContent : any ,
104+ shadowSlottedContent : AsyncGeneratorFunction ,
105+ _lightSlottedContent : unknown ,
106+ _scopedSlottedContent : unknown ,
107107 Cmp : LightningElementConstructor ,
108108 _instance : unknown
109109) {
110110 if ( Cmp . renderMode !== 'light' ) {
111111 yield `<template shadowrootmode="open"></template>` ;
112- if ( _shadowSlottedContent ) {
113- yield _shadowSlottedContent ( _instance ) ;
112+ if ( shadowSlottedContent ) {
113+ yield shadowSlottedContent ( _instance ) ;
114114 }
115115 }
116116}
117117
118118export function fallbackTmplNoYield (
119119 emit : ( segment : string ) => void ,
120- _shadowSlottedContent : any ,
121- _lightSlottedContent : any ,
122- _scopedSlottedContent : any ,
120+ shadowSlottedContent : AsyncGeneratorFunction ,
121+ _lightSlottedContent : unknown ,
122+ _scopedSlottedContent : unknown ,
123123 Cmp : LightningElementConstructor ,
124124 _instance : unknown
125125) {
126126 if ( Cmp . renderMode !== 'light' ) {
127127 emit ( `<template shadowrootmode="open"></template>` ) ;
128- if ( _shadowSlottedContent ) {
129- _shadowSlottedContent ( emit , _instance ) ;
128+ if ( shadowSlottedContent ) {
129+ shadowSlottedContent ( emit , _instance ) ;
130130 }
131131 }
132132}
0 commit comments