Skip to content

inconsistent string template exports in type interface files #38055

@aappddeevv

Description

@aappddeevv

TypeScript Version: 3.8.3

Code

export const strange = `no interpolated values`
export const interpolated = `has interpolated ${some_value} values`

Expected behavior:

export declare const strange: string
export declare const interpolated: string

Actual behavior:

export declare const strange = "no interpolated values"
export declare const interpolated: string

I could not determine if this was expected but it seemed inconsistent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    QuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions