You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
php-parser version 3.1.0-beta.11
tsc version 4.7.4
node_modules/php-parser/types.d.ts:327:9 - error TS2416: Property 'value' in type 'Encapsed' is not assignable to the same property in base type 'Literal'.
Type 'EncapsedPart[]' is not assignable to type 'string | number | boolean | Node | null'.
327 value: EncapsedPart[];
~~~~~
Found 1 error in node_modules/php-parser/types.d.ts:327
Possible solution: extend Encapsed class directly from Expression and add raw: string; directly to Encapsed class.
The text was updated successfully, but these errors were encountered:
* docs: Modified jsdoc to be as per current types.d.ts.
* A little processing has been added so that TokenNames are defined as constants.
* NullSafePropertyLookup has renamed its constructor.
* docs: npm run build-types
* docs: fix typo, and define type.
* chore: add type check in github actions.
* chore: npm run test -- --updateSnapshot
* chore: add diff check for types.d.ts.
* docs: fix style.
php-parser version 3.1.0-beta.11
tsc version 4.7.4
Possible solution: extend Encapsed class directly from Expression and add
raw: string;
directly to Encapsed class.The text was updated successfully, but these errors were encountered: