-
-
Notifications
You must be signed in to change notification settings - Fork 80
Closed
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed
Description
Describe the bug
When I try to overwrite the config of parse I get the first error when I specify only one option "ERROR".
Type '{ raw: string; }' is missing the following properties from type '{ exec: string; interpolate: string; raw: string; }': exec, interpolatedeno-ts(2739)
(property) parse?: {
exec: string;
interpolate: string;
raw: string;
} | undefined
If I specify all options (even if I leave them default except one in my case raw) the engine renders the templates wrong, unfortunately I don't get an error there
To Reproduce
Steps to reproduce the behavior:
- Define the Settings with:
parse: { raw: "-" } - Hover over
parse
Seccond Problem:
- Define the Settings with:
parse: { exec: "", interpolate: "=", raw: "-" } - Create a EJS file with the new "raw"
- Render the Template
Expected behavior
First Problem:
that I do not get an error when I want to change only 1 config
Seccond Problem:
that the template is rendered with my newly defined config
Screenshots
If applicable, add screenshots to help explain your problem.
Package & Environment Details
- Environment: deno 1.12.0+1ad6575 (canary, x86_64-pc-windows-msvc), v8 9.2.230.14, typescript 4.3.2, Eta v1.12.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workinghelp wantedExtra attention is neededExtra attention is needed