Skip to content
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
This repository was archived by the owner on Feb 26, 2024. It is now read-only.

Incorrectly renaming nested object literals #56

@dariajung

Description

@dariajung
/// <reference path ='../../typings/source-map/source-map.d.ts' />
import SourceMap = require('source-map');

var x: SourceMap.Mapping = {
    original: { line: 0, column: 0 },
    generated: { line: 0, column: 0 },
    source: ''
}

line and column are incorrectly being renamed. They are of type SourceMap.Position.

Some of the work to address this is on branch: https://github.com/angular/ts-minify/tree/nested-obj-literals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions