@@ -164,7 +164,6 @@ function exitContainerLabel(token) {
164
164
* @type {FromMarkdownHandle }
165
165
*/
166
166
function enterAttributes ( ) {
167
- // @ts -expect-error: to do: register.
168
167
this . setData ( 'directiveAttributes' , [ ] )
169
168
this . buffer ( ) // Capture EOLs
170
169
}
@@ -174,9 +173,7 @@ function enterAttributes() {
174
173
* @type {FromMarkdownHandle }
175
174
*/
176
175
function exitAttributeIdValue ( token ) {
177
- // @ts -expect-error: to do: register.
178
176
const list = /** @type {Array.<[string, string]> } */ (
179
- // @ts -expect-error: to do: register.
180
177
this . getData ( 'directiveAttributes' )
181
178
)
182
179
list . push ( [
@@ -192,9 +189,7 @@ function exitAttributeIdValue(token) {
192
189
* @type {FromMarkdownHandle }
193
190
*/
194
191
function exitAttributeClassValue ( token ) {
195
- // @ts -expect-error: to do: register.
196
192
const list = /** @type {Array.<[string, string]> } */ (
197
- // @ts -expect-error: to do: register.
198
193
this . getData ( 'directiveAttributes' )
199
194
)
200
195
list . push ( [
@@ -210,9 +205,7 @@ function exitAttributeClassValue(token) {
210
205
* @type {FromMarkdownHandle }
211
206
*/
212
207
function exitAttributeValue ( token ) {
213
- // @ts -expect-error: to do: register.
214
208
const list = /** @type {Array.<[string, string]> } */ (
215
- // @ts -expect-error: to do: register.
216
209
this . getData ( 'directiveAttributes' )
217
210
)
218
211
list [ list . length - 1 ] [ 1 ] = parseEntities ( this . sliceSerialize ( token ) , {
@@ -225,9 +218,7 @@ function exitAttributeValue(token) {
225
218
* @type {FromMarkdownHandle }
226
219
*/
227
220
function exitAttributeName ( token ) {
228
- // @ts -expect-error: to do: register.
229
221
const list = /** @type {Array.<[string, string]> } */ (
230
- // @ts -expect-error: to do: register.
231
222
this . getData ( 'directiveAttributes' )
232
223
)
233
224
@@ -241,9 +232,7 @@ function exitAttributeName(token) {
241
232
* @type {FromMarkdownHandle }
242
233
*/
243
234
function exitAttributes ( ) {
244
- // @ts -expect-error: to do: register.
245
235
const list = /** @type {Array.<[string, string]> } */ (
246
- // @ts -expect-error: to do: register.
247
236
this . getData ( 'directiveAttributes' )
248
237
)
249
238
/** @type {Record.<string, string> } */
@@ -260,7 +249,6 @@ function exitAttributes() {
260
249
}
261
250
}
262
251
263
- // @ts -expect-error: to do: register.
264
252
this . setData ( 'directiveAttributes' )
265
253
this . resume ( ) // Drop EOLs
266
254
const node = /** @type {Directive } */ ( this . stack [ this . stack . length - 1 ] )
0 commit comments