rokoucha
rokoucha
An extension should override the type of Token in the right type and Marked should provide the correct type in their implementation of Marked, IMO. Types other than Generic have...
I'm confusing how to identify a `Token` safely without `Token.type`. How do I identify 'space' and 'hr' without `Token.type`? they are the same keys and type of value. I believe...
I'm trying to improve the type of Token without `Token.Generic` in https://github.com/rokoucha/marked/tree/improve-token-typing . It passes the tests and type-checking, and it's good enough, but what's the problem?
I don't like non-null assertion operators and it seemed to me that some token objects were of the wrong type.
OK, I see... It's impossible to implement types that are extended by extensions before loading extensions, so I think Marked should provide extensible types, not Generic types. For example, declaration...
Yes, TypeScript will merge interfaces so cannot override existing tokens by extensions. I'm looking for a way, but haven't found one yet.
I'm closing this as there is no sign of any response.
クライアントからどれぐらい長い投稿投げれるか取得できるapiあったほうがいいかも
I'll fix it. Please use the AUR out-of-date flag from now on.
@cclamb I'm working on the AUR side, so could you please close this issue?