Iskandar Rafiev
Iskandar Rafiev
> Try create a interface for model attributes. E.g: > > ```ts > interface UserAttributes { > email: string; > role: Role; > firstName?: string; > lastName?: string; > }...
You could also use [expose-loader](https://www.npmjs.com/package/expose-loader). The example below is written for webpack 2, ``` module: { rules: [ { test: /[\/]jquery\.js$/, use: 'expose-loader?$!expose?jQuery' } ] }, ```
I used composer patches to apply this fix to my project, 1. An example of using composer patches - [link](https://github.com/Anahkiasen/underscore-php/issues/96#issuecomment-358337417) 2. Install `composer-patches` - [link](https://github.com/cweagans/composer-patches) to apply the patches.
I use composer's patches to apply the fixes.
@ballet-mecanique, 1. Add the following block to `composer.json` ```json "extra": { "laravel": { "dont-discover": [] }, "enable-patching": "true", "patches": { "sofa/hookable": { "Fix Parameter Grouping with Laravel 7.x": "patches/sofa_hookable/fix_parameter_grouping_with_laravel_7_x.diff", "Fix...
@BardezAnAvatar, I'm having the same issue. I didn't quite get what you eventually did to resolve it. Thank you!
Where does this casting happen? Do you do it directly in this LINQ expression `line.Modifiers.Any(l => new [] {"25"}.Contains(l))`? If so, could you provide an example of how it's done?
@skewty Override the file type as `DotEnv` and it'll work. Right click on the file in the file list view and find "**Override File Type**" option in the menu and...