Martin Rue

Results 7 comments of Martin Rue

@kmxz I'm currently working around the issue by extending the `PreactDOMAttributes` interface. I created a `preact.d.ts` file (doesn't matter where) with the following: ```typescript import "preact"; declare module "preact" {...

> @martinrue What about submitting a PR for that here? We already have an `index.d.ts` file that specifies the types for `preact-router` in this repo. Just sharing the workaround I'm...

Just ran into this myself and discovered that you can listen to the `codemirror`'s `beforeChange` event, which receives a `change` argument (https://codemirror.net/doc/manual.html#events). If you're trying to implement a max length,...

Good call, I'll think about the best way to do this.

I've just deployed a change, adding the ability to say numbers. 🙌 Examples: `12345` should now be spoken: `dekdu mil, tricent kvardek kvin`. `49,7` should now be spoken: `kvardek naŭ...

> Dziękuję! Seems to work well. > > But why `49,7` with `punkto`, not `komo`? In Esperanto, apparently [komo is used](https://esperanto.stackexchange.com/questions/1463/kio-estas-la-esperanta-nombro-disigilo-komo-a%C5%AD-mallar%C4%9Da-spaceto). Oops – I'll change it to say `komo` instead......

> Ho, ŝajne ĉe `24%` ĝi daure estas pola elparolo. Yes – currently it only looks for numbers. Anything that doesn't look like a number by itself will be ignored.