Skip to content

We need to make some magic to pass the correct value as a string #1

@finalquest

Description

@finalquest

If we use a string as parameter to a function passed to the worker we need to enclose it in quotes manually beforehand.
This is because the transpilation do not understand what type of variable are we using.

for example

import callTo from './module'
const a = "value"
const fixedForTranspile = `"${value}"` 

enqueueItem(callTo(fixedForTranspile))

the transpilation plugin should handle this case

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions