@@ -164,7 +164,6 @@ function exitContainerLabel(token) {
164164 * @type {FromMarkdownHandle }
165165 */
166166function enterAttributes ( ) {
167- // @ts -expect-error: to do: register.
168167 this . setData ( 'directiveAttributes' , [ ] )
169168 this . buffer ( ) // Capture EOLs
170169}
@@ -174,9 +173,7 @@ function enterAttributes() {
174173 * @type {FromMarkdownHandle }
175174 */
176175function exitAttributeIdValue ( token ) {
177- // @ts -expect-error: to do: register.
178176 const list = /** @type {Array.<[string, string]> } */ (
179- // @ts -expect-error: to do: register.
180177 this . getData ( 'directiveAttributes' )
181178 )
182179 list . push ( [
@@ -192,9 +189,7 @@ function exitAttributeIdValue(token) {
192189 * @type {FromMarkdownHandle }
193190 */
194191function exitAttributeClassValue ( token ) {
195- // @ts -expect-error: to do: register.
196192 const list = /** @type {Array.<[string, string]> } */ (
197- // @ts -expect-error: to do: register.
198193 this . getData ( 'directiveAttributes' )
199194 )
200195 list . push ( [
@@ -210,9 +205,7 @@ function exitAttributeClassValue(token) {
210205 * @type {FromMarkdownHandle }
211206 */
212207function exitAttributeValue ( token ) {
213- // @ts -expect-error: to do: register.
214208 const list = /** @type {Array.<[string, string]> } */ (
215- // @ts -expect-error: to do: register.
216209 this . getData ( 'directiveAttributes' )
217210 )
218211 list [ list . length - 1 ] [ 1 ] = parseEntities ( this . sliceSerialize ( token ) , {
@@ -225,9 +218,7 @@ function exitAttributeValue(token) {
225218 * @type {FromMarkdownHandle }
226219 */
227220function exitAttributeName ( token ) {
228- // @ts -expect-error: to do: register.
229221 const list = /** @type {Array.<[string, string]> } */ (
230- // @ts -expect-error: to do: register.
231222 this . getData ( 'directiveAttributes' )
232223 )
233224
@@ -241,9 +232,7 @@ function exitAttributeName(token) {
241232 * @type {FromMarkdownHandle }
242233 */
243234function exitAttributes ( ) {
244- // @ts -expect-error: to do: register.
245235 const list = /** @type {Array.<[string, string]> } */ (
246- // @ts -expect-error: to do: register.
247236 this . getData ( 'directiveAttributes' )
248237 )
249238 /** @type {Record.<string, string> } */
@@ -260,7 +249,6 @@ function exitAttributes() {
260249 }
261250 }
262251
263- // @ts -expect-error: to do: register.
264252 this . setData ( 'directiveAttributes' )
265253 this . resume ( ) // Drop EOLs
266254 const node = /** @type {Directive } */ ( this . stack [ this . stack . length - 1 ] )
0 commit comments