Results 7 comments of Eduardo Dallmann

The solution to this is to define a type for registerApplication, as it is generic. ``` type MyWhateverType = {a: string; b: number} registerApplication({ name, app: () => System.import(url), activeWhen:...

The solution to this is to define a type for registerApplication, as it is generic. ``` type MyWhateverType = {a: string; b: number} registerApplication({ name, app: () => System.import(url), activeWhen:...

You are correct. Sorting export lines can cause a lot of problems. But I believe that organizing just the de-structuring could be good. This plugin does that https://github.com/simonhaenisch/prettier-plugin-organize-imports

I'm currently using the prettier-plugin-sort-imports lib. In my opinion it is much better because it is more like trivago but solves many of the problems. The only thing I like...

Please let me contribute a variation of the regex to catch some scenarios. https://regex101.com/r/uZ6FNJ/1 ``` "tailwindCSS.experimental.classRegex": [ "(w(?:\\.[a-z]+)?\\((?:(?:[`'\"][^\\)]+[`'\"])|(?:(?:[\\s\\S]+?)(?:[`'\"][\\s\\S]+[`'\"])*?\\},?(?:[\\s\\S])?))\\))", ] ```

> Here is what I came up with, works quite nicely at least with my code: > > ``` > "tailwindCSS.experimental.classRegex": [ > [ > "((?:w)(?:[\\.a-zA-Z0-9]*)?\\((?:[^)(]|\\((?:[^)(]|\\((?:[^)(]|\\([^)(]*\\))*\\))*\\))*\\))", > "(?:')([^']*)(?:')" > ],...

> A ideia seria que ao clicar no botão "mudar itens da lista", a mudança nas opções não desencadeasse o evento onChange ? Isso mesmo @jnrpalma