Tony

Results 17 comments of Tony

If anyone wants to force this behaviour, use this configuration in vscode's settings.json, at least thats what i did. ` "editor.tokenColorCustomizations": { "textMateRules": [ { "scope": [ "string" ], "settings":...

No problem, thank you for taking the time to check it :) Love the italics, so ill stick with it and your snippet, thank you! :D

Thanks for the response! @sholladay 😊 I understand the first point, but as long as ky and ky-universal are not merged ([when all needed browser API's are implemented in node](https://github.com/sindresorhus/ky/issues/420)),...

Oh i see, thank you, i understand Yeah a small section in the docs mentioning how to add a csrf token with a hook would be perfect :) Even better...

@sholladay of course, will do when i have time. Should this have its own place in the docs, for example as a tip or common request, or do you think...

@sholladay your code works, it only needs decodeURIComponent(token) when setting the header, because CSRF tokens can contain '=' and if decodeURIComponent() is not used it appears as '%3D'

Yes please :( Bothers me way too much when reading code, components should have a different color.

Shouldnt JS native structuredClone be used instead of lodash deepClone? Is this only for the React adapter? Would be useful in all adapters

In my case, IDE Helper its correctly typing enum casts. ![image](https://github.com/barryvdh/laravel-ide-helper/assets/45177590/4517b999-14a9-41f9-81c5-e0f22cf05892) If i hover over `role` it shows `@var \App\Enums\Role $role`. But i dont understand why the `isAdmin()` function is...