denoland / denoland/deno_graph

Allow all template literals in non-const positions for slow types

Open
#457 0 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
137
Forks
47
Avg merge
2d 7h
Merged PRs (30d)
4

Description

This always results in a `string` type in non `const` positions, so we can always allow it.

We can choose to either leave it or emit a string type. TBD.

```
export let = `asd ${"asd"}`;
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating deno_graph's handling of template literals and non-const positions, then reproduce the example from the issue. Clarify whether these literals should be left unchanged or emitted as a string type, and consider the work complete when the chosen behavior is implemented and the example is handled consistently.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, typescript
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.