3 ms·
I agree, unfortunately MDN has it's own type definition format "Web IDL". This means community must write the type definitions twice, once for specification in
by Ciantic 6y ago
I agree, unfortunately MDN has it's own type definition format "Web IDL". This means community must write the type definitions twice, once for specification in Web IDL and second time in TypeScript to get proper IDE support. (There is a converter, not sure how well it works)
Naturally the Web IDL is not as nearly as sophisticated as TypeScript so it would be nice if they could improve the TS to work as a replacement for Web IDL.